|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.data.def.JoinedRow
public class JoinedRow
Row that concatenates two given rows.
| Constructor Summary | |
|---|---|
JoinedRow(DataRow left,
DataRow right)
Creates a new row based on two given rows. |
|
| Method Summary | |
|---|---|
DataCell |
getCell(int index)
Returns the DataCell at the provided index within this row. |
RowKey |
getKey()
Returns the key from the left row that was passed in the constructor. |
DataRow |
getLeftRow()
|
int |
getNumCells()
Returns the length of this row, that is the number of columns of the DataTable (not including the row key). |
DataRow |
getRightRow()
|
Iterator<DataCell> |
iterator()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JoinedRow(DataRow left,
DataRow right)
left - The left row providing the head cellsright - The right row providing the tail cells
NullPointerException - If either argument is null
IllegalArgumentException - If row key's ids aren't equal.| 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>public DataRow getLeftRow()
public DataRow getRightRow()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||