class JoinTableIterator extends CloseableRowIterator
|Constructor and Description|
Creates new iterator based on two iterators.
|Modifier and Type||Method and Description|
Closes this iterator.
Assembles the output row.
Returns the next
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
JoinTableIterator(CloseableRowIterator itReference, CloseableRowIterator itAppended, int map, boolean flags)
itReference- The reference iterator, providing the keys, e.g.
itAppended- The row to be appended.
map- The internal map which columns are contributed from what iterator
flags- The flags from which row to use.
public boolean hasNext()
trueif there are more rows and
public DataRow next()
ref- the original input row.
app- the row with the new columns.
map- The map containing which column maps to which index
flags- which column from which row.
public void close()
false. This method does not need to be called if the iterator was pushed to the end (stream will be closed automatically). It's meant to be used in cases where the iterator might not advance to the end of the table.
This method does nothing if the table is already closed (multiple invocations are ignored).
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.