Class BiJoinStream
java.lang.Object
org.apache.solr.client.solrj.io.stream.TupleStream
org.apache.solr.client.solrj.io.stream.JoinStream
org.apache.solr.client.solrj.io.stream.BiJoinStream
- All Implemented Interfaces:
Closeable,Serializable,AutoCloseable,Expressible,org.apache.solr.common.MapSerializable,org.apache.solr.common.MapWriter,org.apache.solr.common.NavigableObject,org.noggit.JSONWriter.Writable
- Direct Known Subclasses:
FullOuterJoinStream,InnerJoinStream,LeftOuterJoinStream
Joins leftStream with rightStream based on an
StreamEqualitor. Both streams must be
sorted by the fields being joined on. Resulting stream is sorted by the equalitor.- Since:
- 6.0.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.io.stream.TupleStream
TupleStream.IgnoreExceptionNested classes/interfaces inherited from interface org.apache.solr.common.MapWriter
org.apache.solr.common.MapWriter.EntryWriter -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StreamComparatorprotected PushBackStreamprotected StreamComparatorprotected PushBackStreamprotected StreamComparatorFields inherited from class org.apache.solr.client.solrj.io.stream.JoinStream
eqFields inherited from interface org.apache.solr.common.MapWriter
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionBiJoinStream(StreamExpression expression, StreamFactory factory) BiJoinStream(TupleStream leftStream, TupleStream rightStream, StreamEqualitor eq) -
Method Summary
Methods inherited from class org.apache.solr.client.solrj.io.stream.JoinStream
children, close, getCost, getStream, isValidTupleOrder, loadEqualTupleGroup, open, setStreamContext, toExplanation, toExpressionMethods inherited from class org.apache.solr.client.solrj.io.stream.TupleStream
getShards, getShards, getStreamNodeId, getStreamSort, read, writeMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.client.solrj.io.stream.expr.Expressible
toExplanation, toExpressionMethods 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
-
Field Details
-
leftStream
-
rightStream
-
iterationComparator
-
leftStreamComparator
-
rightStreamComparator
-
-
Constructor Details
-
BiJoinStream
public BiJoinStream(TupleStream leftStream, TupleStream rightStream, StreamEqualitor eq) throws IOException - Throws:
IOException
-
BiJoinStream
- Throws:
IOException
-
-
Method Details
-
validateTupleOrder
- Specified by:
validateTupleOrderin classJoinStream- Throws:
IOException
-