Package org.apache.solr.handler
Class ContentStreamLoader
- java.lang.Object
-
- org.apache.solr.handler.ContentStreamLoader
-
public abstract class ContentStreamLoader extends Object
Load aContentStreaminto Solr
-
-
Constructor Summary
Constructors Constructor Description ContentStreamLoader()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetErrHeader()abstract voidload(SolrQueryRequest req, SolrQueryResponse rsp, ContentStream stream)Loaders are responsible for closing the streamvoidsetErrHeader(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 inputSolrQueryRequestrsp- The response, in case the Loader wishes to add anythingstream- TheContentStreamto add- Throws:
Exception
-
-