public interface ColumnVector
extends java.lang.AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Cleans up memory for this column vector.
|
default <T> java.util.List<T> |
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. |
DataType |
getDataType() |
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 <K,V> java.util.Map<K,V> |
getMap(int rowId)
Return the map type value located at
rowId. |
default short |
getShort(int rowId)
Returns the short type value for
rowId. |
int |
getSize() |
default java.lang.String |
getString(int rowId)
Returns the string type value for
rowId. |
default Row |
getStruct(int rowId)
Return the row value located at
rowId. |
boolean |
isNullAt(int rowId) |
DataType getDataType()
int getSize()
void close()
close in interface java.lang.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 java.lang.String getString(int rowId)
rowId. The return value is undefined and can be
anything, if the slot for rowId is null.rowId - default <K,V> java.util.Map<K,V> getMap(int rowId)
rowId. The return value is undefined and can be
anything, if the slot for rowId is null.K - Return map key typeV - Return map value typerowId - default Row getStruct(int rowId)
rowId. The return value is undefined and can be
anything, if the slot for rowId is null.rowId - default <T> java.util.List<T> getArray(int rowId)
rowId. The return value is undefined and can be
anything, if the slot for rowId is null.T - Array element typerowId -