public class JsonLoader extends ContentStreamLoader
| Constructor and Description |
|---|
JsonLoader() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultWT() |
void |
load(SolrQueryRequest req,
SolrQueryResponse rsp,
ContentStream stream,
UpdateRequestProcessor processor)
Loaders are responsible for closing the stream
|
initpublic String getDefaultWT()
getDefaultWT in class ContentStreamLoaderpublic void load(SolrQueryRequest req, SolrQueryResponse rsp, ContentStream stream, UpdateRequestProcessor processor) throws Exception
ContentStreamLoaderload in class ContentStreamLoaderreq - The input SolrQueryRequestrsp - The response, in case the Loader wishes to add anythingstream - The ContentStream to addprocessor - The UpdateRequestProcessor to useExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.