Class: Google::Cloud::Spanner::V1::Type
- Inherits:
-
Object
- Object
- Google::Cloud::Spanner::V1::Type
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/spanner/v1/type.rb
Overview
Type
indicates the type of a Cloud Spanner value, as might be stored in a
table cell or returned from an SQL query.
Instance Attribute Summary collapse
- #array_element_type ⇒ ::Google::Cloud::Spanner::V1::Type
-
#code ⇒ ::Google::Cloud::Spanner::V1::TypeCode
Required.
- #proto_type_fqn ⇒ ::String
- #struct_type ⇒ ::Google::Cloud::Spanner::V1::StructType
-
#type_annotation ⇒ ::Google::Cloud::Spanner::V1::TypeAnnotationCode
The TypeAnnotationCode that disambiguates SQL type that Spanner will use to represent values of this type during query processing.
Instance Attribute Details
#array_element_type ⇒ ::Google::Cloud::Spanner::V1::Type
56 57 58 59 |
# File 'proto_docs/google/spanner/v1/type.rb', line 56 class Type include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#code ⇒ ::Google::Cloud::Spanner::V1::TypeCode
Returns Required. The TypeCode for this type.
56 57 58 59 |
# File 'proto_docs/google/spanner/v1/type.rb', line 56 class Type include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#proto_type_fqn ⇒ ::String
56 57 58 59 |
# File 'proto_docs/google/spanner/v1/type.rb', line 56 class Type include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#struct_type ⇒ ::Google::Cloud::Spanner::V1::StructType
56 57 58 59 |
# File 'proto_docs/google/spanner/v1/type.rb', line 56 class Type include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#type_annotation ⇒ ::Google::Cloud::Spanner::V1::TypeAnnotationCode
Returns The 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 can be mapped to different SQL types depending on the SQL dialect. 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.
56 57 58 59 |
# File 'proto_docs/google/spanner/v1/type.rb', line 56 class Type include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |