@Generated(value="Autogenerated by Thrift Compiler (0.14.0)", date="2021-12-23") public enum ConvertedType extends Enum<ConvertedType> implements org.apache.thrift.TEnum
Enum Constant and Description |
---|
BSON
An embedded BSON document
A BSON document embedded within a single BINARY column.
|
DATE
A Date
Stored as days since Unix epoch, encoded as the INT32 physical type.
|
DECIMAL
A decimal value.
|
ENUM
an enum is converted into a binary field
|
INT_16 |
INT_32 |
INT_64 |
INT_8
A signed integer value.
|
INTERVAL
An interval of time
This type annotates data stored as a FIXED_LEN_BYTE_ARRAY of length 12
This data is composed of three separate little endian unsigned
integers.
|
JSON
An embedded JSON document
A JSON document embedded within a single UTF8 column.
|
LIST
a list is converted into an optional field containing a repeated field for its
values
|
MAP
a map is converted as an optional field containing a repeated key/value pair
|
MAP_KEY_VALUE
a key/value pair is converted into a group of two fields
|
TIME_MICROS
A time.
|
TIME_MILLIS
A time
The total number of milliseconds since midnight.
|
TIMESTAMP_MICROS
A date/time combination
Date and time recorded as microseconds since the Unix epoch.
|
TIMESTAMP_MILLIS
A date/time combination
Date and time recorded as milliseconds since the Unix epoch.
|
UINT_16 |
UINT_32 |
UINT_64 |
UINT_8
An unsigned integer value.
|
UTF8
a BYTE_ARRAY actually contains UTF8 encoded chars
|
Modifier and Type | Method and Description |
---|---|
static ConvertedType |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.
|
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL.
|
static ConvertedType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConvertedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConvertedType UTF8
public static final ConvertedType MAP
public static final ConvertedType MAP_KEY_VALUE
public static final ConvertedType LIST
public static final ConvertedType ENUM
public static final ConvertedType DECIMAL
public static final ConvertedType DATE
public static final ConvertedType TIME_MILLIS
public static final ConvertedType TIME_MICROS
public static final ConvertedType TIMESTAMP_MILLIS
public static final ConvertedType TIMESTAMP_MICROS
public static final ConvertedType UINT_8
public static final ConvertedType UINT_16
public static final ConvertedType UINT_32
public static final ConvertedType UINT_64
public static final ConvertedType INT_8
public static final ConvertedType INT_16
public static final ConvertedType INT_32
public static final ConvertedType INT_64
public static final ConvertedType JSON
public static final ConvertedType BSON
public static final ConvertedType INTERVAL
public static ConvertedType[] values()
for (ConvertedType c : ConvertedType.values()) System.out.println(c);
public static ConvertedType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface org.apache.thrift.TEnum
public static ConvertedType findByValue(int value)
Copyright © 2021 The Apache Software Foundation. All rights reserved.