public static enum CassDataTypes.BasicType extends Enum<CassDataTypes.BasicType> implements CassDataTypes
CassDataTypes.BasicType, CassDataTypes.CompositeType
Enum Constant and Description |
---|
ASCII
(CQL Name: ascii) US-ASCII character string.
|
BOOLEAN
(CQL Name: boolean) true or false.
|
BYTES
(CQL Name: blob) Arbitrary hexadecimal bytes (no validation).
|
COUNTER_COLUMN
(CQL Name: counter) Distributed counter value (8-byte long).
|
DATE
(CQL Name: timestamp) Date plus time, encoded as 8 bytes since epoch.
|
DECIMAL
(CQL Name: decimal) Variable-precision decimal.
|
DOUBLE
(CQL Name: double) 8-byte floating point.
|
FLOAT
(CQL Name: float) 4-byte floating point.
|
INTEGER
(CQL Name: varint) Arbitrary-precision integer.
|
LONG
(CQL Name: int, bigint) 8-byte long.
|
UTF8
(CQL Name: text, varchar) UTF-8 encoded string.
|
UUID
(CQL Name: uuid) Type 1 or type 4 UUID.
|
Modifier and Type | Method and Description |
---|---|
static CassDataTypes.BasicType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CassDataTypes.BasicType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getTypeClass
public static final CassDataTypes.BasicType BYTES
public static final CassDataTypes.BasicType ASCII
public static final CassDataTypes.BasicType UTF8
public static final CassDataTypes.BasicType INTEGER
public static final CassDataTypes.BasicType LONG
public static final CassDataTypes.BasicType UUID
public static final CassDataTypes.BasicType DATE
public static final CassDataTypes.BasicType BOOLEAN
public static final CassDataTypes.BasicType FLOAT
public static final CassDataTypes.BasicType DOUBLE
public static final CassDataTypes.BasicType DECIMAL
public static final CassDataTypes.BasicType COUNTER_COLUMN
public static CassDataTypes.BasicType[] values()
for (CassDataTypes.BasicType c : CassDataTypes.BasicType.values()) System.out.println(c);
public static CassDataTypes.BasicType 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 nullCopyright © 2015. All Rights Reserved.