public static enum DataType.Name extends Enum<DataType.Name>
Enum Constant and Description |
---|
ASCII |
BIGINT |
BLOB |
BOOLEAN |
COUNTER |
CUSTOM |
DATE |
DECIMAL |
DOUBLE |
DURATION |
FLOAT |
INET |
INT |
LIST |
MAP |
SET |
SMALLINT |
TEXT |
TIME |
TIMESTAMP |
TIMEUUID |
TINYINT |
TUPLE |
UDT |
UUID |
VARCHAR |
VARINT |
Modifier and Type | Method and Description |
---|---|
boolean |
isCompatibleWith(DataType.Name that)
Return
true if the provided Name is equal to this one, or if they are aliases for
each other, and false otherwise. |
String |
toString() |
static DataType.Name |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataType.Name[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataType.Name CUSTOM
public static final DataType.Name ASCII
public static final DataType.Name BIGINT
public static final DataType.Name BLOB
public static final DataType.Name BOOLEAN
public static final DataType.Name COUNTER
public static final DataType.Name DECIMAL
public static final DataType.Name DOUBLE
public static final DataType.Name FLOAT
public static final DataType.Name INT
public static final DataType.Name TEXT
public static final DataType.Name TIMESTAMP
public static final DataType.Name UUID
public static final DataType.Name VARCHAR
public static final DataType.Name VARINT
public static final DataType.Name TIMEUUID
public static final DataType.Name INET
public static final DataType.Name DATE
public static final DataType.Name TIME
public static final DataType.Name SMALLINT
public static final DataType.Name TINYINT
public static final DataType.Name DURATION
public static final DataType.Name LIST
public static final DataType.Name MAP
public static final DataType.Name SET
public static final DataType.Name UDT
public static final DataType.Name TUPLE
public static DataType.Name[] values()
for (DataType.Name c : DataType.Name.values()) System.out.println(c);
public static DataType.Name 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 boolean isCompatibleWith(DataType.Name that)
true
if the provided Name is equal to this one, or if they are aliases for
each other, and false
otherwise.that
- the Name to compare with the current one.true
if the provided Name is equal to this one, or if they are aliases for
each other, and false
otherwise.public String toString()
toString
in class Enum<DataType.Name>
Copyright © 2012–2024. All rights reserved.