public enum PropertyType extends Enum<PropertyType> implements com.facebook.thrift.TEnum
| Enum Constant and Description |
|---|
BOOL |
DATE |
DATETIME |
DOUBLE |
DURATION |
FIXED_STRING |
FLOAT |
GEOGRAPHY |
INT16 |
INT32 |
INT64 |
INT8 |
STRING |
TIME |
TIMESTAMP |
UNKNOWN |
VID |
| Modifier and Type | Method and Description |
|---|---|
static PropertyType |
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 PropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyType UNKNOWN
public static final PropertyType BOOL
public static final PropertyType INT64
public static final PropertyType VID
public static final PropertyType FLOAT
public static final PropertyType DOUBLE
public static final PropertyType STRING
public static final PropertyType FIXED_STRING
public static final PropertyType INT8
public static final PropertyType INT16
public static final PropertyType INT32
public static final PropertyType TIMESTAMP
public static final PropertyType DURATION
public static final PropertyType DATE
public static final PropertyType DATETIME
public static final PropertyType TIME
public static final PropertyType GEOGRAPHY
public static PropertyType[] values()
for (PropertyType c : PropertyType.values()) System.out.println(c);
public static PropertyType 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 com.facebook.thrift.TEnumpublic static PropertyType findByValue(int value)
Copyright © 2022. All rights reserved.