public sealed class KeyRecipe.Types.Part : IMessage<KeyRecipe.Types.Part>, IEquatable<KeyRecipe.Types.Part>, IDeepCloneable<KeyRecipe.Types.Part>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Spanner v1 API class KeyRecipe.Types.Part.
An ssformat key is composed of a sequence of tag numbers and key column
values. Part represents a single tag or key column value.
Implements
IMessageKeyRecipeTypesPart, IEquatableKeyRecipeTypesPart, IDeepCloneableKeyRecipeTypesPart, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.V1Assembly
Google.Cloud.Spanner.V1.dll
Constructors
Part()
public Part()Part(Part)
public Part(KeyRecipe.Types.Part other)| Parameter | |
|---|---|
| Name | Description |
other |
KeyRecipeTypesPart |
Properties
HasIdentifier
public bool HasIdentifier { get; }Gets whether the "identifier" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasRandom
public bool HasRandom { get; }Gets whether the "random" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Identifier
public string Identifier { get; set; }identifier is the name of the column or query parameter.
| Property Value | |
|---|---|
| Type | Description |
string |
|
NullOrder
public KeyRecipe.Types.Part.Types.NullOrder NullOrder { get; set; }How NULLs are represented in the encoded key part. Only present if tag
is zero.
| Property Value | |
|---|---|
| Type | Description |
KeyRecipeTypesPartTypesNullOrder |
|
Order
public KeyRecipe.Types.Part.Types.Order Order { get; set; }Whether the key column is sorted ascending or descending. Only present
if tag is zero.
| Property Value | |
|---|---|
| Type | Description |
KeyRecipeTypesPartTypesOrder |
|
Random
public bool Random { get; set; }If true, the client is responsible to fill in the value randomly. It's relevant only for the INT64 type.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
StructIdentifiers
public RepeatedField<int> StructIdentifiers { get; }It is a repeated field to support fetching key columns from nested
structs, such as STRUCT query parameters.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldint |
|
Tag
public uint Tag { get; set; }If non-zero, tag is the only field present in this Part. The part
is encoded by appending tag to the ssformat key.
| Property Value | |
|---|---|
| Type | Description |
uint |
|
Type
public Type Type { get; set; }The type of the key part. Only present if tag is zero.
| Property Value | |
|---|---|
| Type | Description |
Type |
|
Value
public Value Value { get; set; }The constant value of the key part. It is present when query uses a constant as a part of the key.
| Property Value | |
|---|---|
| Type | Description |
Value |
|
ValueTypeCase
public KeyRecipe.Types.Part.ValueTypeOneofCase ValueTypeCase { get; }| Property Value | |
|---|---|
| Type | Description |
KeyRecipeTypesPartValueTypeOneofCase |
|