- 6.95.1 (latest)
- 6.94.0
- 6.93.0
- 6.89.0
- 6.88.0
- 6.87.0
- 6.86.0
- 6.85.0
- 6.83.0
- 6.82.0
- 6.80.1
- 6.79.0
- 6.77.0
- 6.74.1
- 6.72.0
- 6.71.0
- 6.69.0
- 6.68.0
- 6.66.0
- 6.65.1
- 6.62.0
- 6.60.0
- 6.58.0
- 6.57.0
- 6.56.0
- 6.55.0
- 6.54.0
- 6.53.0
- 6.52.1
- 6.51.0
- 6.50.1
- 6.49.0
- 6.25.1
- 6.24.0
- 6.23.4
- 6.22.0
- 6.21.2
- 6.20.0
- 6.19.1
- 6.18.0
- 6.17.4
- 6.14.1
public enum TypeCode extends Enum<TypeCode> implements ProtocolMessageEnum
TypeCode
is used as part of Type to
indicate the type of a Cloud Spanner value.
Each legal value of a type can be encoded to or decoded from a JSON
value, using the encodings described below. All Cloud Spanner values can
be null
, regardless of type; null
s are always encoded as a JSON
null
.
Protobuf enum google.spanner.v1.TypeCode
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
ARRAY |
Encoded as |
ARRAY_VALUE |
Encoded as |
BOOL |
Encoded as JSON |
BOOL_VALUE |
Encoded as JSON |
BYTES |
Encoded as a base64-encoded |
BYTES_VALUE |
Encoded as a base64-encoded |
DATE |
Encoded as |
DATE_VALUE |
Encoded as |
ENUM |
Encoded as |
ENUM_VALUE |
Encoded as |
FLOAT32 |
Encoded as |
FLOAT32_VALUE |
Encoded as |
FLOAT64 |
Encoded as |
FLOAT64_VALUE |
Encoded as |
INT64 |
Encoded as |
INT64_VALUE |
Encoded as |
INTERVAL |
Encoded as |
INTERVAL_VALUE |
Encoded as |
JSON |
Encoded as a JSON-formatted
|
JSON_VALUE |
Encoded as a JSON-formatted
|
NUMERIC |
Encoded as Scientific notation:
|
NUMERIC_VALUE |
Encoded as Scientific notation:
|
PROTO |
Encoded as a base64-encoded |
PROTO_VALUE |
Encoded as a base64-encoded |
STRING |
Encoded as |
STRING_VALUE |
Encoded as |
STRUCT |
Encoded as |
STRUCT_VALUE |
Encoded as |
TIMESTAMP |
Encoded as If the schema has the column option
|
TIMESTAMP_VALUE |
Encoded as If the schema has the column option
|
TYPE_CODE_UNSPECIFIED |
Not specified. |
TYPE_CODE_UNSPECIFIED_VALUE |
Not specified. |
UNRECOGNIZED |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |