public class JsonLoader extends ContentStreamLoader
Modifier and Type | Field and Description |
---|---|
static String |
CHILD_DOC_KEY |
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
|
init
public static final String CHILD_DOC_KEY
public String getDefaultWT()
getDefaultWT
in class ContentStreamLoader
public void load(SolrQueryRequest req, SolrQueryResponse rsp, ContentStream stream, UpdateRequestProcessor processor) throws Exception
ContentStreamLoader
load
in class ContentStreamLoader
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-2017 Apache Software Foundation. All Rights Reserved.