public sealed class Type : IMessage<Type>, IEquatable<Type>, IDeepCloneable<Type>, IBufferMessage, IMessage
Type
indicates the type of a Cloud Spanner value, as might be stored in a
table cell or returned from an SQL query.
Implements
Google.Protobuf.IMessage<Type>, IEquatable<Type>, Google.Protobuf.IDeepCloneable<Type>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.Spanner.V1Assembly
Google.Cloud.Spanner.V1.dll
Constructors
Type()
public Type()
Type(Type)
public Type(Type other)
Parameter | |
---|---|
Name | Description |
other | Type |
Properties
ArrayElementType
public Type ArrayElementType { get; set; }
If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then array_element_type
is the type of the array elements.
Property Value | |
---|---|
Type | Description |
Type |
Code
public TypeCode Code { get; set; }
Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
Property Value | |
---|---|
Type | Description |
TypeCode |
StructType
public StructType StructType { get; set; }
If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then struct_type
provides type information for the struct's fields.
Property Value | |
---|---|
Type | Description |
StructType |