public class JSONTupleStream extends Object implements TupleStreamParser
| Constructor and Description |
|---|
JSONTupleStream(Reader reader) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static JSONTupleStream |
create(SolrClient server,
SolrParams requestParams) |
Map<String,Object> |
next()
returns the next Tuple or null
|
public JSONTupleStream(Reader reader)
public static JSONTupleStream create(SolrClient server, SolrParams requestParams) throws IOException, SolrServerException
IOExceptionSolrServerExceptionpublic Map<String,Object> next() throws IOException
next in interface TupleStreamParserIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.