@Evolving public interface ColumnVector extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Cleans up memory for this column vector.
|
default ArrayValue |
getArray(int rowId)
Return the array value located at
rowId. |
default byte[] |
getBinary(int rowId)
Returns the binary type value for
rowId. |
default boolean |
getBoolean(int rowId)
Returns the boolean type value for
rowId. |
default byte |
getByte(int rowId)
Returns the byte type value for
rowId. |
default ColumnVector |
getChild(int ordinal)
Get the child vector associated with the given ordinal.
|
DataType |
getDataType() |
default java.math.BigDecimal |
getDecimal(int rowId)
Returns the decimal type value for
rowId. |
default double |
getDouble(int rowId)
Returns the double type value for
rowId. |
default float |
getFloat(int rowId)
Returns the float type value for
rowId. |
default int |
getInt(int rowId)
Returns the int type value for
rowId. |
default long |
getLong(int rowId)
Returns the long type value for
rowId. |
default MapValue |
getMap(int rowId)
Return the map value located at
rowId. |
default short |
getShort(int rowId)
Returns the short type value for
rowId. |
int |
getSize() |
default String |
getString(int rowId)
Returns the string type value for
rowId. |
boolean |
isNullAt(int rowId) |
DataType getDataType()
int getSize()
void close()
close in interface AutoCloseableboolean isNullAt(int rowId)
rowId - rowId is NULL.default boolean getBoolean(int rowId)
rowId. The return value is undefined and can be
anything, if the slot for rowId is null.rowId - default byte getByte(int rowId)
rowId. The return value is undefined and can be
anything, if the slot for rowId is null.rowId - default short getShort(int rowId)
rowId. The return value is undefined and can be
anything, if the slot for rowId is null.rowId - default int getInt(int rowId)
rowId. The return value is undefined and can be
anything, if the slot for rowId is null.rowId - default long getLong(int rowId)
rowId. The return value is undefined and can be
anything, if the slot for rowId is null.rowId - default float getFloat(int rowId)
rowId. The return value is undefined and can be
anything, if the slot for rowId is null.rowId - default double getDouble(int rowId)
rowId. The return value is undefined and can be
anything, if the slot for rowId is null.rowId - default byte[] getBinary(int rowId)
rowId. The return value is undefined and can be
anything, if the slot for rowId is null.rowId - default String getString(int rowId)
rowId. The return value is undefined and can be
anything, if the slot for rowId is null.rowId - default java.math.BigDecimal getDecimal(int rowId)
rowId. The return value is undefined and can be
anything, if the slot for rowId is null.rowId - default MapValue getMap(int rowId)
rowId. Returns null if the slot for rowId
is nulldefault ArrayValue getArray(int rowId)
rowId. Returns null if the slot for rowId
is nulldefault ColumnVector getChild(int ordinal)
struct type columns.ordinal - Ordinal of the child vector to return.