public enum QueryArgumentType extends java.lang.Enum<QueryArgumentType> implements Type
| Enum Constant and Description |
|---|
BOOLEAN |
DOUBLE |
FLOAT |
INTEGER |
LOCAL_DATE |
LONG |
STRING |
TIME |
TIME_WITH_TIMEZONE |
TIMESTAMP |
TIMESTAMP_WITH_TIMEZONE |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<?> |
getTypeClass()
Gets the type class.
|
java.lang.String |
toKey()
Returns the key of this type as string.
|
static QueryArgumentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QueryArgumentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryArgumentType BOOLEAN
public static final QueryArgumentType DOUBLE
public static final QueryArgumentType FLOAT
public static final QueryArgumentType INTEGER
public static final QueryArgumentType LOCAL_DATE
public static final QueryArgumentType LONG
public static final QueryArgumentType STRING
public static final QueryArgumentType TIME
public static final QueryArgumentType TIME_WITH_TIMEZONE
public static final QueryArgumentType TIMESTAMP
public static final QueryArgumentType TIMESTAMP_WITH_TIMEZONE
public java.lang.Class<?> getTypeClass()
TypegetTypeClass in interface Typepublic java.lang.String toKey()
Typepublic static QueryArgumentType 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 static QueryArgumentType[] values()
for (QueryArgumentType c : QueryArgumentType.values()) System.out.println(c);