Class PartitionReadRequest
The request for PartitionRead
Implements
Inherited Members
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class PartitionReadRequest : IDirectResponseSchema
Properties
Columns
The columns of table to be returned for each row matching this request.
Declaration
[JsonProperty("columns")]
public virtual IList<string> Columns { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Index
If non-empty, the name of an index on table. This index is used instead of the table primary key when interpreting key_set and sorting result rows. See key_set for further information.
Declaration
[JsonProperty("index")]
public virtual string Index { get; set; }
Property Value
Type | Description |
---|---|
string |
KeySet
Required. key_set
identifies the rows to be yielded. key_set
names the primary keys of the rows in table
to be yielded, unless index is present. If index is present, then key_set instead names index keys in index.
It is not an error for the key_set
to name rows that do not exist in the database. Read yields nothing for
nonexistent rows.
Declaration
[JsonProperty("keySet")]
public virtual KeySet KeySet { get; set; }
Property Value
Type | Description |
---|---|
KeySet |
PartitionOptions
Additional options that affect how many partitions are created.
Declaration
[JsonProperty("partitionOptions")]
public virtual PartitionOptions PartitionOptions { get; set; }
Property Value
Type | Description |
---|---|
PartitionOptions |
Table
Required. The name of the table in the database to be read.
Declaration
[JsonProperty("table")]
public virtual string Table { get; set; }
Property Value
Type | Description |
---|---|
string |
Transaction
Read only snapshot transactions are supported, read/write and single use transactions are not.
Declaration
[JsonProperty("transaction")]
public virtual TransactionSelector Transaction { get; set; }
Property Value
Type | Description |
---|---|
TransactionSelector |