|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.base.data.append.column.AppendedColumnRow
public class AppendedColumnRow
A DataRow that is extended by one or more
cells.
| Constructor Summary | |
|---|---|
AppendedColumnRow(DataRow baseRow,
DataCell... appendCell)
Creates new Row with baseRow providing the first cells and
appendCell as last cells. |
|
AppendedColumnRow(DataRow baseRow,
DataRow appendedRow,
boolean[] appendColumn)
Create a new row with the baseRow providing the first cells
and appendedRow providing the following cells. |
|
AppendedColumnRow(RowKey rowKey,
DataRow baseRow,
DataCell... appendCell)
Creates new Row with baseRow providing the first cells and
appendCell as last cells. |
|
AppendedColumnRow(RowKey rowKey,
DataRow baseRow,
DataRow appendedRow)
Create a new row with the baseRow providing the first cells
and appendedRow providing the following cells. |
|
AppendedColumnRow(RowKey rowKey,
DataRow baseRow,
DataRow appendedRow,
boolean[] appendColumn)
Create a new row with the baseRow providing the first cells
and appendedRow providing the following cells. |
|
| Method Summary | |
|---|---|
DataCell |
getCell(int index)
Returns the DataCell at the provided index within this row. |
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 AppendedColumnRow(DataRow baseRow,
DataCell... appendCell)
baseRow providing the first cells and
appendCell as last cells.
baseRow - Containing the first cellsappendCell - The last cells (to be appended).
public AppendedColumnRow(RowKey rowKey,
DataRow baseRow,
DataCell... appendCell)
baseRow providing the first cells and
appendCell as last cells.
rowKey - new row key for the resulting appended rowbaseRow - Containing the first cellsappendCell - The last cells (to be appended).
public AppendedColumnRow(DataRow baseRow,
DataRow appendedRow,
boolean[] appendColumn)
baseRow providing the first cells
and appendedRow providing the following cells. Which cells
from the second row should be appended is passed in
appendColumn (true for adding the cells at
the index, false for not adding it).
baseRow - row with the first cellsappendedRow - row with the cells to appendappendColumn - array with entries set to true, if the
corresponding cells from the second row should be added
public AppendedColumnRow(RowKey rowKey,
DataRow baseRow,
DataRow appendedRow,
boolean[] appendColumn)
baseRow providing the first cells
and appendedRow providing the following cells. Which cells
from the second row should be appended is passed in
appendColumn (true for adding the cells at
the index, false for not adding it).
rowKey - new row key for the resulting appended rowbaseRow - row with the first cellsappendedRow - row with the cells to appendappendColumn - array with entries set to true, if the
corresponding cells from the second row should be added
public AppendedColumnRow(RowKey rowKey,
DataRow baseRow,
DataRow appendedRow)
baseRow providing the first cells
and appendedRow providing the following cells.
rowKey - new row key for the resulting appended rowbaseRow - row with the first cellsappendedRow - row with the cells to append| Method Detail |
|---|
public int getNumCells()
getNumCells in interface DataRowpublic RowKey getKey()
getKey in interface DataRowpublic DataCell getCell(int index)
DataCell at the provided index within this row.
getCell in interface DataRowindex - the index of the cell to retrieve (indices start from 0)
DataCell at the given indexpublic Iterator<DataCell> iterator()
iterator in interface Iterable<DataCell>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||