@InternalApi(value="For internal usage only")
public interface IBigtableTableAdminClient
BigtableTableAdminClient
with
Google-Cloud-java's models.
For internal use only - public for technical reasons.
Modifier and Type | Method and Description |
---|---|
com.google.api.core.ApiFuture<com.google.cloud.bigtable.admin.v2.models.Backup> |
createBackupAsync(com.google.cloud.bigtable.admin.v2.models.CreateBackupRequest request)
Creates a new backup from a table in a specific cluster.
|
com.google.cloud.bigtable.admin.v2.models.Table |
createTable(com.google.cloud.bigtable.admin.v2.models.CreateTableRequest request)
Creates a new table.
|
com.google.api.core.ApiFuture<com.google.cloud.bigtable.admin.v2.models.Table> |
createTableAsync(com.google.cloud.bigtable.admin.v2.models.CreateTableRequest request)
Creates a new table asynchronously.
|
com.google.api.core.ApiFuture<com.google.longrunning.Operation> |
createTableFromSnapshotAsync(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request)
Deprecated.
this will be removed in a future release - please use backups API instead
|
com.google.api.core.ApiFuture<Void> |
deleteBackupAsync(String clusterId,
String backupId)
Permanently deletes the specified backup.
|
com.google.api.core.ApiFuture<Void> |
deleteSnapshotAsync(com.google.bigtable.admin.v2.DeleteSnapshotRequest request)
Deprecated.
this will be removed in a future release - please use backups API instead
|
void |
deleteTable(String tableId)
Permanently deletes a specified table and all of its data.
|
com.google.api.core.ApiFuture<Void> |
deleteTableAsync(String tableId)
Permanently deletes a specified table and all of its data.
|
void |
dropAllRows(String tableId)
Drops all data in the table.
|
com.google.api.core.ApiFuture<Void> |
dropAllRowsAsync(String tableId)
Asynchronously drops all data in the table
|
void |
dropRowRange(String tableId,
com.google.protobuf.ByteString rowKeyPrefix)
Permanently deletes all rows in a range.
|
void |
dropRowRange(String tableId,
String rowKeyPrefix)
Permanently deletes all rows in a range.
|
com.google.api.core.ApiFuture<Void> |
dropRowRangeAsync(String tableId,
com.google.protobuf.ByteString rowKeyPrefix)
Permanently deletes all rows in a range.
|
com.google.api.core.ApiFuture<Void> |
dropRowRangeAsync(String tableId,
String rowKeyPrefix)
Permanently deletes all rows in a range.
|
com.google.api.core.ApiFuture<com.google.cloud.bigtable.admin.v2.models.Backup> |
getBackupAsync(String clusterId,
String backupId)
Gets metadata information about the specified backup.
|
com.google.api.core.ApiFuture<com.google.bigtable.admin.v2.Snapshot> |
getSnapshotAsync(com.google.bigtable.admin.v2.GetSnapshotRequest request)
Deprecated.
this will be removed in a future release - please use backups API instead
|
com.google.cloud.bigtable.admin.v2.models.Table |
getTable(String tableId)
Gets the details of a table.
|
com.google.api.core.ApiFuture<com.google.cloud.bigtable.admin.v2.models.Table> |
getTableAsync(String tableId)
Gets the details of a table asynchronously.
|
com.google.api.core.ApiFuture<List<String>> |
listBackupsAsync(String clusterId)
Lists all backups associated with the specified cluster.
|
com.google.api.core.ApiFuture<com.google.bigtable.admin.v2.ListSnapshotsResponse> |
listSnapshotsAsync(com.google.bigtable.admin.v2.ListSnapshotsRequest request)
Deprecated.
this will be removed in a future release - please use backups API instead
|
List<String> |
listTables()
Lists the names of all tables in an instance.
|
com.google.api.core.ApiFuture<List<String>> |
listTablesAsync()
Lists the names of all tables in an instance asynchronously.
|
com.google.cloud.bigtable.admin.v2.models.Table |
modifyFamilies(com.google.cloud.bigtable.admin.v2.models.ModifyColumnFamiliesRequest request)
Creates, modifies or deletes a new column family within a specified table.
|
com.google.api.core.ApiFuture<com.google.cloud.bigtable.admin.v2.models.Table> |
modifyFamiliesAsync(com.google.cloud.bigtable.admin.v2.models.ModifyColumnFamiliesRequest request)
Creates, modifies or deletes a new column family within a specified table.
|
com.google.api.core.ApiFuture<com.google.cloud.bigtable.admin.v2.models.RestoredTableResult> |
restoreTableAsync(com.google.cloud.bigtable.admin.v2.models.RestoreTableRequest request)
Creates a new table from a backup.
|
com.google.api.core.ApiFuture<com.google.longrunning.Operation> |
snapshotTableAsync(com.google.bigtable.admin.v2.SnapshotTableRequest request)
Deprecated.
this will be removed in a future release - please use backups API instead
|
com.google.api.core.ApiFuture<com.google.cloud.bigtable.admin.v2.models.Backup> |
updateBackupAsync(com.google.cloud.bigtable.admin.v2.models.UpdateBackupRequest request)
Update the specified backup.
|
com.google.cloud.bigtable.admin.v2.models.Table createTable(com.google.cloud.bigtable.admin.v2.models.CreateTableRequest request)
request
- a CreateTableRequest
object.com.google.api.core.ApiFuture<com.google.cloud.bigtable.admin.v2.models.Table> createTableAsync(com.google.cloud.bigtable.admin.v2.models.CreateTableRequest request)
request
- a CreateTableRequest
object.com.google.cloud.bigtable.admin.v2.models.Table getTable(String tableId)
tableId
- a String object.Table
object.com.google.api.core.ApiFuture<com.google.cloud.bigtable.admin.v2.models.Table> getTableAsync(String tableId)
ApiFuture
that returns a Table
object.List<String> listTables()
List
object containing tableId.com.google.api.core.ApiFuture<List<String>> listTablesAsync()
ApiFuture
of type Void
will be set when request is successful
otherwise exception will be thrown.void deleteTable(String tableId)
com.google.api.core.ApiFuture<Void> deleteTableAsync(String tableId)
ApiFuture
of type Void
will be set when request is successful
otherwise exception will be thrown.com.google.cloud.bigtable.admin.v2.models.Table modifyFamilies(com.google.cloud.bigtable.admin.v2.models.ModifyColumnFamiliesRequest request)
request
- a ModifyColumnFamiliesRequest
object.Table
object that contains the updated table structure.com.google.api.core.ApiFuture<com.google.cloud.bigtable.admin.v2.models.Table> modifyFamiliesAsync(com.google.cloud.bigtable.admin.v2.models.ModifyColumnFamiliesRequest request)
request
- a ModifyColumnFamiliesRequest
object.ApiFuture
that returns Table
object that contains the updated table
structure.void dropRowRange(String tableId, String rowKeyPrefix)
tableId
- rowKeyPrefix
- void dropRowRange(String tableId, com.google.protobuf.ByteString rowKeyPrefix)
tableId
- rowKeyPrefix
- com.google.api.core.ApiFuture<Void> dropRowRangeAsync(String tableId, String rowKeyPrefix)
tableId
- rowKeyPrefix
- ApiFuture
that returns Void
object.com.google.api.core.ApiFuture<Void> dropRowRangeAsync(String tableId, com.google.protobuf.ByteString rowKeyPrefix)
tableId
- rowKeyPrefix
- ApiFuture
that returns Void
object.void dropAllRows(String tableId)
tableId
- a String
object.com.google.api.core.ApiFuture<Void> dropAllRowsAsync(String tableId)
tableId
- a String
object.@Deprecated com.google.api.core.ApiFuture<com.google.longrunning.Operation> snapshotTableAsync(com.google.bigtable.admin.v2.SnapshotTableRequest request)
request
- a SnapshotTableRequest
object.Operation
for the request.@Deprecated com.google.api.core.ApiFuture<com.google.bigtable.admin.v2.Snapshot> getSnapshotAsync(com.google.bigtable.admin.v2.GetSnapshotRequest request)
request
- a GetSnapshotRequest
object.Snapshot
defined by the request.@Deprecated com.google.api.core.ApiFuture<com.google.bigtable.admin.v2.ListSnapshotsResponse> listSnapshotsAsync(com.google.bigtable.admin.v2.ListSnapshotsRequest request)
request
- a ListSnapshotsRequest
object.ListSnapshotsResponse
which has the list of the snapshots in the cluster.@Deprecated com.google.api.core.ApiFuture<Void> deleteSnapshotAsync(com.google.bigtable.admin.v2.DeleteSnapshotRequest request)
request
- a DeleteSnapshotRequest
object.@Deprecated com.google.api.core.ApiFuture<com.google.longrunning.Operation> createTableFromSnapshotAsync(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request)
request
- a CreateTableFromSnapshotRequest
object.Operation
for the request.com.google.api.core.ApiFuture<com.google.cloud.bigtable.admin.v2.models.Backup> createBackupAsync(com.google.cloud.bigtable.admin.v2.models.CreateBackupRequest request)
request
- a CreateBackupRequest
object.Operation
for the request.com.google.api.core.ApiFuture<com.google.cloud.bigtable.admin.v2.models.Backup> getBackupAsync(String clusterId, String backupId)
com.google.api.core.ApiFuture<com.google.cloud.bigtable.admin.v2.models.Backup> updateBackupAsync(com.google.cloud.bigtable.admin.v2.models.UpdateBackupRequest request)
com.google.api.core.ApiFuture<List<String>> listBackupsAsync(String clusterId)
com.google.api.core.ApiFuture<Void> deleteBackupAsync(String clusterId, String backupId)
com.google.api.core.ApiFuture<com.google.cloud.bigtable.admin.v2.models.RestoredTableResult> restoreTableAsync(com.google.cloud.bigtable.admin.v2.models.RestoreTableRequest request)
Operation
for the request.