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 Summary
Constructors Constructor Description JSONTupleStream(Reader reader) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()static JSONTupleStreamcreate(SolrClient server, SolrParams requestParams)Map<String,Object>next()returns the next Tuple or null 
 - 
 
- 
- 
Constructor Detail
- 
JSONTupleStream
public JSONTupleStream(Reader reader)
 
 - 
 
- 
Method Detail
- 
create
public static JSONTupleStream create(SolrClient server, SolrParams requestParams) throws IOException, SolrServerException
- Throws:
 IOExceptionSolrServerException
 
- 
next
public Map<String,Object> next() throws IOException
returns the next Tuple or null- Specified by:
 nextin interfaceTupleStreamParser- Throws:
 IOException
 
- 
close
public void close() throws IOException- Specified by:
 closein interfaceAutoCloseable- Specified by:
 closein interfaceCloseable- Throws:
 IOException
 
 - 
 
 -