BigtableTableAdminClient (Cloud Bigtable HBase Client for Java 1.10.0 API)

com.google.cloud.bigtable.hbase2_x

Class BigtableTableAdminClient

    • Method Detail

      • createTableAsync

        public CompletableFuture<com.google.cloud.bigtable.admin.v2.models.Table> createTableAsync(com.google.cloud.bigtable.admin.v2.models.CreateTableRequest request)
        Creates a new table asynchronously. The table can be created with a full set of initial column families, specified in the request.
        Parameters:
        request - a CreateTableRequest object.
        Returns:
        a CompletableFuture that returns a Table object.
      • getTableAsync

        public CompletableFuture<com.google.cloud.bigtable.admin.v2.models.Table> getTableAsync(String tableId)
        Gets the details of a table asynchronously.
        Parameters:
        tableId - a String object.
        Returns:
        a CompletableFuture that returns a Table object.
      • modifyColumnFamilyAsync

        public CompletableFuture<com.google.cloud.bigtable.admin.v2.models.Table> modifyColumnFamilyAsync(com.google.cloud.bigtable.admin.v2.models.ModifyColumnFamiliesRequest request)
        Creates, modifies or deletes a new column family within a specified table.
        Parameters:
        request - a ModifyColumnFamiliesRequest object.
        Returns:
        a CompletableFuture that returns Table object that contains the updated table structure.
      • snapshotTableAsync

        public CompletableFuture<com.google.longrunning.Operation> snapshotTableAsync(com.google.bigtable.admin.v2.SnapshotTableRequest request)
        Creates a new snapshot from a table in a specific cluster.
        Parameters:
        request - a SnapshotTableRequest object.
        Returns:
        The long running Operation for the request.
      • getSnapshotAsync

        public CompletableFuture<com.google.bigtable.admin.v2.Snapshot> getSnapshotAsync(com.google.bigtable.admin.v2.GetSnapshotRequest request)
        Gets metadata information about the specified snapshot.
        Parameters:
        request - a GetSnapshotRequest object.
        Returns:
        The Snapshot definied by the request.
      • listSnapshotsAsync

        public CompletableFuture<com.google.bigtable.admin.v2.ListSnapshotsResponse> listSnapshotsAsync(com.google.bigtable.admin.v2.ListSnapshotsRequest request)
        Lists all snapshots associated with the specified cluster.
        Parameters:
        request - a ListSnapshotsRequest object.
        Returns:
        The ListSnapshotsResponse which has the list of the snapshots in the cluster.
      • deleteSnapshotAsync

        public CompletableFuture<Void> deleteSnapshotAsync(com.google.bigtable.admin.v2.DeleteSnapshotRequest request)
        Permanently deletes the specified snapshot.
        Parameters:
        request - a DeleteSnapshotRequest object.
        Returns:
        a CompletableFuture object.
      • createTableFromSnapshotAsync

        public CompletableFuture<com.google.longrunning.Operation> createTableFromSnapshotAsync(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request)
        Creates a new table from a snapshot.
        Parameters:
        request - a CreateTableFromSnapshotRequest object.
        Returns:
        The long running Operation for the request.


Oliko tästä sivusta apua? Kerro mielipiteesi

Palautteen aihe:

Tämä sivu
Cloud Bigtable Documentation