# Package org.apache.solr.handler.dataimport

`DataImportHandler` and related code.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  DIHCache | A cache that allows a DIH entity's data to persist locally prior being joined to other data and/or indexed.
  DIHWriter |
  EventListener | Event listener for DataImportHandler This API is experimental and subject to change
  XPathRecordReader.Handler | Implement this interface to stream records as and when one is found.

- Class Summary
  Class | Description
  --- | ---
  BinContentStreamDataSource | A data source implementation which can be used to read binary stream from content streams.
  BinFileDataSource | A DataSource which reads from local files
  BinURLDataSource | A data source implementation which can be used to read binary streams using HTTP.
  CachePropertyUtil |
  ClobTransformer | `Transformer` instance which converts a `Clob` to a `String`.
  ConfigParseUtil |
  ContentStreamDataSource | A DataSource implementation which reads from the ContentStream of a POST request
  Context | This abstract class gives access to all available objects.
  ContextImpl | An implementation for the Context
  DataImporter | Stores all configuration information for pulling and indexing data.
  DataImportHandler | Solr Request Handler for data import from databases and REST data sources.
  DataSource<T> | Provides data from a source with a given query.
  DateFormatEvaluator | Formats values using a given date format.
  DateFormatTransformer | `Transformer` instance which creates `Date` instances out of `String`s.
  DebugInfo |
  DIHCacheSupport |
  DIHProperties | Implementations write out properties about the last data import for use by the next import.
  DIHWriterBase |
  DocBuilder | `DocBuilder` is responsible for creating Solr documents out of the given configuration.
  DocBuilder.Statistics |
  EntityProcessor | An instance of entity processor serves an entity.
  EntityProcessorBase | Base class for all implementations of `EntityProcessor`
  EntityProcessorWrapper | A Wrapper over `EntityProcessor` instance which performs transforms and handles multi-row outputs correctly.
  Evaluator | Pluggable functions for resolving variables
  Evaluator.VariableWrapper |
  FieldReaderDataSource | This can be useful for users who have a DB field containing xml and wish to use a nested `XPathEntityProcessor`
  FieldStreamDataSource | This can be useful for users who have a DB field containing BLOBs which may be Rich documents
  FileDataSource | A `DataSource` which reads from local files
  FileListEntityProcessor | An `EntityProcessor` instance which can stream file names found in a given base directory matching patterns and returning rows containing file information.
  HTMLStripTransformer | A `Transformer` implementation which strip off HTML tags using `HTMLStripCharFilter` This is useful in case you don't need this HTML anyway.
  JdbcDataSource | A DataSource implementation which can fetch data using JDBC.
  LineEntityProcessor | An `EntityProcessor` instance which can stream lines of text read from a datasource.
  LogTransformer | A `Transformer` implementation which logs messages in a given template format.
  MockDataSource | A mock DataSource implementation which can be used for testing.
  NumberFormatTransformer | A `Transformer` instance which can extract numbers out of strings.
  PlainTextEntityProcessor | An implementation of `EntityProcessor` which reads data from a url/file and give out a row which contains one String value.
  RegexTransformer | A `Transformer` implementation which uses Regular Expressions to extract, split and replace data in fields.
  RequestInfo |
  ScriptTransformer | A `Transformer` instance capable of executing functions written in scripting languages as a `Transformer` instance.
  SimplePropertiesWriter | Writes properties using `Properties.store(java.io.Writer, java.lang.String)` .
  SolrEntityProcessor | An implementation of `EntityProcessor` which fetches values from a separate Solr implementation using the SolrJ client library.
  SolrQueryEscapingEvaluator |
  SolrWriter | Writes documents to SOLR.
  SortedMapBackedCache |
  SqlEntityProcessor | An `EntityProcessor` instance which provides support for reading from databases.
  SqlEscapingEvaluator | Escapes values in SQL queries.
  TemplateTransformer | A `Transformer` which can put values into a column by resolving an expression containing other columns
  Transformer | Use this API to implement a custom transformer for any given entity
  URLDataSource | A data source implementation which can be used to read character files using HTTP.
  UrlEvaluator | Escapes reserved characters in Solr queries
  VariableResolver | A set of nested maps that can resolve variables by namespaces.
  XPathEntityProcessor | An implementation of `EntityProcessor` which uses a streaming xpath parser to extract values out of XML documents.
  XPathRecordReader | A streaming xpath parser which uses StAX for XML parsing.
  ZKPropertiesWriter | A SolrCloud-friendly extension of `SimplePropertiesWriter`.

- Enum Summary
  Enum | Description
  --- | ---
  DataImporter.Status |
  DIHLogLevels |

- Exception Summary
  Exception | Description
  --- | ---
  DataImportHandlerException | Exception class for all DataImportHandler exceptions

## Package org.apache.solr.handler.dataimport Description

`DataImportHandler` and related code.

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.