BigtableTableAdminClient (Cloud Bigtable HBase Client for Java 1.1.2 API)

com.google.cloud.bigtable.grpc

Interface BigtableTableAdminClient

  • All Known Implementing Classes:
    BigtableTableAdminGrpcClient


    public interface BigtableTableAdminClient
    A client for the Cloud Bigtable Table Admin API.
    Version:
    $Id: $Id
    Author:
    sduskis
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void createTable(com.google.bigtable.admin.v2.CreateTableRequest request)
      Creates a new table.
      ListenableFuture<com.google.bigtable.admin.v2.Table> createTableAsync(com.google.bigtable.admin.v2.CreateTableRequest request)
      Creates a new table asynchronously.
      ListenableFuture<com.google.longrunning.Operation> createTableFromSnapshotAsync(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request)
      Creates a new table from a snapshot.
      ListenableFuture<Empty> deleteSnapshotAsync(com.google.bigtable.admin.v2.DeleteSnapshotRequest request)
      Permanently deletes the specified snapshot.
      void deleteTable(com.google.bigtable.admin.v2.DeleteTableRequest request)
      Permanently deletes a specified table and all of its data.
      ListenableFuture<Empty> deleteTableAsync(com.google.bigtable.admin.v2.DeleteTableRequest request)
      Permanently deletes a specified table and all of its data.
      void dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest request)
      Permanently deletes all rows in a range.
      ListenableFuture<Empty> dropRowRangeAsync(com.google.bigtable.admin.v2.DropRowRangeRequest request)
      Permanently deletes all rows in a range.
      ListenableFuture<com.google.bigtable.admin.v2.Snapshot> getSnapshotAsync(com.google.bigtable.admin.v2.GetSnapshotRequest request)
      Gets metadata information about the specified snapshot.
      com.google.bigtable.admin.v2.Table getTable(com.google.bigtable.admin.v2.GetTableRequest request)
      Gets the details of a table.
      ListenableFuture<com.google.bigtable.admin.v2.Table> getTableAsync(com.google.bigtable.admin.v2.GetTableRequest request)
      Gets the details of a table asynchronously.
      ListenableFuture<com.google.bigtable.admin.v2.ListSnapshotsResponse> listSnapshotsAsync(com.google.bigtable.admin.v2.ListSnapshotsRequest request)
      Lists all snapshots associated with the specified cluster.
      com.google.bigtable.admin.v2.ListTablesResponse listTables(com.google.bigtable.admin.v2.ListTablesRequest request)
      Lists the names of all tables in an instance.
      ListenableFuture<com.google.bigtable.admin.v2.ListTablesResponse> listTablesAsync(com.google.bigtable.admin.v2.ListTablesRequest request)
      Lists the names of all tables in an instance asynchronously.
      com.google.bigtable.admin.v2.Table modifyColumnFamily(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request)
      Creates, modifies or deletes a new column family within a specified table.
      ListenableFuture<com.google.bigtable.admin.v2.Table> modifyColumnFamilyAsync(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request)
      Creates, modifies or deletes a new column family within a specified table.
      ListenableFuture<com.google.longrunning.Operation> snapshotTableAsync(com.google.bigtable.admin.v2.SnapshotTableRequest request)
      Creates a new snapshot from a table in a specific cluster.
      void waitForReplication(BigtableTableName tableName, long timeout)
      Blocks until replication has caught up to the point this method was called or timeout is reached.
    • Method Detail

      • createTable

        void createTable(com.google.bigtable.admin.v2.CreateTableRequest request)
        Creates a new table. The table can be created with a full set of initial column families, specified in the request.
        Parameters:
        request - a CreateTableRequest object.
      • createTableAsync

        ListenableFuture<com.google.bigtable.admin.v2.Table> createTableAsync(com.google.bigtable.admin.v2.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.
      • getTable

        com.google.bigtable.admin.v2.Table getTable(com.google.bigtable.admin.v2.GetTableRequest request)
        Gets the details of a table.
        Parameters:
        request - a GetTableRequest object.
        Returns:
        a Table object.
      • getTableAsync

        ListenableFuture<com.google.bigtable.admin.v2.Table> getTableAsync(com.google.bigtable.admin.v2.GetTableRequest request)
        Gets the details of a table asynchronously.
        Parameters:
        request - a GetTableRequest object.
        Returns:
        a ListenableFuture that returns a Table object.
      • listTables

        com.google.bigtable.admin.v2.ListTablesResponse listTables(com.google.bigtable.admin.v2.ListTablesRequest request)
        Lists the names of all tables in an instance.
        Parameters:
        request - a ListTablesRequest object.
        Returns:
        a ListTablesResponse object.
      • listTablesAsync

        ListenableFuture<com.google.bigtable.admin.v2.ListTablesResponse> listTablesAsync(com.google.bigtable.admin.v2.ListTablesRequest request)
        Lists the names of all tables in an instance asynchronously.
        Parameters:
        request - a ListTablesRequest object.
        Returns:
        a ListenableFuture that returns a ListTablesResponse object.
      • deleteTable

        void deleteTable(com.google.bigtable.admin.v2.DeleteTableRequest request)
        Permanently deletes a specified table and all of its data.
        Parameters:
        request - a DeleteTableRequest object.
      • deleteTableAsync

        ListenableFuture<Empty> deleteTableAsync(com.google.bigtable.admin.v2.DeleteTableRequest request)
        Permanently deletes a specified table and all of its data.
        Parameters:
        request - a DeleteTableRequest object.
        Returns:
        a ListenableFuture that returns Empty object.
      • modifyColumnFamily

        com.google.bigtable.admin.v2.Table modifyColumnFamily(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request)
        Creates, modifies or deletes a new column family within a specified table.
        Parameters:
        request - a ModifyColumnFamiliesRequest object.
        Returns:
        return Table object that c