announcement Cloud Bigtable now supports replication, currently in beta! We're gradually rolling out replication enhancements to the GCP Console, and you'll see them by Wednesday, May 2.

BigtableConfiguration (Cloud Bigtable HBase Client for Java 1.3.0 API)

com.google.cloud.bigtable.hbase

Class BigtableConfiguration



  • public class BigtableConfiguration
    extends Object
    This class provides a simplified mechanism of creating a programmatic Bigtable Connection.
    Version:
    $Id: $Id
    Author:
    sduskis
    • Field Detail

      • BIGTABLE_HBASE_CLIENT_ASYNC_CONNECTION_CLASS

        public static final String BIGTABLE_HBASE_CLIENT_ASYNC_CONNECTION_CLASS
        See Also:
        Constant Field Values
      • BIGTABLE_HBASE_CLIENT_ASYNC_REGISTRY_CLASS

        public static final String BIGTABLE_HBASE_CLIENT_ASYNC_REGISTRY_CLASS
        See Also:
        Constant Field Values
    • Constructor Detail

      • BigtableConfiguration

        public BigtableConfiguration()
    • Method Detail

      • getConnectionClass

        public static Class<? extends Connection> getConnectionClass()
        Returns:
        the default bigtable Connection implementation class found in the classpath.
      • configure

        public static org.apache.hadoop.conf.Configuration configure(String projectId,
                                                                     String instanceId)

        Create and configure a new Configuration.

        Parameters:
        projectId - a String object.
        instanceId - a String object.
        Returns:
        a Configuration object.
      • configure

        public static org.apache.hadoop.conf.Configuration configure(org.apache.hadoop.conf.Configuration conf,
                                                                     String projectId,
                                                                     String instanceId)

        Configure and return an existing Configuration.

        Parameters:
        conf - a Configuration object to configure.
        projectId - a String object.
        instanceId - a String object.
        Returns:
        the modified Configuration object.
      • asyncConfigure

        public static org.apache.hadoop.conf.Configuration asyncConfigure(org.apache.hadoop.conf.Configuration conf)

        Configuration for getting a org.apache.hadoop.hbase.client.AsyncConnection.

        Parameters:
        conf - a Configuration object to configure.
        Returns:
        the modified Configuration object.
      • connect

        public static Connection connect(org.apache.hadoop.conf.Configuration conf)

        connect.

        Parameters:
        conf - a Configuration object.
        Returns:
        a Connection object.


Send feedback about...

Cloud Bigtable Documentation