Package com.tableau.hyperapi
Enum TypeTag
- java.lang.Object
-
- java.lang.Enum<TypeTag>
-
- com.tableau.hyperapi.TypeTag
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIG_INT
bigint typeBOOL
Bool typeBYTES
bytes typeCHAR
char typeDATE
date typeDOUBLE
double typeFLOAT
float typeGEOGRAPHY
geography typeINT
int typeINTERVAL
interval typeJSON
json typeNUMERIC
numeric typeOID
OID typeSMALL_INT
smallint typeTEXT
text typeTIME
time typeTIMESTAMP
timestamp typeTIMESTAMP_TZ
timestamptz typeUNSUPPORTED
Unsupported typeVARCHAR
varchar type
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TypeTag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TypeTag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSUPPORTED
public static final TypeTag UNSUPPORTED
Unsupported type
-
BOOL
public static final TypeTag BOOL
Bool type
-
BIG_INT
public static final TypeTag BIG_INT
bigint type
-
SMALL_INT
public static final TypeTag SMALL_INT
smallint type
-
INT
public static final TypeTag INT
int type
-
NUMERIC
public static final TypeTag NUMERIC
numeric type
-
DOUBLE
public static final TypeTag DOUBLE
double type
-
OID
public static final TypeTag OID
OID type
-
BYTES
public static final TypeTag BYTES
bytes type
-
TEXT
public static final TypeTag TEXT
text type
-
VARCHAR
public static final TypeTag VARCHAR
varchar type
-
CHAR
public static final TypeTag CHAR
char type
-
JSON
public static final TypeTag JSON
json type
-
DATE
public static final TypeTag DATE
date type
-
INTERVAL
public static final TypeTag INTERVAL
interval type
-
TIME
public static final TypeTag TIME
time type
-
TIMESTAMP
public static final TypeTag TIMESTAMP
timestamp type
-
TIMESTAMP_TZ
public static final TypeTag TIMESTAMP_TZ
timestamptz type
-
GEOGRAPHY
public static final TypeTag GEOGRAPHY
geography type
-
FLOAT
public static final TypeTag FLOAT
float type
-
-
Method Detail
-
values
public static TypeTag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TypeTag c : TypeTag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TypeTag valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-