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
IOException
SolrServerException
public Map<String,Object> next() throws IOException
next
in interface TupleStreamParser
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.