## Uses of Class
org.apache.solr.handler.dataimport.DataSource

- Packages that use DataSource
  Package | Description
  --- | ---
  org.apache.solr.handler.dataimport | `DataImportHandler` and related code.

- - ### Uses of DataSource in org.apache.solr.handler.dataimport

    Subclasses of DataSource in org.apache.solr.handler.dataimport
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BinContentStreamDataSource` A data source implementation which can be used to read binary stream from content streams.
    `class` | `BinFileDataSource` A DataSource which reads from local files
    `class` | `BinURLDataSource` A data source implementation which can be used to read binary streams using HTTP.
    `class` | `ContentStreamDataSource` A DataSource implementation which reads from the ContentStream of a POST request
    `class` | `FieldReaderDataSource` This can be useful for users who have a DB field containing xml and wish to use a nested `XPathEntityProcessor`
    `class` | `FieldStreamDataSource` This can be useful for users who have a DB field containing BLOBs which may be Rich documents
    `class` | `FileDataSource` A `DataSource` which reads from local files
    `class` | `JdbcDataSource` A DataSource implementation which can fetch data using JDBC.
    `class` | `MockDataSource` A mock DataSource implementation which can be used for testing.
    `class` | `URLDataSource` A data source implementation which can be used to read character files using HTTP.

    Fields in org.apache.solr.handler.dataimport declared as DataSource
    Modifier and Type | Field and Description
    --- | ---
    `protected DataSource<Iterator<Map<String,Object>>>` | SqlEntityProcessor.`dataSource`
    `protected DataSource<Reader>` | XPathEntityProcessor.`dataSource`

    Methods in org.apache.solr.handler.dataimport that return DataSource
    Modifier and Type | Method and Description
    --- | ---
    `DataSource` | EntityProcessorWrapper.`getDatasource()`
    `abstract DataSource` | Context.`getDataSource()` Gets the datasource instance defined for this entity.
    `DataSource` | ContextImpl.`getDataSource()`
    `abstract DataSource` | Context.`getDataSource(String name)` Gets a new DataSource instance with a name.
    `DataSource` | ContextImpl.`getDataSource(String name)`
    `DataSource` | DataImporter.`getDataSourceInstance(Entity key, String name, Context ctx)`

    Methods in org.apache.solr.handler.dataimport with parameters of type DataSource
    Modifier and Type | Method and Description
    --- | ---
    `void` | EntityProcessorWrapper.`setDatasource(DataSource datasource)`

    Constructors in org.apache.solr.handler.dataimport with parameters of type DataSource
    Constructor and Description
    `ContextImpl(EntityProcessorWrapper epw, VariableResolver resolver, DataSource ds, String currProcess, Map<String,Object> global, ContextImpl parentContext, DocBuilder docBuilder)`

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