|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.data.container.BlobSupportDataRow
public final class BlobSupportDataRow
Special row implementation that supports to access the wrapper cells of
BlobDataCell. Dealing with the wrapper cells (BlobWrapperDataCell)
gives the benefit that blobs are not read from the file when passed from one
place to another (they will be read on access).
| Constructor Summary | |
|---|---|
BlobSupportDataRow(RowKey key,
DataCell[] cells)
|
|
BlobSupportDataRow(RowKey key,
DataRow oldRow)
Creates a new data row with a new row ID. |
|
BlobSupportDataRow(String id,
DataRow oldRow)
Creates a new data row with a new row ID. |
|
| Method Summary | |
|---|---|
DataCell |
getCell(int index)
If the cell at index is a blob wrapper cell, it will fetch the content and return it. |
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). |
DataCell |
getRawCell(int index)
Returns the cell at given index. |
Iterator<DataCell> |
iterator()
|
String |
toString()
Get a string representing this row, i.e. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BlobSupportDataRow(RowKey key,
DataCell[] cells)
key - Row keycells - cell array.
public BlobSupportDataRow(RowKey key,
DataRow oldRow)
key - the key with the new row IDoldRow - container of the cells for the new row
public BlobSupportDataRow(String id,
DataRow oldRow)
id - the new row IDoldRow - container of the cells for the new row| Method Detail |
|---|
public 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 DataCell getRawCell(int index)
index - Cell index.
public RowKey getKey()
getKey in interface DataRowpublic int getNumCells()
getNumCells in interface DataRowpublic Iterator<DataCell> iterator()
iterator in interface Iterable<DataCell>public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||