VariantOperationStatus#

public enum VariantOperationStatus#

Per-row status identifiers returned by Variant extraction and cast operations.

These values mirror the explicitly assigned numeric values of the experimental C++ cudf::io::parquet::experimental::variant_operation_status enum. The IDs are part of the Java API contract and must not be derived from the Java enum ordinal.

Enum Constant Summary

Method Summary

fromNative(int nativeId)

Find the named operation status for a native ID.

getNativeId()

Get the value stored in the UINT8 status column.

Enum Constants

SUCCESS#
ROW_NULL#
MISSING_PATH#
VARIANT_NULL#
TYPE_MISMATCH#
MALFORMED_VARIANT#
OVERFLOW#
INVALID_CONVERSION#

Methods

public int getNativeId()#

Get the value stored in the UINT8 status column.

Returns:

the native operation status ID

Static Methods

public static VariantOperationStatus fromNative(int nativeId)#

Find the named operation status for a native ID.

Parameters:

nativeId – ID returned in a status row

Throws:

IllegalArgumentException – if nativeId is not recognized

Returns:

the corresponding operation status