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 void
load(SolrQueryRequest req, SolrQueryResponse rsp, org.apache.solr.common.util.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, org.apache.solr.common.util.ContentStream stream, UpdateRequestProcessor processor) throws Exception
Description copied from class:ContentStreamLoader
Loaders are responsible for closing the stream- Specified by:
load
in classContentStreamLoader
- Parameters:
req
- The inputSolrQueryRequest
rsp
- The response, in case the Loader wishes to add anythingstream
- TheContentStream
to addprocessor
- TheUpdateRequestProcessor
to use- Throws:
Exception
-
-