VariantLogicalType#
- public enum VariantLogicalType#
Logical type identifiers returned by
VariantUtils.getVariantTypeId(ColumnView).These values mirror the explicitly assigned numeric values of the experimental C++
cudf::io::parquet::experimental::variant_logical_typeenum. The IDs are part of the Java API contract and must not be derived from the Java enum ordinal.Enum Constant Summary
Method Summary
Find the named logical type for a native ID.
Get the value stored in the UINT8 result column.
Enum Constants
- OBJECT#
- ARRAY#
- NULL_VALUE#
- BOOLEAN#
- LONG_VALUE#
- STRING#
- DOUBLE_VALUE#
- DECIMAL#
- DATE#
- TIMESTAMP#
- TIMESTAMP_NTZ#
- FLOAT_VALUE#
- BINARY#
- UUID#
- TIME_NTZ#
Methods
- public int getNativeId()#
Get the value stored in the
UINT8result column.- Returns:
the native logical type ID
Static Methods
- public static VariantLogicalType fromNative(int nativeId)#
Find the named logical type for a native ID.
- Parameters:
nativeId – ID returned in a valid result row
- Throws:
IllegalArgumentException– ifnativeIdis not recognized- Returns:
the corresponding logical type