Package org.apache.arrow.vector.types
Enum Types.MinorType
- All Implemented Interfaces:
Serializable
,Comparable<Types.MinorType>
,java.lang.constant.Constable
- Enclosing class:
- Types
The actual enumeration of types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionabstract FieldWriter
getNewFieldWriter
(ValueVector vector) final FieldVector
getNewVector
(String name, FieldType fieldType, BufferAllocator allocator, CallBack schemaChangeCallback) Constructs a new vector for the given type.abstract FieldVector
getNewVector
(Field field, BufferAllocator allocator, CallBack schemaChangeCallback) Constructs a new vector for the given type.final ArrowType
getType()
Returns theArrowType
equivalent of this type.static Types.MinorType
Returns the enum constant of this type with the specified name.static Types.MinorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NULL
-
STRUCT
-
TINYINT
-
SMALLINT
-
INT
-
BIGINT
-
DATEDAY
-
DATEMILLI
-
TIMESEC
-
TIMEMILLI
-
TIMEMICRO
-
TIMENANO
-
TIMESTAMPSEC
-
TIMESTAMPMILLI
-
TIMESTAMPMICRO
-
TIMESTAMPNANO
-
INTERVALDAY
-
INTERVALMONTHDAYNANO
-
DURATION
-
INTERVALYEAR
-
FLOAT2
-
FLOAT4
-
FLOAT8
-
BIT
-
VARCHAR
-
VIEWVARCHAR
-
LARGEVARCHAR
-
LARGEVARBINARY
-
VARBINARY
-
VIEWVARBINARY
-
DECIMAL
-
DECIMAL256
-
FIXEDSIZEBINARY
-
UINT1
-
UINT2
-
UINT4
-
UINT8
-
LIST
-
LISTVIEW
-
LARGELIST
-
FIXED_SIZE_LIST
-
UNION
-
DENSEUNION
-
MAP
-
TIMESTAMPSECTZ
-
TIMESTAMPMILLITZ
-
TIMESTAMPMICROTZ
-
TIMESTAMPNANOTZ
-
EXTENSIONTYPE
-
-
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
-
getType
Returns theArrowType
equivalent of this type. -
getNewVector
public final FieldVector getNewVector(String name, FieldType fieldType, BufferAllocator allocator, CallBack schemaChangeCallback) Constructs a new vector for the given type. -
getNewVector
public abstract FieldVector getNewVector(Field field, BufferAllocator allocator, CallBack schemaChangeCallback) Constructs a new vector for the given type. -
getNewFieldWriter
-