com.google.spanner.v1.type
Members list
Type members
Classlikes
StructType
defines the fields of a [STRUCT][google.spanner.v1.TypeCode.STRUCT] type.
StructType
defines the fields of a [STRUCT][google.spanner.v1.TypeCode.STRUCT] type.
Value parameters
- fields
-
The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the
SELECT
clause of a query.
Attributes
- Companion
- object
- Source
- StructType.scala
- Supertypes
-
trait Updatable[StructType]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- StructType.scala
- Supertypes
-
trait Producttrait Mirrortrait GeneratedMessageCompanion[StructType]trait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
StructType.type
Type
indicates the type of a Cloud Spanner value, as might be stored in a table cell or returned from an SQL query.
Type
indicates the type of a Cloud Spanner value, as might be stored in a table cell or returned from an SQL query.
Value parameters
- arrayElementType
-
If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then
array_element_type
is the type of the array elements. - code
-
Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
- structType
-
If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then
struct_type
provides type information for the struct's fields. - typeAnnotation
-
The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will use to represent values of this type during query processing. This is necessary for some type codes because a single [TypeCode][google.spanner.v1.TypeCode] can be mapped to different SQL types depending on the SQL dialect. [type_annotation][google.spanner.v1.Type.type_annotation] typically is not needed to process the content of a value (it doesn't affect serialization) and clients can ignore it on the read path.
Attributes
- Companion
- object
- Source
- Type.scala
- Supertypes
-
trait Updatable[Type]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- Type.scala
- Supertypes
-
trait Producttrait Mirrortrait GeneratedMessageCompanion[Type]trait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
Type.type
TypeAnnotationCode
is used as a part of [Type][google.spanner.v1.Type] to disambiguate SQL types that should be used for a given Cloud Spanner value. Disambiguation is needed because the same Cloud Spanner type can be mapped to different SQL types depending on SQL dialect. TypeAnnotationCode doesn't affect the way value is serialized.
TypeAnnotationCode
is used as a part of [Type][google.spanner.v1.Type] to disambiguate SQL types that should be used for a given Cloud Spanner value. Disambiguation is needed because the same Cloud Spanner type can be mapped to different SQL types depending on SQL dialect. TypeAnnotationCode doesn't affect the way value is serialized.
Attributes
- Companion
- object
- Source
- TypeAnnotationCode.scala
- Supertypes
-
trait GeneratedEnumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object PG_JSONB.typeobject PG_NUMERIC.typetrait Recognizedobject TYPE_ANNOTATION_CODE_UNSPECIFIED.typeclass Unrecognized
Attributes
- Companion
- class
- Source
- TypeAnnotationCode.scala
- Supertypes
-
trait Sumtrait Mirrortrait GeneratedEnumCompanion[TypeAnnotationCode]trait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
TypeAnnotationCode.type
TypeCode
is used as part of [Type][google.spanner.v1.Type] to indicate the type of a Cloud Spanner value.
TypeCode
is used as part of [Type][google.spanner.v1.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
.
Attributes
- Companion
- object
- Source
- TypeCode.scala
- Supertypes
-
trait GeneratedEnumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object ARRAY.typeobject BOOL.typeobject BYTES.typeobject DATE.typeobject FLOAT64.typeobject INT64.typeobject JSON.typeobject NUMERIC.typetrait Recognizedobject STRING.typeobject STRUCT.typeobject TIMESTAMP.typeobject TYPE_CODE_UNSPECIFIED.typeclass UnrecognizedShow all
Attributes
- Companion
- class
- Source
- TypeCode.scala
- Supertypes
-
trait Sumtrait Mirrortrait GeneratedEnumCompanion[TypeCode]trait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
TypeCode.type
Attributes
- Source
- TypeProto.scala
- Supertypes
-
class GeneratedFileObjectclass Objecttrait Matchableclass Any
- Self type
-
TypeProto.type