CloudBigtableConfiguration (Google Cloud Dataflow + Cloud Bigtable Connector 0.9.7.1 API)

com.google.cloud.bigtable.dataflow

Class CloudBigtableConfiguration

  • java.lang.Object
    • com.google.cloud.bigtable.dataflow.CloudBigtableConfiguration
    • Constructor Detail

      • CloudBigtableConfiguration

        @Deprecated
        public CloudBigtableConfiguration(String projectId,
                                                      String instanceId,
                                                      Map<String,String> additionalConfiguration)
        Deprecated. use the CloudBigtableConfiguration.Builder instead.
        Creates a CloudBigtableConfiguration using the specified project ID, zone, and cluster ID.
        Parameters:
        projectId - The project ID for the instance.
        instanceId - The instance ID.
        additionalConfiguration - A Map with additional connection configuration. See BigtableOptionsFactory.fromConfiguration(Configuration) for more information about configuration options.
      • CloudBigtableConfiguration

        @Deprecated
        public CloudBigtableConfiguration(String projectId,
                                                      String zoneId,
                                                      String clusterId,
                                                      Map<String,String> additionalConfiguration)
        Deprecated. use the CloudBigtableConfiguration.Builder instead.
        Creates a CloudBigtableConfiguration using the specified project ID, zone, and cluster ID.
        Parameters:
        projectId - The project ID for the cluster.
        zoneId - The zone where the cluster is located.
        clusterId - The cluster ID for the cluster.
        additionalConfiguration - A Map with additional connection configuration. See BigtableOptionsFactory.fromConfiguration(Configuration) for more information about configuration options.
    • Method Detail

      • getProjectId

        public String getProjectId()
        Gets the project ID for the Cloud Bigtable cluster.
        Returns:
        The project ID for the cluster.
      • getInstanceId

        public String getInstanceId()
        Gets the Cloud Bigtable instance id.
        Returns:
        The Cloud Bigtable instance id.
      • getZoneId

        public String getZoneId()
        Gets the zone where the Cloud Bigtable cluster is located.
        Returns:
        The zone where the cluster is located.
      • getClusterId

        public String getClusterId()
        Gets the cluster ID for the Cloud Bigtable cluster.
        Returns:
        The cluster ID for the cluster.
      • toBigtableOptions

        public com.google.bigtable.repackaged.com.google.cloud.config.BigtableOptions toBigtableOptions()
                                                                                                 throws IOException
        Converts the CloudBigtableConfiguration to a BigtableOptions object.
        Returns:
        The BigtableOptions object.
        Throws:
        IOException
      • toHBaseConfig

        public org.apache.hadoop.conf.Configuration toHBaseConfig()
        Converts the CloudBigtableConfiguration to an HBase Configuration.
        Returns:
        The Configuration.
      • getConfiguration

        protected com.google.common.collect.ImmutableMap<String,String> getConfiguration()
        Gets an immutable copy of the configuration map.
      • equals

        public boolean equals(Object obj)
        Compares this configuration with the specified object.
        Overrides:
        equals in class Object
        Parameters:
        obj - The object to compare this configuration against.
        Returns:
        true if the given object has the same configuration, false otherwise.


Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Cloud Bigtable Documentation