Package nz.org.riskscape.engine.join
Class LopsidedJoinIterator
java.lang.Object
nz.org.riskscape.engine.relation.PeekingTupleIterator
nz.org.riskscape.engine.join.LopsidedJoinIterator
- All Implemented Interfaces:
AutoCloseable
,Iterator<nz.org.riskscape.engine.Tuple>
,nz.org.riskscape.engine.relation.TupleIterator
public class LopsidedJoinIterator
extends nz.org.riskscape.engine.relation.PeekingTupleIterator
Joins a single lhs value against a set of rhs values, emitting them if the join condition holds.
-
Field Summary
Fields inherited from interface nz.org.riskscape.engine.relation.TupleIterator
EMPTY
-
Constructor Summary
ConstructorDescriptionLopsidedJoinIterator
(nz.org.riskscape.engine.join.Join join, nz.org.riskscape.engine.Tuple lhs, nz.org.riskscape.engine.relation.TupleIterator rhsValues) -
Method Summary
Methods inherited from class nz.org.riskscape.engine.relation.PeekingTupleIterator
close, hasNext, next, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface nz.org.riskscape.engine.relation.TupleIterator
collect, forEachRemaining
-
Constructor Details
-
LopsidedJoinIterator
public LopsidedJoinIterator(nz.org.riskscape.engine.join.Join join, nz.org.riskscape.engine.Tuple lhs, nz.org.riskscape.engine.relation.TupleIterator rhsValues)
-
-
Method Details
-
getSource
- Specified by:
getSource
in classnz.org.riskscape.engine.relation.PeekingTupleIterator
-
get
protected nz.org.riskscape.engine.Tuple get()- Specified by:
get
in classnz.org.riskscape.engine.relation.PeekingTupleIterator
-