BigtableConfiguration (Cloud Bigtable HBase Client for Java 0.9.7.1 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
    • 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.
      • 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