| Enum Constant and Description |
|---|
ARRAY |
BOOLEAN |
BYTE_STRING |
DATE |
DATE_TIME |
DOUBLE |
ENUM |
FLOAT |
INT16 |
INT32 |
INT64 |
INT8 |
OBJECT |
STRING |
| Modifier and Type | Method and Description |
|---|---|
static FieldType |
fromType(com.google.common.reflect.TypeToken<?> type) |
java.lang.String |
getCollectionName() |
java.lang.String |
getDiscoveryFormat() |
java.lang.String |
getDiscoveryType() |
static FieldType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldType STRING
public static final FieldType INT8
public static final FieldType INT16
public static final FieldType INT32
public static final FieldType INT64
public static final FieldType FLOAT
public static final FieldType DOUBLE
public static final FieldType DATE
public static final FieldType DATE_TIME
public static final FieldType BOOLEAN
public static final FieldType BYTE_STRING
public static final FieldType ENUM
public static final FieldType OBJECT
public static final FieldType ARRAY
public static FieldType[] values()
for (FieldType c : FieldType.values()) System.out.println(c);
public static FieldType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getDiscoveryType()
public java.lang.String getDiscoveryFormat()
public java.lang.String getCollectionName()
public static FieldType fromType(com.google.common.reflect.TypeToken<?> type)