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:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.apache.solr.common.MapWriter
org.apache.solr.common.MapWriter.EntryWriter -
Field Summary
Fields inherited from interface org.apache.solr.common.MapWriter
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<TupleStream> children()abstract voidclose()intgetCost()getShards(String zkHost, String collection, StreamContext streamContext) getShards(String zkHost, String collection, StreamContext streamContext, org.apache.solr.common.params.SolrParams requestParams) abstract StreamComparatorabstract voidopen()abstract Tupleread()abstract voidsetStreamContext(StreamContext context) abstract ExplanationtoExplanation(StreamFactory factory) voidwriteMap(org.apache.solr.common.MapWriter.EntryWriter ew) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.common.MapWriter
jsonStr, toMap, writeMethods inherited from interface org.apache.solr.common.NavigableObject
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _size
-
Constructor Details
-
TupleStream
public TupleStream()
-
-
Method Details
-
setStreamContext
-
children
-
open
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
read
- Throws:
IOException
-
getStreamSort
-
toExplanation
- Throws:
IOException
-
getCost
public int getCost() -
writeMap
- Specified by:
writeMapin interfaceorg.apache.solr.common.MapWriter- Throws:
IOException
-
getStreamNodeId
-
getShards
public static List<String> getShards(String zkHost, String collection, StreamContext streamContext) throws IOException - Throws:
IOException
-
getShards
public static List<String> getShards(String zkHost, String collection, StreamContext streamContext, org.apache.solr.common.params.SolrParams requestParams) throws IOException - Throws:
IOException
-