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:
- InnerJoinStream,- LeftOuterJoinStream
 
 public abstract class BiJoinStream extends JoinStream implements Expressible Joins leftStream with rightStream based on anStreamEqualitor. Both streams must be sorted by the fields being joined on. Resulting stream is sorted by the equalitor.- Since:
- 6.0.0
- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.io.stream.TupleStreamTupleStream.IgnoreException
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected StreamComparatoriterationComparatorprotected PushBackStreamleftStreamprotected StreamComparatorleftStreamComparatorprotected PushBackStreamrightStreamprotected StreamComparatorrightStreamComparator- 
Fields inherited from class org.apache.solr.client.solrj.io.stream.JoinStreameq
 
- 
 - 
Constructor SummaryConstructors Constructor Description BiJoinStream(StreamExpression expression, StreamFactory factory)BiJoinStream(TupleStream leftStream, TupleStream rightStream, StreamEqualitor eq)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidvalidateTupleOrder()- 
Methods inherited from class org.apache.solr.client.solrj.io.stream.JoinStreamchildren, close, getCost, getStream, isValidTupleOrder, loadEqualTupleGroup, open, setStreamContext, toExplanation, toExpression
 - 
Methods inherited from class org.apache.solr.client.solrj.io.stream.TupleStreamgetShards, getShards, getStreamNodeId, getStreamSort, read, writeMap
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.solr.client.solrj.io.stream.expr.ExpressibletoExplanation, toExpression
 
- 
 
- 
- 
- 
Field Detail- 
leftStreamprotected PushBackStream leftStream 
 - 
rightStreamprotected PushBackStream rightStream 
 - 
iterationComparatorprotected StreamComparator iterationComparator 
 - 
leftStreamComparatorprotected StreamComparator leftStreamComparator 
 - 
rightStreamComparatorprotected StreamComparator rightStreamComparator 
 
- 
 - 
Constructor Detail- 
BiJoinStreampublic BiJoinStream(TupleStream leftStream, TupleStream rightStream, StreamEqualitor eq) throws IOException - Throws:
- IOException
 
 - 
BiJoinStreampublic BiJoinStream(StreamExpression expression, StreamFactory factory) throws IOException - Throws:
- IOException
 
 
- 
 - 
Method Detail- 
validateTupleOrderprotected void validateTupleOrder() throws IOException- Specified by:
- validateTupleOrderin class- JoinStream
- Throws:
- IOException
 
 
- 
 
-