public abstract class ContentStreamLoader extends Object
ContentStream into Solr| Constructor and Description |
|---|
ContentStreamLoader() |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrHeader() |
abstract void |
load(SolrQueryRequest req,
SolrQueryResponse rsp,
ContentStream stream)
Loaders are responsible for closing the stream
|
void |
setErrHeader(String errHeader) |
protected String errHeader
public String getErrHeader()
public void setErrHeader(String errHeader)
public abstract void load(SolrQueryRequest req, SolrQueryResponse rsp, ContentStream stream) throws Exception
req - The input SolrQueryRequestrsp - The response, in case the Loader wishes to add anythingstream - The ContentStream to addExceptionCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.