CloudBigtableConfiguration (Apache Beam + Cloud Bigtable Connector 1.0.0-pre3 API)

com.google.cloud.bigtable.beam

Class CloudBigtableConfiguration

    • Constructor Detail

      • CloudBigtableConfiguration

        protected CloudBigtableConfiguration(String projectId,
                                             String instanceId,
                                             Map<String,String> additionalConfiguration)
        Creates a CloudBigtableConfiguration using the specified project ID and instance 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.
    • Method Detail

      • getProjectId

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

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

        public com.google.bigtable.repackaged.com.google.cloud.bigtable.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 org.apache.beam.sdk.repackaged.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.
      • populateDisplayData

        public void populateDisplayData(org.apache.beam.sdk.transforms.display.DisplayData.Builder builder)


Monitor your resources on the go

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

Send feedback about...

Cloud Bigtable Documentation