Package com.google.cloud.datastore
Enum ValueType
- All Implemented Interfaces:
Serializable,Comparable<ValueType>
The type of a Datastore property.
- See Also:
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents aBlobvalue.Represents abooleanvalue.Represents adoublevalue.Represents an entity value.Represents akeyas a value.Represents aLatLngvalue.Represents alistofValues.Represents alongvalue.Represents anullvalue.Represents a raw/unparsed value.Represents astringvalue.Represents aTimestampvalue. -
Method Summary
-
Enum Constant Details
-
NULL
Represents anullvalue. -
STRING
Represents astringvalue. -
ENTITY
Represents an entity value. -
LIST
Represents alistofValues. -
KEY
Represents akeyas a value. -
LONG
Represents alongvalue. -
DOUBLE
Represents adoublevalue. -
BOOLEAN
Represents abooleanvalue. -
TIMESTAMP
Represents aTimestampvalue. -
BLOB
Represents aBlobvalue. -
RAW_VALUE
Represents a raw/unparsed value. -
LAT_LNG
Represents aLatLngvalue.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-