Package ai.rapids.cudf
Enum DType.DTypeEnum
- All Implemented Interfaces:
Serializable
,Comparable<DType.DTypeEnum>
,java.lang.constant.Constable
- Enclosing class:
- DType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionByte wise true non-0/false 0.Days since the UNIX epochmicroseconds since the UNIX epochms since the UNIX epochns since the UNIX epochs since the UNIX epoch -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
static DType.DTypeEnum
Returns the enum constant of this type with the specified name.static DType.DTypeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EMPTY
-
INT8
-
INT16
-
INT32
-
INT64
-
UINT8
-
UINT16
-
UINT32
-
UINT64
-
FLOAT32
-
FLOAT64
-
BOOL8
Byte wise true non-0/false 0. In general true will be 1. -
TIMESTAMP_DAYS
Days since the UNIX epoch -
TIMESTAMP_SECONDS
s since the UNIX epoch -
TIMESTAMP_MILLISECONDS
ms since the UNIX epoch -
TIMESTAMP_MICROSECONDS
microseconds since the UNIX epoch -
TIMESTAMP_NANOSECONDS
ns since the UNIX epoch -
DURATION_DAYS
-
DURATION_SECONDS
-
DURATION_MILLISECONDS
-
DURATION_MICROSECONDS
-
DURATION_NANOSECONDS
-
STRING
-
LIST
-
DECIMAL32
-
DECIMAL64
-
DECIMAL128
-
STRUCT
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNativeId
public int getNativeId() -
isDecimalType
public boolean isDecimalType()
-