|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.data.RowIterator
org.knime.base.data.append.row.AppendedRowsIterator
public class AppendedRowsIterator
Iterator over an
AppendedRowsTable.
| Nested Class Summary | |
|---|---|
static class |
AppendedRowsIterator.RuntimeCanceledExecutionException
Runtime exception that's thrown when the execution monitor's ExecutionMonitor.checkCanceled() method throws a
CanceledExecutionException. |
| Constructor Summary | |
|---|---|
AppendedRowsIterator(AppendedRowsTable table,
ExecutionMonitor exec,
int totalRowCount)
Creates new iterator of tables following spec. |
|
| Method Summary | |
|---|---|
Set<RowKey> |
getDuplicateHash()
Deprecated. Use the key set of getDuplicateNameMap() instead. |
Map<RowKey,RowKey> |
getDuplicateNameMap()
Get a map of keys in the resulting table to the keys in (any of) the input tables, typically elements such as below. |
int |
getNrRowsSkipped()
Get the number of rows that have been skipped due to duplicate row keys. |
boolean |
hasNext()
Returns true if there are more rows and false
otherwise. |
DataRow |
next()
Returns the next DataRow. |
| Methods inherited from class org.knime.core.data.RowIterator |
|---|
remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
AppendedRowsIterator(AppendedRowsTable table,
ExecutionMonitor exec,
int totalRowCount)
tables following spec.
The iterator may throw an exception in next.
table - Table host.exec - for progress/cancel, may be nulltotalRowCount - the total row count or negative if unknown| Method Detail |
|---|
public boolean hasNext()
true if there are more rows and false
otherwise.
hasNext in interface Iterator<DataRow>hasNext in class RowIteratortrue if the iterator has more elements, otherwise
falseRowIterator.next()public DataRow next()
DataRow.
next in interface Iterator<DataRow>next in class RowIteratorDataTablepublic int getNrRowsSkipped()
@Deprecated public Set<RowKey> getDuplicateHash()
getDuplicateNameMap() instead.
public Map<RowKey,RowKey> getDuplicateNameMap()
| Key | Value |
|---|---|
| Row1 | Row1 |
| Row2 | Row2 |
| Row1_dup | Row1 |
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||