Package org.apache.solr.handler
Class ContentStreamLoader
- java.lang.Object
-
- org.apache.solr.handler.ContentStreamLoader
-
public abstract class ContentStreamLoader extends Object
Load aContentStream
into Solr
-
-
Constructor Summary
Constructors Constructor Description ContentStreamLoader()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getErrHeader()
abstract void
load(SolrQueryRequest req, SolrQueryResponse rsp, ContentStream stream)
Loaders are responsible for closing the streamvoid
setErrHeader(String errHeader)
-
-
-
Field Detail
-
errHeader
protected String errHeader
-
-
Method Detail
-
getErrHeader
public String getErrHeader()
-
setErrHeader
public void setErrHeader(String errHeader)
-
load
public abstract void load(SolrQueryRequest req, SolrQueryResponse rsp, ContentStream stream) throws Exception
Loaders are responsible for closing the stream- Parameters:
req
- The inputSolrQueryRequest
rsp
- The response, in case the Loader wishes to add anythingstream
- TheContentStream
to add- Throws:
Exception
-
-