public abstract class ContentStreamLoader extends Object
ContentStream into Solr
This should be thread safe and can be called from multiple threads| Constructor and Description |
|---|
ContentStreamLoader() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultWT() |
ContentStreamLoader |
init(SolrParams args)
This should be called once for each RequestHandler
|
abstract void |
load(SolrQueryRequest req,
SolrQueryResponse rsp,
ContentStream stream,
UpdateRequestProcessor processor)
Loaders are responsible for closing the stream
|
public ContentStreamLoader init(SolrParams args)
public String getDefaultWT()
public abstract void load(SolrQueryRequest req, SolrQueryResponse rsp, ContentStream stream, UpdateRequestProcessor processor) throws Exception
req - The input SolrQueryRequestrsp - The response, in case the Loader wishes to add anythingstream - The ContentStream to addprocessor - The UpdateRequestProcessor to useExceptionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.