TableAdapter (Cloud Bigtable HBase Client for Java 1.12.0 API)

com.google.cloud.bigtable.hbase.adapters.admin

Class TableAdapter



  • @InternalApi
    public class TableAdapter
    extends Object
    TableAdapter class.
    Version:
    $Id: $Id
    Author:
    sduskis
    • Method Detail

      • adapt

        protected static void adapt(HTableDescriptor desc,
                                    com.google.cloud.bigtable.admin.v2.models.CreateTableRequest request)
        adapt. This method adapts ColumnFamily to CreateTableRequest.
        Parameters:
        desc - a HTableDescriptor object.
        request - a CreateTableRequest
      • adapt

        public static com.google.cloud.bigtable.admin.v2.models.CreateTableRequest adapt(HTableDescriptor desc,
                                                                                         byte[][] splitKeys)
      • addSplitKeys

        public static void addSplitKeys(byte[][] splitKeys,
                                        com.google.cloud.bigtable.admin.v2.models.CreateTableRequest request)
      • adapt

        public HTableDescriptor adapt(com.google.cloud.bigtable.admin.v2.models.Table table)
        adapt.
        Parameters:
        table - a Table object.
        Returns:
        a HTableDescriptor object.