public abstract class BigtableClientReference documentation and code samples for the Google Bigtable v2 API class BigtableClient.
BigtableServiceApi client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.Bigtable.V2Assembly
Google.Cloud.Bigtable.V2.dll
Remarks
Service for reading from and writing to existing Bigtable tables.
Properties
AppProfileId
public virtual string AppProfileId { get; }Gets the value which specifies routing for replication. If null or empty, the "default" application profile will be used by the server.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Methods
CheckAndMutateRow(TableName, BigtableByteString, RowFilter, params Mutation[])
public virtual CheckAndMutateRowResponse CheckAndMutateRow(TableName tableName, BigtableByteString rowKey, RowFilter predicateFilter, params Mutation[] trueMutations)Mutates a row atomically based on the output of a predicate Reader filter.
| Parameters | |
|---|---|
| Name | Description |
tableName |
TableNameThe unique name of the table to which the conditional mutation should be applied. Must not be null. |
rowKey |
BigtableByteStringThe key of the row to which the conditional mutation should be applied. Must not be empty. |
predicateFilter |
RowFilterThe filter to be applied to the contents of the specified row. Depending
on whether or not any results are yielded, |
trueMutations |
MutationChanges to be atomically applied to the specified row if |
| Returns | |
|---|---|
| Type | Description |
CheckAndMutateRowResponse |
The response from trying to mutate the row. |
Note that string is implicitly convertible to BigtableByteString, so rowKey can
be specified using a string as well and its UTF-8 representations will be used.
This method simply delegates to CheckAndMutateRow(CheckAndMutateRowRequest, CallSettings).
CheckAndMutateRow(TableName, BigtableByteString, RowFilter, IEnumerable, IEnumerable, CallSettings)
public virtual CheckAndMutateRowResponse CheckAndMutateRow(TableName tableName, BigtableByteString rowKey, RowFilter predicateFilter, IEnumerable trueMutations, IEnumerable falseMutations, CallSettings callSettings = null) Mutates a row atomically based on the output of a predicate Reader filter.
| Parameters | |
|---|---|
| Name | Description |
tableName |
TableNameThe unique name of the table to which the conditional mutation should be applied. Must not be null. |
rowKey |
BigtableByteStringThe key of the row to which the conditional mutation should be applied. Must not be empty. |
predicateFilter |
RowFilterThe filter to be applied to the contents of the specified row. Depending
on whether or not any results are yielded, either |
trueMutations |
IEnumerableMutationChanges to be atomically applied to the specified row if |
falseMutations |
IEnumerableMutationChanges to be atomically applied to the specified row if |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CheckAndMutateRowResponse |
The response from trying to mutate the row. |
Note that string is implicitly convertible to BigtableByteString, so rowKey can
be specified using a string as well and its UTF-8 representations will be used.
This method simply delegates to CheckAndMutateRow(CheckAndMutateRowRequest, CallSettings).
CheckAndMutateRow(CheckAndMutateRowRequest, CallSettings)
public virtual CheckAndMutateRowResponse CheckAndMutateRow(CheckAndMutateRowRequest request, CallSettings callSettings = null)Mutates a row atomically based on the output of a predicate Reader filter.
| Parameters | |
|---|---|
| Name | Description |
request |
CheckAndMutateRowRequestThe request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CheckAndMutateRowResponse |
The RPC response. |
CheckAndMutateRowAsync(TableName, BigtableByteString, RowFilter, params Mutation[])
public virtual Task CheckAndMutateRowAsync(TableName tableName, BigtableByteString rowKey, RowFilter predicateFilter, params Mutation[] trueMutations) Asynchronously mutates a row atomically based on the output of a predicate Reader filter.
| Parameters | |
|---|---|
| Name | Description |
tableName |
TableNameThe unique name of the table to which the conditional mutation should be applied. Must not be null. |
rowKey |
BigtableByteStringThe key of the row to which the conditional mutation should be applied. Must not be empty. |
predicateFilter |
RowFilterThe filter to be applied to the contents of the specified row. Depending
on whether or not any results are yielded, |
trueMutations |
MutationChanges to be atomically applied to the specified row if |
| Returns | |
|---|---|
| Type | Description |
TaskCheckAndMutateRowResponse |
The response from trying to mutate the row. |
Note that string is implicitly convertible to BigtableByteString, so rowKey can
be specified using a string as well and its UTF-8 representations will be used.
This method simply delegates to CheckAndMutateRowAsync(CheckAndMutateRowRequest, CallSettings).
CheckAndMutateRowResponse response = await client.CheckAndMutateRowAsync(
new TableName(projectId, instanceId, tableId),
"user12345",
// If the latest value in the "Address:Country" column is "USA"...
RowFilters.Chain(
RowFilters.FamilyNameExact("Address"),
RowFilters.ColumnQualifierExact("Country"),
RowFilters.CellsPerColumnLimit(1),
RowFilters.ValueExact("USA")),
// ...remove all previous Level 1 scores and set the value to 0.
Mutations.DeleteFromColumn("Score", "Level 1"),
Mutations.SetCell("Score", "Level 1", 0, new BigtableVersion(1)));
if (response.PredicateMatched)
{
Console.WriteLine("The level 1 scores have been reset");
}
else
{
Console.WriteLine("The level 1 scores were not modified.");
}
CheckAndMutateRowAsync(TableName, BigtableByteString, RowFilter, IEnumerable, IEnumerable, CallSettings)
public virtual Task CheckAndMutateRowAsync(TableName tableName, BigtableByteString rowKey, RowFilter predicateFilter, IEnumerable trueMutations, IEnumerable falseMutations, CallSettings callSettings = null) Asynchronously mutates a row atomically based on the output of a predicate Reader filter.
| Parameters | |
|---|---|
| Name | Description |
tableName |
TableNameThe unique name of the table to which the conditional mutation should be applied. Must not be null. |
rowKey |
BigtableByteStringThe key of the row to which the conditional mutation should be applied. Must not be empty. |
predicateFilter |
RowFilterThe filter to be applied to the contents of the specified row. Depending
on whether or not any results are yielded, either |
trueMutations |
IEnumerableMutationChanges to be atomically applied to the specified row if |
falseMutations |
IEnumerableMutationChanges to be atomically applied to the specified row if |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCheckAndMutateRowResponse |
The response from trying to mutate the row. |
Note that string is implicitly convertible to BigtableByteString, so rowKey can
be specified using a string as well and its UTF-8 representations will be used.
This method simply delegates to CheckAndMutateRowAsync(CheckAndMutateRowRequest, CallSettings).
CheckAndMutateRowAsync(CheckAndMutateRowRequest, CallSettings)
public virtual Task CheckAndMutateRowAsync(CheckAndMutateRowRequest request, CallSettings callSettings = null) Mutates a row atomically based on the output of a predicate Reader filter.
| Parameters | |
|---|---|
| Name | Description |
request |
CheckAndMutateRowRequestThe request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCheckAndMutateRowResponse |
A Task containing the RPC response. |
CheckAndMutateRowAsync(CheckAndMutateRowRequest, CancellationToken)
public virtual Task CheckAndMutateRowAsync(CheckAndMutateRowRequest request, CancellationToken cancellationToken) Mutates a row atomically based on the output of a predicate Reader filter.
| Parameters | |
|---|---|
| Name | Description |
request |
CheckAndMutateRowRequestThe request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCheckAndMutateRowResponse |
A Task containing the RPC response. |
Create()
public static BigtableClient Create()Synchronously creates a BigtableClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use BigtableClientBuilder.
| Returns | |
|---|---|
| Type | Description |
BigtableClient |
The created BigtableServiceApiClient. |
Create(BigtableServiceApiClient)
public static BigtableClient Create(BigtableServiceApiClient client)Synchronously creates a BigtableClient from a pre-existing API client.
| Parameter | |
|---|---|
| Name | Description |
client |
BigtableServiceApiClientThe BigtableServiceApiClient to use in the BigtableClient. Must not be null. |
| Returns | |
|---|---|
| Type | Description |
BigtableClient |
The created BigtableClient. |
CreateAsync()
public static Task CreateAsync() Asynchronously creates a BigtableClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use BigtableClientBuilder.
| Returns | |
|---|---|
| Type | Description |
TaskBigtableClient |
The created BigtableServiceApiClient. |
ExecuteQuery(InstanceName, string, CallSettings)
[Obsolete]
public virtual BigtableServiceApiClient.ExecuteQueryStream ExecuteQuery(InstanceName instanceName, string query, CallSettings callSettings = null)Executes a SQL query against a particular Bigtable instance.
| Parameters | |
|---|---|
| Name | Description |
instanceName |
InstanceNameRequired. The unique name of the instance against which the query should be
executed.
Values are of the form |
query |
stringRequired. The query string. Exactly one of |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
BigtableServiceApiClientExecuteQueryStream |
The server stream. |
ExecuteQuery(InstanceName, string, string, CallSettings)
[Obsolete]
public virtual BigtableServiceApiClient.ExecuteQueryStream ExecuteQuery(InstanceName instanceName, string query, string appProfileId, CallSettings callSettings = null)Executes a SQL query against a particular Bigtable instance.
| Parameters | |
|---|---|
| Name | Description |
instanceName |
InstanceNameRequired. The unique name of the instance against which the query should be
executed.
Values are of the form |
query |
stringRequired. The query string. Exactly one of |
appProfileId |
stringOptional. This value specifies routing for replication. If not specified,
the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
BigtableServiceApiClientExecuteQueryStream |
The server stream. |
ExecuteQuery(ExecuteQueryRequest, CallSettings)
public virtual BigtableServiceApiClient.ExecuteQueryStream ExecuteQuery(ExecuteQueryRequest request, CallSettings callSettings = null)Executes a SQL query against a particular Bigtable instance.
| Parameters | |
|---|---|
| Name | Description |
request |
ExecuteQueryRequestThe request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
BigtableServiceApiClientExecuteQueryStream |
The server stream. |
ExecuteQuery(string, string, CallSettings)
[Obsolete]
public virtual BigtableServiceApiClient.ExecuteQueryStream ExecuteQuery(string instanceName, string query, CallSettings callSettings = null)Executes a SQL query against a particular Bigtable instance.
| Parameters | |
|---|---|
| Name | Description |
instanceName |
stringRequired. The unique name of the instance against which the query should be
executed.
Values are of the form |
query |
stringRequired. The query string. Exactly one of |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
BigtableServiceApiClientExecuteQueryStream |
The server stream. |
ExecuteQuery(string, string, string, CallSettings)
[Obsolete]
public virtual BigtableServiceApiClient.ExecuteQueryStream ExecuteQuery(string instanceName, string query, string appProfileId, CallSettings callSettings = null)Executes a SQL query against a particular Bigtable instance.
| Parameters | |
|---|---|
| Name | Description |
instanceName |
stringRequired. The unique name of the instance against which the query should be
executed.
Values are of the form |
query |
stringRequired. The query string. Exactly one of |
appProfileId |
stringOptional. This value specifies routing for replication. If not specified,
the |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
BigtableServiceApiClientExecuteQueryStream |
The server stream. |
GenerateInitialChangeStreamPartitions(TableName, CallSettings)
public virtual BigtableServiceApiClient.GenerateInitialChangeStreamPartitionsStream GenerateInitialChangeStreamPartitions(TableName tableName, CallSettings callSettings = null)Returns the current list of partitions that make up the table's
change stream. The union of partitions will cover the entire keyspace.
Partitions can be read with ReadChangeStream.
NOTE: This API is only intended to be used by Apache Beam BigtableIO.
| Parameters | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Name | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tableName |
TableNameRequired. The unique name of the table from which to get change stream
partitions. Values are of the form
If not null, applies overrides to this RPC call. The server stream. Returns the current list of partitions that make up the table's
change stream. The union of partitions will cover the entire keyspace.
Partitions can be read with Required. The unique name of the table from which to get change stream
partitions. Values are of the form
This value specifies routing for replication. If not specified, the
"default" application profile will be used.
Single cluster routing must be configured on the profile. If not null, applies overrides to this RPC call. The server stream. Returns the current list of partitions that make up the table's
change stream. The union of partitions will cover the entire keyspace.
Partitions can be read with The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. If not null, applies overrides to this RPC call. The server stream. Returns the current list of partitions that make up the table's
change stream. The union of partitions will cover the entire keyspace.
Partitions can be read with Required. The unique name of the table from which to get change stream
partitions. Values are of the form
If not null, applies overrides to this RPC call. The server stream. Returns the current list of partitions that make up the table's
change stream. The union of partitions will cover the entire keyspace.
Partitions can be read with Required. The unique name of the table from which to get change stream
partitions. Values are of the form
This value specifies routing for replication. If not specified, the
"default" application profile will be used.
Single cluster routing must be configured on the profile. If not null, applies overrides to this RPC call. The server stream. This RPC is only intended to be used by the official Cloud Bigtable client
libraries to implement the Bigtable Session based protocol. It is subject
to change without notice. The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. If not null, applies overrides to this RPC call. The RPC response. This RPC is only intended to be used by the official Cloud Bigtable client
libraries to implement the Bigtable Session based protocol. It is subject
to change without notice. The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. If not null, applies overrides to this RPC call. A Task containing the RPC response. This RPC is only intended to be used by the official Cloud Bigtable client
libraries to implement the Bigtable Session based protocol. It is subject
to change without notice. The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. A CancellationToken to use for this RPC. A Task containing the RPC response. Mutates a row atomically. Cells already present in the row are left
unchanged unless explicitly changed by The unique name of the table to which the mutation should be applied. Must not be null. The key of the row to which the mutation should be applied. Must not be empty. Changes to be atomically applied to the specified row. Entries are applied
in order, meaning that earlier mutations can be masked by later ones.
Must contain at least one entry and at most 100000. Must not be null, or contain null
elements. The response from mutating the row.
Note that string is implicitly convertible to BigtableByteString, so
This method simply delegates to MutateRow(MutateRowRequest, CallSettings).
Mutates a row atomically. Cells already present in the row are left
unchanged unless explicitly changed by The unique name of the table to which the mutation should be applied. Must not be null. The key of the row to which the mutation should be applied. Must not be empty. Changes to be atomically applied to the specified row. Entries are applied
in order, meaning that earlier mutations can be masked by later ones.
Must contain at least one entry and at most 100000. Must not be null, or contain null
elements. If not null, applies overrides to this RPC call. The response from mutating the row.
Note that string is implicitly convertible to BigtableByteString, so
This method simply delegates to MutateRow(MutateRowRequest, CallSettings).
Mutates a row atomically. Cells already present in the row are left
unchanged unless explicitly changed by The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. If not null, applies overrides to this RPC call. The RPC response. Asynchronously mutates a row atomically. Cells already present in the row are left
unchanged unless explicitly changed by The unique name of the table to which the mutation should be applied. Must not be null. The key of the row to which the mutation should be applied. Must not be empty. Changes to be atomically applied to the specified row. Entries are applied
in order, meaning that earlier mutations can be masked by later ones.
Must contain at least one entry and at most 100000. Must not be null, or contain null
elements. The response from mutating the row.
Note that string is implicitly convertible to BigtableByteString, so
This method simply delegates to MutateRowAsync(MutateRowRequest, CallSettings).
Asynchronously mutates a row atomically. Cells already present in the row are left
unchanged unless explicitly changed by The unique name of the table to which the mutation should be applied. Must not be null. The key of the row to which the mutation should be applied. Must not be empty. Changes to be atomically applied to the specified row. Entries are applied
in order, meaning that earlier mutations can be masked by later ones.
Must contain at least one entry and at most 100000. Must not be null, or contain null
elements. If not null, applies overrides to this RPC call. The response from mutating the row.
Note that string is implicitly convertible to BigtableByteString, so
This method simply delegates to MutateRowAsync(MutateRowRequest, CallSettings).
Mutates a row atomically. Cells already present in the row are left
unchanged unless explicitly changed by The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. If not null, applies overrides to this RPC call. A Task containing the RPC response. Mutates a row atomically. Cells already present in the row are left
unchanged unless explicitly changed by The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. A CancellationToken to use for this RPC. A Task containing the RPC response. Mutates multiple rows in a batch. Each individual row is mutated
atomically as in MutateRow(MutateRowRequest, CallSettings),
but the entire batch is not executed atomically. The unique name of the table to which the mutations should be applied. Must not be null. The row keys and corresponding mutations to be applied in bulk.
Each entry is applied as an atomic mutation, but the entries may be
applied in arbitrary order (even between entries for the same row).
At least one entry must be specified, and in total the entries can
contain at most 100000 mutations. The response from mutating the rows.
This method simply delegates to MutateRows(TableName, IEnumerable Mutates multiple rows in a batch. Each individual row is mutated
atomically as in MutateRow(MutateRowRequest, CallSettings),
but the entire batch is not executed atomically. The unique name of the table to which the mutations should be applied. Must not be null. The row keys and corresponding mutations to be applied in bulk.
Each entry is applied as an atomic mutation, but the entries may be
applied in arbitrary order (even between entries for the same row).
At least one entry must be specified, and in total the entries can
contain at most 100000 mutations. Must not be null, or contain null
elements. If not null, applies overrides to this RPC call. The response from mutating the rows.
This method simply delegates to MutateRows(MutateRowsRequest, CallSettings).
Mutates multiple rows in a batch. Each individual row is mutated
atomically as in MutateRow, but the entire batch is not executed
atomically. The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. If not null, applies overrides to this RPC call. The RPC response. Mutates multiple rows in a batch. Each individual row is mutated
atomically as in MutateRow(MutateRowRequest, CallSettings),
but the entire batch is not executed atomically. The unique name of the table to which the mutations should be applied. Must not be null. The row keys and corresponding mutations to be applied in bulk.
Each entry is applied as an atomic mutation, but the entries may be
applied in arbitrary order (even between entries for the same row).
At least one entry must be specified, and in total the entries can
contain at most 100000 mutations. The response from mutating the rows.
This method simply delegates to MutateRowsAsync(TableName, IEnumerable Mutates multiple rows in a batch. Each individual row is mutated
atomically as in MutateRow(MutateRowRequest, CallSettings),
but the entire batch is not executed atomically. The unique name of the table to which the mutations should be applied. Must not be null. The row keys and corresponding mutations to be applied in bulk.
Each entry is applied as an atomic mutation, but the entries may be
applied in arbitrary order (even between entries for the same row).
At least one entry must be specified, and in total the entries can
contain at most 100000 mutations. Must not be null, or contain null
elements. If not null, applies overrides to this RPC call. The response from mutating the rows.
This method simply delegates to MutateRowsAsync(MutateRowsRequest, CallSettings).
Mutates multiple rows in a batch. Each individual row is mutated
atomically as in MutateRow, but the entire batch is not executed
atomically. The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. If not null, applies overrides to this RPC call. The RPC response. Mutates multiple rows in a batch. Each individual row is mutated
atomically as in MutateRow, but the entire batch is not executed
atomically. The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. A CancellationToken to use for this RPC. The RPC response. This RPC is only intended to be used by the official Cloud Bigtable client
libraries to implement the Bigtable Session based protocol. It is subject
to change without notice. If not null, applies overrides to this RPC call. If not null, applies streaming overrides to this RPC call. The client-server stream. This RPC is only intended to be used by the official Cloud Bigtable client
libraries to implement the Bigtable Session based protocol. It is subject
to change without notice. If not null, applies overrides to this RPC call. If not null, applies streaming overrides to this RPC call. The client-server stream. This RPC is only intended to be used by the official Cloud Bigtable client
libraries to implement the Bigtable Session based protocol. It is subject
to change without notice. If not null, applies overrides to this RPC call. If not null, applies streaming overrides to this RPC call. The client-server stream. Warm up associated instance metadata for this connection.
This call is not required but may be useful for connection keep-alive. Required. The unique name of the instance to check permissions for as well
as respond. Values are of the form
If not null, applies overrides to this RPC call. The RPC response. Warm up associated instance metadata for this connection.
This call is not required but may be useful for connection keep-alive. Required. The unique name of the instance to check permissions for as well
as respond. Values are of the form
This value specifies routing for replication. If not specified, the
"default" application profile will be used. If not null, applies overrides to this RPC call. The RPC response. Warm up associated instance metadata for this connection.
This call is not required but may be useful for connection keep-alive. The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. If not null, applies overrides to this RPC call. The RPC response. Warm up associated instance metadata for this connection.
This call is not required but may be useful for connection keep-alive. Required. The unique name of the instance to check permissions for as well
as respond. Values are of the form
If not null, applies overrides to this RPC call. The RPC response. Warm up associated instance metadata for this connection.
This call is not required but may be useful for connection keep-alive. Required. The unique name of the instance to check permissions for as well
as respond. Values are of the form
This value specifies routing for replication. If not specified, the
"default" application profile will be used. If not null, applies overrides to this RPC call. The RPC response. Warm up associated instance metadata for this connection.
This call is not required but may be useful for connection keep-alive. Required. The unique name of the instance to check permissions for as well
as respond. Values are of the form
If not null, applies overrides to this RPC call. A Task containing the RPC response. Warm up associated instance metadata for this connection.
This call is not required but may be useful for connection keep-alive. Required. The unique name of the instance to check permissions for as well
as respond. Values are of the form
This value specifies routing for replication. If not specified, the
"default" application profile will be used. If not null, applies overrides to this RPC call. A Task containing the RPC response. Warm up associated instance metadata for this connection.
This call is not required but may be useful for connection keep-alive. Required. The unique name of the instance to check permissions for as well
as respond. Values are of the form
This value specifies routing for replication. If not specified, the
"default" application profile will be used. A CancellationToken to use for this RPC. A Task containing the RPC response. Warm up associated instance metadata for this connection.
This call is not required but may be useful for connection keep-alive. Required. The unique name of the instance to check permissions for as well
as respond. Values are of the form
A CancellationToken to use for this RPC. A Task containing the RPC response. Warm up associated instance metadata for this connection.
This call is not required but may be useful for connection keep-alive. The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. If not null, applies overrides to this RPC call. A Task containing the RPC response. Warm up associated instance metadata for this connection.
This call is not required but may be useful for connection keep-alive. The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. A CancellationToken to use for this RPC. A Task containing the RPC response. Warm up associated instance metadata for this connection.
This call is not required but may be useful for connection keep-alive. Required. The unique name of the instance to check permissions for as well
as respond. Values are of the form
If not null, applies overrides to this RPC call. A Task containing the RPC response. Warm up associated instance metadata for this connection.
This call is not required but may be useful for connection keep-alive. Required. The unique name of the instance to check permissions for as well
as respond. Values are of the form
This value specifies routing for replication. If not specified, the
"default" application profile will be used. If not null, applies overrides to this RPC call. A Task containing the RPC response. Warm up associated instance metadata for this connection.
This call is not required but may be useful for connection keep-alive. Required. The unique name of the instance to check permissions for as well
as respond. Values are of the form
This value specifies routing for replication. If not specified, the
"default" application profile will be used. A CancellationToken to use for this RPC. A Task containing the RPC response. Warm up associated instance metadata for this connection.
This call is not required but may be useful for connection keep-alive. Required. The unique name of the instance to check permissions for as well
as respond. Values are of the form
A CancellationToken to use for this RPC. A Task containing the RPC response. Prepares a GoogleSQL query for execution on a particular Bigtable instance. Required. The unique name of the instance against which the query should be
executed.
Values are of the form Required. The query string. If not null, applies overrides to this RPC call. The RPC response. Prepares a GoogleSQL query for execution on a particular Bigtable instance. Required. The unique name of the instance against which the query should be
executed.
Values are of the form Required. The query string. Optional. This value specifies routing for preparing the query. Note that
this If not null, applies overrides to this RPC call. The RPC response. Prepares a GoogleSQL query for execution on a particular Bigtable instance. The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. If not null, applies overrides to this RPC call. The RPC response. Prepares a GoogleSQL query for execution on a particular Bigtable instance. Required. The unique name of the instance against which the query should be
executed.
Values are of the form Required. The query string. If not null, applies overrides to this RPC call. The RPC response. Prepares a GoogleSQL query for execution on a particular Bigtable instance. Required. The unique name of the instance against which the query should be
executed.
Values are of the form Required. The query string. Optional. This value specifies routing for preparing the query. Note that
this If not null, applies overrides to this RPC call. The RPC response. Prepares a GoogleSQL query for execution on a particular Bigtable instance. Required. The unique name of the instance against which the query should be
executed.
Values are of the form Required. The query string. If not null, applies overrides to this RPC call. A Task containing the RPC response. Prepares a GoogleSQL query for execution on a particular Bigtable instance. Required. The unique name of the instance against which the query should be
executed.
Values are of the form Required. The query string. Optional. This value specifies routing for preparing the query. Note that
this If not null, applies overrides to this RPC call. A Task containing the RPC response. Prepares a GoogleSQL query for execution on a particular Bigtable instance. Required. The unique name of the instance against which the query should be
executed.
Values are of the form Required. The query string. Optional. This value specifies routing for preparing the query. Note that
this A CancellationToken to use for this RPC. A Task containing the RPC response. Prepares a GoogleSQL query for execution on a particular Bigtable instance. Required. The unique name of the instance against which the query should be
executed.
Values are of the form Required. The query string. A CancellationToken to use for this RPC. A Task containing the RPC response. Prepares a GoogleSQL query for execution on a particular Bigtable instance. The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. If not null, applies overrides to this RPC call. A Task containing the RPC response. Prepares a GoogleSQL query for execution on a particular Bigtable instance. The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. A CancellationToken to use for this RPC. A Task containing the RPC response. Prepares a GoogleSQL query for execution on a particular Bigtable instance. Required. The unique name of the instance against which the query should be
executed.
Values are of the form Required. The query string. If not null, applies overrides to this RPC call. A Task containing the RPC response. Prepares a GoogleSQL query for execution on a particular Bigtable instance. Required. The unique name of the instance against which the query should be
executed.
Values are of the form Required. The query string. Optional. This value specifies routing for preparing the query. Note that
this If not null, applies overrides to this RPC call. A Task containing the RPC response. Prepares a GoogleSQL query for execution on a particular Bigtable instance. Required. The unique name of the instance against which the query should be
executed.
Values are of the form Required. The query string. Optional. This value specifies routing for preparing the query. Note that
this A CancellationToken to use for this RPC. A Task containing the RPC response. Prepares a GoogleSQL query for execution on a particular Bigtable instance. Required. The unique name of the instance against which the query should be
executed.
Values are of the form Required. The query string. A CancellationToken to use for this RPC. A Task containing the RPC response. Reads changes from a table's change stream. Changes will
reflect both user-initiated mutations and mutations that are caused by
garbage collection.
NOTE: This API is only intended to be used by Apache Beam BigtableIO. Required. The unique name of the table from which to read a change stream.
Values are of the form
If not null, applies overrides to this RPC call. The server stream. Reads changes from a table's change stream. Changes will
reflect both user-initiated mutations and mutations that are caused by
garbage collection.
NOTE: This API is only intended to be used by Apache Beam BigtableIO. Required. The unique name of the table from which to read a change stream.
Values are of the form
This value specifies routing for replication. If not specified, the
"default" application profile will be used.
Single cluster routing must be configured on the profile. If not null, applies overrides to this RPC call. The server stream. Reads changes from a table's change stream. Changes will
reflect both user-initiated mutations and mutations that are caused by
garbage collection.
NOTE: This API is only intended to be used by Apache Beam BigtableIO. The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. If not null, applies overrides to this RPC call. The server stream. Reads changes from a table's change stream. Changes will
reflect both user-initiated mutations and mutations that are caused by
garbage collection.
NOTE: This API is only intended to be used by Apache Beam BigtableIO. Required. The unique name of the table from which to read a change stream.
Values are of the form
If not null, applies overrides to this RPC call. The server stream. Reads changes from a table's change stream. Changes will
reflect both user-initiated mutations and mutations that are caused by
garbage collection.
NOTE: This API is only intended to be used by Apache Beam BigtableIO. Required. The unique name of the table from which to read a change stream.
Values are of the form
This value specifies routing for replication. If not specified, the
"default" application profile will be used.
Single cluster routing must be configured on the profile. If not null, applies overrides to this RPC call. The server stream. Modifies a row atomically on the server. The method reads the latest existing version
and value from the specified columns and writes a new entry based on
pre-defined read/modify/write rules. The new value for the version is the
greater of the previous value's version or the current server version. The method
returns the new contents of all modified cells. The unique name of the table to which the read/modify/write rules should be
applied. Must not be null. The key of the row to which the read/modify/write rules should be applied.
Must not be empty. Rules specifying how the specified row's contents are to be transformed
into writes. Entries are applied in order, meaning that earlier rules will
affect the results of later ones. Must not be null, or contain null
elements. The response from modifying the row.
Note that the server version is based on the current timestamp since the Unix epoch, so for
columns which are updated using ReadModifyWriteRow, other reads and writes of those columns
should use BigtableVersion values constructed from DateTime values, as opposed
to using a custom versioning scheme with 64-bit values.
Note that string is implicitly convertible to BigtableByteString, so
This method simply delegates to ReadModifyWriteRow(ReadModifyWriteRowRequest, CallSettings).
Modifies a row atomically on the server. The method reads the latest existing version
and value from the specified columns and writes a new entry based on
pre-defined read/modify/write rules. The new value for the version is the
greater of the previous value's version or the current server version. The method
returns the new contents of all modified cells. The unique name of the table to which the read/modify/write rules should be
applied. Must not be null. The key of the row to which the read/modify/write rules should be applied.
Must not be empty. Rules specifying how the specified row's contents are to be transformed
into writes. Entries are applied in order, meaning that earlier rules will
affect the results of later ones. Must not be null, or contain null
elements. If not null, applies overrides to this RPC call. The response from modifying the row.
Note that the server version is based on the current timestamp since the Unix epoch, so for
columns which are updated using ReadModifyWriteRow, other reads and writes of those columns
should use BigtableVersion values constructed from DateTime values, as opposed
to using a custom versioning scheme with 64-bit values.
Note that string is implicitly convertible to BigtableByteString, so
This method simply delegates to ReadModifyWriteRow(ReadModifyWriteRowRequest, CallSettings).
Modifies a row atomically on the server. The method reads the latest
existing timestamp and value from the specified columns and writes a new
entry based on pre-defined read/modify/write rules. The new value for the
timestamp is the greater of the existing timestamp or the current server
time. The method returns the new contents of all modified cells. The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. If not null, applies overrides to this RPC call. The RPC response. Asynchronously modifies a row atomically on the server. The method reads the latest existing version
and value from the specified columns and writes a new entry based on
pre-defined read/modify/write rules. The new value for the version is the
greater of the previous value's version or the current server version. The method
returns the new contents of all modified cells. The unique name of the table to which the read/modify/write rules should be
applied. Must not be null. The key of the row to which the read/modify/write rules should be applied.
Must not be empty. Rules specifying how the specified row's contents are to be transformed
into writes. Entries are applied in order, meaning that earlier rules will
affect the results of later ones. Must not be null, or contain null
elements. The response from modifying the row.
Note that the server version is based on the current timestamp since the Unix epoch, so for
columns which are updated using ReadModifyWriteRow, other reads and writes of those columns
should use BigtableVersion values constructed from DateTime values, as opposed
to using a custom versioning scheme with 64-bit values.
Note that string is implicitly convertible to BigtableByteString, so
This method simply delegates to ReadModifyWriteRowAsync(ReadModifyWriteRowRequest, CallSettings).
Asynchronously modifies a row atomically on the server. The method reads the latest existing version
and value from the specified columns and writes a new entry based on
pre-defined read/modify/write rules. The new value for the version is the
greater of the previous value's version or the current server version. The method
returns the new contents of all modified cells. The unique name of the table to which the read/modify/write rules should be
applied. Must not be null. The key of the row to which the read/modify/write rules should be applied.
Must not be empty. Rules specifying how the specified row's contents are to be transformed
into writes. Entries are applied in order, meaning that earlier rules will
affect the results of later ones. Must not be null, or contain null
elements. If not null, applies overrides to this RPC call. The response from modifying the row.
Note that the server version is based on the current timestamp since the Unix epoch, so for
columns which are updated using ReadModifyWriteRow, other reads and writes of those columns
should use BigtableVersion values constructed from DateTime values, as opposed
to using a custom versioning scheme with 64-bit values.
Note that string is implicitly convertible to BigtableByteString, so
This method simply delegates to ReadModifyWriteRowAsync(ReadModifyWriteRowRequest, CallSettings).
Modifies a row atomically on the server. The method reads the latest
existing timestamp and value from the specified columns and writes a new
entry based on pre-defined read/modify/write rules. The new value for the
timestamp is the greater of the existing timestamp or the current server
time. The method returns the new contents of all modified cells. The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. If not null, applies overrides to this RPC call. A Task containing the RPC response. Modifies a row atomically on the server. The method reads the latest
existing timestamp and value from the specified columns and writes a new
entry based on pre-defined read/modify/write rules. The new value for the
timestamp is the greater of the existing timestamp or the current server
time. The method returns the new contents of all modified cells. The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. A CancellationToken to use for this RPC. A Task containing the RPC response. Returns the contents of the requested row, optionally applying the specified Reader filter. The unique name of the table from which to read. Must not be null. The key of the row to read. Must not be empty. The filter to apply to the contents of the specified row. If null,
reads the entirety of the row. If not null, applies overrides to this RPC call. The row from the server or null if it does not exist.
This method simply delegates to ReadRowAsync(TableName, BigtableByteString, RowFilter, CallSettings).
Asynchronously returns the contents of the requested row, optionally applying the specified Reader filter. The unique name of the table from which to read. Must not be null. The key of the row to read. Must not be empty. The filter to apply to the contents of the specified row. If null,
reads the entirety of the row. If not null, applies overrides to this RPC call. The row from the server or null if it does not exist.
This method simply delegates to ReadRows(TableName, RowSet, RowFilter, long?, CallSettings)
and takes the single row result or null if no rows are returned.
Streams back the contents of all requested rows in key order, optionally
applying the same Reader filter to each. The unique name of the table from which to read. Must not be null. The row keys and/or ranges to read. If null, reads from all rows. The filter to apply to the contents of the specified row(s). If null,
reads the entirety of each row. The read will terminate after committing to N rows' worth of results.
If null or 0, returns all results. If not null, applies overrides to this RPC call. The server stream.
This method simply delegates to ReadRows(ReadRowsRequest, CallSettings).
Streams back the contents of all requested rows in key order, optionally applying the same Reader filter to each. The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. If not null, applies overrides to this RPC call. The server stream. Returns a sample of row keys in the table. The returned row keys will
delimit contiguous sections of the table of approximately equal size,
which can be used to break up the data for distributed tasks like
mapreduces. If a Optional. The unique name of the table from which to sample row keys. Values are of the form
If not null, applies overrides to this RPC call. The server stream. Returns a sample of row keys in the table. The returned row keys will
delimit contiguous sections of the table of approximately equal size,
which can be used to break up the data for distributed tasks like
mapreduces. If a Optional. The unique name of the table from which to sample row keys. Values are of the form
This value specifies routing for replication. If not specified, the
"default" application profile will be used. If not null, applies overrides to this RPC call. The server stream. Returns a sample of row keys in the table. The returned row keys will
delimit contiguous sections of the table of approximately equal size,
which can be used to break up the data for distributed tasks like
mapreduces. If a The request object containing all of the parameters for the API call. If the AppProfileId has not been specified, it will be initialized from the value stored in the client. If not null, applies overrides to this RPC call. The server stream. Returns a sample of row keys in the table. The returned row keys will
delimit contiguous sections of the table of approximately equal size,
which can be used to break up the data for distributed tasks like
mapreduces. If a Optional. The unique name of the table from which to sample row keys. Values are of the form
If not null, applies overrides to this RPC call. The server stream. Returns a sample of row keys in the table. The returned row keys will
delimit contiguous sections of the table of approximately equal size,
which can be used to break up the data for distributed tasks like
mapreduces. If a Optional. The unique name of the table from which to sample row keys. Values are of the form
This value specifies routing for replication. If not specified, the
"default" application profile will be used. If not null, applies overrides to this RPC call. The server stream. Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Last updated 2026-10-06 UTC. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||