|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CollectionDataValue
Special interface that is implemented by DataCell
s that represent
collection of cells. A detailed description of this interface is given
in the new
types manual.
Nested Class Summary | |
---|---|
static class |
CollectionDataValue.CollectionUtilityFactory
Implementations of the meta information of this value class. |
Nested classes/interfaces inherited from interface org.knime.core.data.DataValue |
---|
DataValue.UtilityFactory |
Field Summary | |
---|---|
static DataValue.UtilityFactory |
UTILITY
Meta information to collection values. |
Method Summary | |
---|---|
boolean |
containsBlobWrapperCells()
Get whether the collection contains special BlobWrapperDataCell
(framework use). |
DataType |
getElementType()
Get the common super type of all elements in this collection. |
Iterator<DataCell> |
iterator()
|
int |
size()
Get the number of elements in this collection. |
Field Detail |
---|
static final DataValue.UtilityFactory UTILITY
DataValue.UTILITY
Method Detail |
---|
DataType getElementType()
int size()
boolean containsBlobWrapperCells()
BlobWrapperDataCell
(framework use). This method gives a hint to the framwork (specifically
to the classes DataContainer
and BufferedDataContainer
) whether they should handle the cell implementing
this interface with care with respect to contained BlobDataCell
.
This method should return true
only if
iterator()
implements
BlobSupportDataCellIterator
(which allows the framework to access
the BlobWrapperDataCell
without touching the contained
BlobDataCell
(which is an expensive operation) and BlobWrapperDataCell
.Implementation note: This method is really only a helper for the framework. The same information can be retrieved by accessing the iterator. This can be an expensive and unnecessary operation, however.
Iterator<DataCell> iterator()
iterator
in interface Iterable<DataCell>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |