Package org.apache.solr.handler.loader
Class CSVLoader
java.lang.Object
org.apache.solr.handler.loader.ContentStreamLoader
org.apache.solr.handler.loader.CSVLoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidload(SolrQueryRequest req, SolrQueryResponse rsp, org.apache.solr.common.util.ContentStream stream, UpdateRequestProcessor processor) Loaders are responsible for closing the streamMethods inherited from class org.apache.solr.handler.loader.ContentStreamLoader
getDefaultWT, init
-
Constructor Details
-
CSVLoader
public CSVLoader()
-
-
Method Details
-
load
public void load(SolrQueryRequest req, SolrQueryResponse rsp, org.apache.solr.common.util.ContentStream stream, UpdateRequestProcessor processor) throws Exception Description copied from class:ContentStreamLoaderLoaders are responsible for closing the stream- Specified by:
loadin classContentStreamLoader- Parameters:
req- The inputSolrQueryRequestrsp- The response, in case the Loader wishes to add anythingstream- TheContentStreamto addprocessor- TheUpdateRequestProcessorto use- Throws:
Exception
-