| Constructor and Description |
|---|
BinaryColumn(int positionCount,
Optional<boolean[]> valueIsNull,
Binary[] values) |
| Modifier and Type | Method and Description |
|---|---|
Binary |
getBinary(int position)
Gets a Binary at
position. |
TSDataType |
getDataType()
Get the data type.
|
ColumnEncoding |
getEncoding()
Get the encoding for this column.
|
Object |
getObject(int position)
Gets an Object at
position. |
int |
getPositionCount()
Returns the number of positions in this block.
|
Column |
getRegion(int positionOffset,
int length)
Returns a column starting at the specified position and extends for the specified length.
|
long |
getRetainedSizeInBytes()
Returns the retained size of this column in memory, including over-allocations.
|
TsPrimitiveType |
getTsPrimitiveType(int position)
Gets a TsPrimitiveType at
position. |
boolean |
isNull(int position)
Is the specified position null?
|
boolean |
mayHaveNull()
Is it possible the column may have a null value? If false, the column cannot contain a null,
but if true, the column may or may not have a null.
|
void |
reverse()
reverse the column
|
Column |
subColumn(int fromIndex)
This method will create a temporary view of origin column, which will reuse the array of column
but with different array offset.
|
public TSDataType getDataType()
ColumngetDataType in interface Columnpublic ColumnEncoding getEncoding()
ColumngetEncoding in interface Columnpublic Binary getBinary(int position)
Columnposition.public Object getObject(int position)
Columnposition.public TsPrimitiveType getTsPrimitiveType(int position)
Columnposition.getTsPrimitiveType in interface Columnpublic boolean mayHaveNull()
ColumnmayHaveNull in interface Columnpublic boolean isNull(int position)
Columnpublic int getPositionCount()
ColumngetPositionCount in interface Columnpublic long getRetainedSizeInBytes()
ColumngetRetainedSizeInBytes in interface Columnpublic Column getRegion(int positionOffset, int length)
ColumnThe region can be a view over this column. If this column is released, the region column may also be released. If the region column is released, this block may also be released.
public Column subColumn(int fromIndex)
ColumnCopyright © 2022 The Apache Software Foundation. All rights reserved.