Package org.apache.solr.handler.loader
Class JavabinLoader
- java.lang.Object
-
- org.apache.solr.handler.loader.ContentStreamLoader
-
- org.apache.solr.handler.loader.JavabinLoader
-
public class JavabinLoader extends ContentStreamLoader
Update handler which uses the JavaBin format- See Also:
JavaBinUpdateRequestCodec,JavaBinCodec
-
-
Constructor Summary
Constructors Constructor Description JavabinLoader()JavabinLoader(ContentStreamLoader contentStreamLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidload(SolrQueryRequest req, SolrQueryResponse rsp, ContentStream stream, UpdateRequestProcessor processor)Loaders are responsible for closing the stream-
Methods inherited from class org.apache.solr.handler.loader.ContentStreamLoader
getDefaultWT, init
-
-
-
-
Constructor Detail
-
JavabinLoader
public JavabinLoader()
-
JavabinLoader
public JavabinLoader(ContentStreamLoader contentStreamLoader)
-
-
Method Detail
-
load
public void load(SolrQueryRequest req, SolrQueryResponse rsp, 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
-
-