Class BigtableServiceApiClientImpl

public sealed class BigtableServiceApiClientImpl : BigtableServiceApiClient

BigtableServiceApi client wrapper implementation, for convenient use.

Inheritance

Object > BigtableServiceApiClient > BigtableServiceApiClientImpl

Namespace

Google.Cloud.Bigtable.V2

Assembly

Google.Cloud.Bigtable.V2.dll

Remarks

Service for reading from and writing to existing Bigtable tables.

Constructors

BigtableServiceApiClientImpl(Bigtable.BigtableClient, BigtableServiceApiSettings)

public BigtableServiceApiClientImpl(Bigtable.BigtableClient grpcClient, BigtableServiceApiSettings settings)

Constructs a client wrapper for the BigtableServiceApi service, with the specified gRPC client and settings.

Parameters
TypeNameDescription
Bigtable.BigtableClientgrpcClient

The underlying gRPC client.

BigtableServiceApiSettingssettings

The base BigtableServiceApiSettings used within this client.

Properties

AppProfileId

public override 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
TypeDescription
String
Overrides

GrpcClient

public override Bigtable.BigtableClient GrpcClient { get; }

The underlying gRPC BigtableServiceApi client

Property Value
TypeDescription
Bigtable.BigtableClient
Overrides

Methods

CheckAndMutateRow(CheckAndMutateRowRequest, CallSettings)

public override CheckAndMutateRowResponse CheckAndMutateRow(CheckAndMutateRowRequest request, CallSettings callSettings = null)

Mutates a row atomically based on the output of a predicate Reader filter.

Parameters
TypeNameDescription
CheckAndMutateRowRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CheckAndMutateRowResponse

The RPC response.

Overrides

CheckAndMutateRowAsync(CheckAndMutateRowRequest, CallSettings)

public override Task<CheckAndMutateRowResponse> CheckAndMutateRowAsync(CheckAndMutateRowRequest request, CallSettings callSettings = null)

Mutates a row atomically based on the output of a predicate Reader filter.

Parameters
TypeNameDescription
CheckAndMutateRowRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<CheckAndMutateRowResponse>

A Task containing the RPC response.

Overrides

MutateRow(MutateRowRequest, CallSettings)

public override MutateRowResponse MutateRow(MutateRowRequest request, CallSettings callSettings = null)

Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly changed by mutation.

Parameters
TypeNameDescription
MutateRowRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
MutateRowResponse

The RPC response.

Overrides

MutateRowAsync(MutateRowRequest, CallSettings)

public override Task<MutateRowResponse> MutateRowAsync(MutateRowRequest request, CallSettings callSettings = null)

Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly changed by mutation.

Parameters
TypeNameDescription
MutateRowRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<MutateRowResponse>

A Task containing the RPC response.

Overrides

MutateRows(MutateRowsRequest, CallSettings)

public override BigtableServiceApiClient.MutateRowsStream MutateRows(MutateRowsRequest request, CallSettings callSettings = null)

Mutates multiple rows in a batch. Each individual row is mutated atomically as in MutateRow, but the entire batch is not executed atomically.

Parameters
TypeNameDescription
MutateRowsRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
BigtableServiceApiClient.MutateRowsStream

The server stream.

Overrides

ReadModifyWriteRow(ReadModifyWriteRowRequest, CallSettings)

public override ReadModifyWriteRowResponse ReadModifyWriteRow(ReadModifyWriteRowRequest request, CallSettings callSettings = null)

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.

Parameters
TypeNameDescription
ReadModifyWriteRowRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ReadModifyWriteRowResponse

The RPC response.

Overrides

ReadModifyWriteRowAsync(ReadModifyWriteRowRequest, CallSettings)

public override Task<ReadModifyWriteRowResponse> ReadModifyWriteRowAsync(ReadModifyWriteRowRequest request, CallSettings callSettings = null)

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.

Parameters
TypeNameDescription
ReadModifyWriteRowRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ReadModifyWriteRowResponse>

A Task containing the RPC response.

Overrides

ReadRows(ReadRowsRequest, CallSettings)

public override BigtableServiceApiClient.ReadRowsStream ReadRows(ReadRowsRequest request, CallSettings callSettings = null)

Streams back the contents of all requested rows in key order, optionally applying the same Reader filter to each. Depending on their size, rows and cells may be broken up across multiple responses, but atomicity of each row will still be preserved. See the ReadRowsResponse documentation for details.

Parameters
TypeNameDescription
ReadRowsRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
BigtableServiceApiClient.ReadRowsStream

The server stream.

Overrides

SampleRowKeys(SampleRowKeysRequest, CallSettings)

public override BigtableServiceApiClient.SampleRowKeysStream SampleRowKeys(SampleRowKeysRequest request, CallSettings callSettings = null)

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.

Parameters
TypeNameDescription
SampleRowKeysRequestrequest

The request object containing all of the parameters for the API call.

CallSettingscallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
BigtableServiceApiClient.SampleRowKeysStream

The server stream.

Overrides