public static final class BigtableTableAdminGrpc.BigtableTableAdminStub extends io.grpc.stub.AbstractStub<BigtableTableAdminGrpc.BigtableTableAdminStub>
Service for creating, configuring, and deleting Cloud Bigtable tables. Provides access to the table schemas only, not the data stored within the tables.
| Modifier and Type | Method and Description |
|---|---|
protected BigtableTableAdminGrpc.BigtableTableAdminStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
checkConsistency(CheckConsistencyRequest request,
io.grpc.stub.StreamObserver<CheckConsistencyResponse> responseObserver)
Checks replication consistency based on a consistency token, that is, if
replication has caught up based on the conditions specified in the token
and the check request.
|
void |
createTable(CreateTableRequest request,
io.grpc.stub.StreamObserver<Table> responseObserver)
Creates a new table in the specified instance.
|
void |
createTableFromSnapshot(CreateTableFromSnapshotRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new table from the specified snapshot.
|
void |
deleteSnapshot(DeleteSnapshotRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Permanently deletes the specified snapshot.
|
void |
deleteTable(DeleteTableRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Permanently deletes a specified table and all of its data.
|
void |
dropRowRange(DropRowRangeRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Permanently drop/delete a row range from a specified table.
|
void |
generateConsistencyToken(GenerateConsistencyTokenRequest request,
io.grpc.stub.StreamObserver<GenerateConsistencyTokenResponse> responseObserver)
Generates a consistency token for a Table, which can be used in
CheckConsistency to check whether mutations to the table that finished
before this call started have been replicated.
|
void |
getSnapshot(GetSnapshotRequest request,
io.grpc.stub.StreamObserver<Snapshot> responseObserver)
Gets metadata information about the specified snapshot.
|
void |
getTable(GetTableRequest request,
io.grpc.stub.StreamObserver<Table> responseObserver)
Gets metadata information about the specified table.
|
void |
listSnapshots(ListSnapshotsRequest request,
io.grpc.stub.StreamObserver<ListSnapshotsResponse> responseObserver)
Lists all snapshots associated with the specified cluster.
|
void |
listTables(ListTablesRequest request,
io.grpc.stub.StreamObserver<ListTablesResponse> responseObserver)
Lists all tables served from a specified instance.
|
void |
modifyColumnFamilies(ModifyColumnFamiliesRequest request,
io.grpc.stub.StreamObserver<Table> responseObserver)
Performs a series of column family modifications on the specified table.
|
void |
snapshotTable(SnapshotTableRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new snapshot in the specified cluster from the specified
source table.
|
protected BigtableTableAdminGrpc.BigtableTableAdminStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<BigtableTableAdminGrpc.BigtableTableAdminStub>public void createTable(CreateTableRequest request, io.grpc.stub.StreamObserver<Table> responseObserver)
Creates a new table in the specified instance. The table can be created with a full set of initial column families, specified in the request.
public void createTableFromSnapshot(CreateTableFromSnapshotRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new table from the specified snapshot. The target table must not exist. The snapshot and the table must be in the same instance. Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
public void listTables(ListTablesRequest request, io.grpc.stub.StreamObserver<ListTablesResponse> responseObserver)
Lists all tables served from a specified instance.
public void getTable(GetTableRequest request, io.grpc.stub.StreamObserver<Table> responseObserver)
Gets metadata information about the specified table.
public void deleteTable(DeleteTableRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Permanently deletes a specified table and all of its data.
public void modifyColumnFamilies(ModifyColumnFamiliesRequest request, io.grpc.stub.StreamObserver<Table> responseObserver)
Performs a series of column family modifications on the specified table. Either all or none of the modifications will occur before this method returns, but data requests received prior to that point may see a table where only some modifications have taken effect.
public void dropRowRange(DropRowRangeRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Permanently drop/delete a row range from a specified table. The request can specify whether to delete all rows in a table, or only those that match a particular prefix.
public void generateConsistencyToken(GenerateConsistencyTokenRequest request, io.grpc.stub.StreamObserver<GenerateConsistencyTokenResponse> responseObserver)
Generates a consistency token for a Table, which can be used in CheckConsistency to check whether mutations to the table that finished before this call started have been replicated. The tokens will be available for 90 days.
public void checkConsistency(CheckConsistencyRequest request, io.grpc.stub.StreamObserver<CheckConsistencyResponse> responseObserver)
Checks replication consistency based on a consistency token, that is, if replication has caught up based on the conditions specified in the token and the check request.
public void snapshotTable(SnapshotTableRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new snapshot in the specified cluster from the specified source table. The cluster and the table must be in the same instance. Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
public void getSnapshot(GetSnapshotRequest request, io.grpc.stub.StreamObserver<Snapshot> responseObserver)
Gets metadata information about the specified snapshot. Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
public void listSnapshots(ListSnapshotsRequest request, io.grpc.stub.StreamObserver<ListSnapshotsResponse> responseObserver)
Lists all snapshots associated with the specified cluster. Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
public void deleteSnapshot(DeleteSnapshotRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Permanently deletes the specified snapshot. Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Copyright © 2018 Google LLC. All rights reserved.