Class FullOuterJoinStream
- 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
-
- org.apache.solr.client.solrj.io.stream.FullOuterJoinStream
-
- 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
public class FullOuterJoinStream extends BiJoinStream
Joins leftStream with rightStream based on an Equalitor. Both streams must be sorted by the fields being joined on. Resulting stream is sorted by the equalitor.- Since:
- 9.10.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.io.stream.TupleStream
TupleStream.IgnoreException
-
-
Field Summary
-
Fields inherited from class org.apache.solr.client.solrj.io.stream.BiJoinStream
iterationComparator, leftStream, leftStreamComparator, rightStream, rightStreamComparator
-
Fields inherited from class org.apache.solr.client.solrj.io.stream.JoinStream
eq
-
-
Constructor Summary
Constructors Constructor Description FullOuterJoinStream(StreamExpression expression, StreamFactory factory)FullOuterJoinStream(TupleStream leftStream, TupleStream rightStream, StreamEqualitor eq)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamComparatorgetStreamSort()Tupleread()-
Methods inherited from class org.apache.solr.client.solrj.io.stream.BiJoinStream
validateTupleOrder
-
Methods inherited from class org.apache.solr.client.solrj.io.stream.JoinStream
children, close, getCost, getStream, isValidTupleOrder, loadEqualTupleGroup, open, setStreamContext, toExplanation, toExpression
-
Methods inherited from class org.apache.solr.client.solrj.io.stream.TupleStream
getShards, getShards, getStreamNodeId, writeMap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.solr.client.solrj.io.stream.expr.Expressible
toExplanation, toExpression
-
-
-
-
Constructor Detail
-
FullOuterJoinStream
public FullOuterJoinStream(TupleStream leftStream, TupleStream rightStream, StreamEqualitor eq) throws IOException
- Throws:
IOException
-
FullOuterJoinStream
public FullOuterJoinStream(StreamExpression expression, StreamFactory factory) throws IOException
- Throws:
IOException
-
-
Method Detail
-
read
public Tuple read() throws IOException
- Specified by:
readin classTupleStream- Throws:
IOException
-
getStreamSort
public StreamComparator getStreamSort()
- Specified by:
getStreamSortin classTupleStream
-
-