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

    Constructors
    Constructor
    Description
    LopsidedJoinIterator(nz.org.riskscape.engine.join.Join join, nz.org.riskscape.engine.Tuple lhs, nz.org.riskscape.engine.relation.TupleIterator rhsValues)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected nz.org.riskscape.engine.Tuple
    get()
     
    protected String
     

    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 java.util.Iterator

    remove

    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

      protected String getSource()
      Specified by:
      getSource in class nz.org.riskscape.engine.relation.PeekingTupleIterator
    • get

      protected nz.org.riskscape.engine.Tuple get()
      Specified by:
      get in class nz.org.riskscape.engine.relation.PeekingTupleIterator