public enum DataType extends Enum<DataType>
Java class for DataType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DataType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="AsciiType"/>
<enumeration value="BooleanType"/>
<enumeration value="BytesType"/>
<enumeration value="CounterColumnType"/>
<enumeration value="DateType"/>
<enumeration value="DoubleType"/>
<enumeration value="FloatType"/>
<enumeration value="IntegerType"/>
<enumeration value="LexicalUUIDType"/>
<enumeration value="LongType"/>
<enumeration value="TimeUUIDType"/>
<enumeration value="UTF8Type"/>
<enumeration value="UUIDType"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ASCII_TYPE |
BOOLEAN_TYPE |
BYTES_TYPE |
COUNTER_COLUMN_TYPE |
DATE_TYPE |
DOUBLE_TYPE |
FLOAT_TYPE |
INTEGER_TYPE |
LEXICAL_UUID_TYPE |
LONG_TYPE |
TIME_UUID_TYPE |
UTF_8_TYPE |
UUID_TYPE |
| Modifier and Type | Method and Description |
|---|---|
static DataType |
fromValue(String v) |
String |
value() |
static DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataType ASCII_TYPE
public static final DataType BOOLEAN_TYPE
public static final DataType BYTES_TYPE
public static final DataType COUNTER_COLUMN_TYPE
public static final DataType DATE_TYPE
public static final DataType DOUBLE_TYPE
public static final DataType FLOAT_TYPE
public static final DataType INTEGER_TYPE
public static final DataType LEXICAL_UUID_TYPE
public static final DataType LONG_TYPE
public static final DataType TIME_UUID_TYPE
public static final DataType UTF_8_TYPE
public static final DataType UUID_TYPE
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType 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 String value()
Copyright © 2016. All rights reserved.