|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.node.preproc.filter.row.RowFilterTable
public class RowFilterTable
A DataTable
which "contains" only rows that
don't fall through the specified filter. The table wrapps the original table
and forwards only rows that meet the filter criteria. Any RowFilter
can be passed. It will decide whether a row is part of this table or not.
Constructor Summary | |
---|---|
RowFilterTable(DataTable origTable,
RowFilter filter)
Creates a new data table which contains only rows that are not filtered out by the specified filter. |
Method Summary | |
---|---|
DataTableSpec |
getDataTableSpec()
Returns the DataTableSpec object of this table which gives
information about the structure of this data table. |
RowIterator |
iterator()
Returns a row iterator which returns each row one-by-one from the table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RowFilterTable(DataTable origTable, RowFilter filter)
origTable
- the table to filter the rows fromfilter
- a row filter that will be consulted for each row to decide
whether to include it or notMethod Detail |
---|
public DataTableSpec getDataTableSpec()
DataTableSpec
object of this table which gives
information about the structure of this data table.
getDataTableSpec
in interface DataTable
public RowIterator iterator()
iterator
in interface Iterable<DataRow>
iterator
in interface DataTable
DataRow
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |