org.apache.solr.handler
Class ContentStreamLoader
java.lang.Object
org.apache.solr.handler.ContentStreamLoader
public abstract class ContentStreamLoader
- extends Object
Load a ContentStream
into Solr
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
errHeader
protected String errHeader
ContentStreamLoader
public ContentStreamLoader()
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 input SolrQueryRequest
rsp
- The response, in case the Loader wishes to add anythingstream
- The ContentStream
to add
- Throws:
Exception
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.