Class TupleStream
- java.lang.Object
- 
- org.apache.solr.client.solrj.io.stream.TupleStream
 
- 
- All Implemented Interfaces:
- Closeable,- Serializable,- AutoCloseable,- org.apache.solr.common.MapSerializable,- org.apache.solr.common.MapWriter,- org.apache.solr.common.NavigableObject,- org.noggit.JSONWriter.Writable
 - Direct Known Subclasses:
- CalculatorStream,- CartesianProductStream,- CellStream,- CloudSolrStream,- CommitStream,- ComplementStream,- CsvStream,- DaemonStream,- DeepRandomStream,- EchoStream,- EvalStream,- ExceptionStream,- ExecutorStream,- Facet2DStream,- FacetStream,- FeaturesSelectionStream,- FetchStream,- GatherNodesStream,- GetStream,- HashJoinStream,- HashRollupStream,- HavingStream,- IntersectStream,- JDBCStream,- JoinStream,- KnnStream,- Lang.LocalInputStream,- LetStream,- ListStream,- MergeStream,- ModelStream,- NoOpStream,- NullStream,- ParallelListStream,- PlotStream,- PriorityStream,- PushBackStream,- RandomFacadeStream,- RandomStream,- RankStream,- ReducerStream,- RollupStream,- ScoreNodesStream,- SearchFacadeStream,- SearchStream,- SelectStream,- ShortestPathStream,- SignificantTermsStream,- SolrStream,- SortStream,- SqlStream,- StatsStream,- TextLogitStream,- TextLogitStream.TermsStream,- TimeSeriesStream,- TupStream,- UniqueStream,- UpdateStream,- ZplotStream
 
 public abstract class TupleStream extends Object implements Closeable, Serializable, org.apache.solr.common.MapWriter - Since:
- 5.1.0
- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classTupleStream.IgnoreException
 - 
Constructor SummaryConstructors Constructor Description TupleStream()
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract List<TupleStream>children()abstract voidclose()intgetCost()static List<String>getShards(String zkHost, String collection, StreamContext streamContext)static List<String>getShards(String zkHost, String collection, StreamContext streamContext, org.apache.solr.common.params.SolrParams requestParams)UUIDgetStreamNodeId()abstract StreamComparatorgetStreamSort()abstract voidopen()abstract Tupleread()abstract voidsetStreamContext(StreamContext context)abstract ExplanationtoExplanation(StreamFactory factory)voidwriteMap(org.apache.solr.common.MapWriter.EntryWriter ew)
 
- 
- 
- 
Method Detail- 
setStreamContextpublic abstract void setStreamContext(StreamContext context) 
 - 
childrenpublic abstract List<TupleStream> children() 
 - 
openpublic abstract void open() throws IOException- Throws:
- IOException
 
 - 
closepublic abstract void close() throws IOException- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Throws:
- IOException
 
 - 
readpublic abstract Tuple read() throws IOException - Throws:
- IOException
 
 - 
getStreamSortpublic abstract StreamComparator getStreamSort() 
 - 
toExplanationpublic abstract Explanation toExplanation(StreamFactory factory) throws IOException - Throws:
- IOException
 
 - 
getCostpublic int getCost() 
 - 
writeMappublic void writeMap(org.apache.solr.common.MapWriter.EntryWriter ew) throws IOException- Specified by:
- writeMapin interface- org.apache.solr.common.MapWriter
- Throws:
- IOException
 
 - 
getStreamNodeIdpublic UUID getStreamNodeId() 
 - 
getShardspublic static List<String> getShards(String zkHost, String collection, StreamContext streamContext) throws IOException - Throws:
- IOException
 
 - 
getShardspublic static List<String> getShards(String zkHost, String collection, StreamContext streamContext, org.apache.solr.common.params.SolrParams requestParams) throws IOException - Throws:
- IOException
 
 
- 
 
-