|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.base.data.filter.column.FilterColumnRow
public final class FilterColumnRow
Filter DataRow which extracts particular cells (columns) from an
underlying row.
| Constructor Summary | |
|---|---|
FilterColumnRow(DataRow row,
int[] columns)
Inits a new filter column DataRow with the underling row and an
array of indices into this row. |
|
| Method Summary | |
|---|---|
DataCell |
getCell(int index)
Returns the data cell at the given index. |
RowKey |
getKey()
Returns the row key. |
int |
getNumCells()
Returns the length of this row, that is the number of columns of the DataTable (not including the row key). |
Iterator<DataCell> |
iterator()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterColumnRow(DataRow row,
int[] columns)
DataRow with the underling row and an
array of indices into this row.
row - the underlying DataRowcolumns - the array of column indices to keep| Method Detail |
|---|
public int getNumCells()
getNumCells in interface DataRowpublic RowKey getKey()
getKey in interface DataRowpublic DataCell getCell(int index)
index.
getCell in interface DataRowindex - the column index inside the row
ArrayIndexOutOfBoundsException - if the index is out
of rangepublic Iterator<DataCell> iterator()
iterator in interface Iterable<DataCell>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||