public abstract class ContentStreamLoader extends Object
ContentStream
into Solr
This should be thread safe and can be called from multiple threadsConstructor 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 SolrQueryRequest
rsp
- The response, in case the Loader wishes to add anythingstream
- The ContentStream
to addprocessor
- The UpdateRequestProcessor
to useException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.