public enum ValueType extends Enum<ValueType>
Enum Constant and Description |
---|
BLOB
Represents a
Blob value. |
BOOLEAN
Represents a
boolean value. |
DOUBLE
Represents a
double value. |
ENTITY
Represents an entity value.
|
KEY
Represents a
key as a value. |
LAT_LNG
Represents a
LatLng value. |
LIST
Represents a
list of Value s. |
LONG
Represents a
long value. |
NULL
Represents a
null value. |
RAW_VALUE
Represents a raw/unparsed value.
|
STRING
Represents a
string value. |
TIMESTAMP
Represents a
Timestamp value. |
Modifier and Type | Method and Description |
---|---|
static ValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueType NULL
null
value.public static final ValueType STRING
string
value.public static final ValueType ENTITY
public static final ValueType KEY
key
as a value.public static final ValueType LONG
long
value.public static final ValueType DOUBLE
double
value.public static final ValueType BOOLEAN
boolean
value.public static final ValueType TIMESTAMP
Timestamp
value.public static final ValueType RAW_VALUE
public static ValueType[] values()
for (ValueType c : ValueType.values()) System.out.println(c);
public static ValueType 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 © 2019 Google LLC. All rights reserved.