public interface DataChunk
DataChunk
interface is implemented by concrete classes that
hold data of a specific internal primitive type. The internal type may be
different from the external type that the data values represent.Modifier and Type | Interface and Description |
---|---|
static class |
DataChunk.DataType
The enumeration of the possible chunk external data types.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(ChunkVisitor visitor)
Accepts a visitor in this chunk.
|
DataChunk |
blankCopy()
Creates a blank copy of this data chunk.
|
DataChunk |
blankCopyWithValues(int values)
Creates a blank copy of this data chunk with the specified number of
data values.
|
DataChunk.DataType |
getExternalType()
Gets the external data type that values in this chunk are meant
to represent.
|
java.lang.Object |
getPrimitiveData()
Gets the primitive chunk data.
|
int |
getValues()
Gets the number of values held by this chunk.
|
DataChunk.DataType getExternalType()
void accept(ChunkVisitor visitor)
visitor
- the visitor to accept.int getValues()
java.lang.Object getPrimitiveData()
DataChunk blankCopy()
DataChunk blankCopyWithValues(int values)
values
- the number of data values in the new blank data chunk.