Class JSONTupleStream
- java.lang.Object
- 
- org.apache.solr.client.solrj.io.stream.JSONTupleStream
 
- 
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- TupleStreamParser
 
 public class JSONTupleStream extends Object implements TupleStreamParser 
- 
- 
Constructor SummaryConstructors Constructor Description JSONTupleStream(Reader reader)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()static JSONTupleStreamcreate(org.apache.solr.client.solrj.SolrClient server, org.apache.solr.common.params.SolrParams requestParams)Map<String,Object>next()returns the next Tuple or null
 
- 
- 
- 
Constructor Detail- 
JSONTupleStreampublic JSONTupleStream(Reader reader) 
 
- 
 - 
Method Detail- 
createpublic static JSONTupleStream create(org.apache.solr.client.solrj.SolrClient server, org.apache.solr.common.params.SolrParams requestParams) throws IOException, org.apache.solr.client.solrj.SolrServerException - Throws:
- IOException
- org.apache.solr.client.solrj.SolrServerException
 
 - 
nextpublic Map<String,Object> next() throws IOException returns the next Tuple or null- Specified by:
- nextin interface- TupleStreamParser
- Throws:
- IOException
 
 - 
closepublic void close() throws IOException- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Throws:
- IOException
 
 
- 
 
-