public class CloudBigtableConfiguration extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
CloudBigtableConfiguration.Builder
Builds a
CloudBigtableConfiguration. |
| Modifier and Type | Field and Description |
|---|---|
static String |
VALUE_UNAVAILABLE |
| Modifier | Constructor and Description |
|---|---|
protected |
CloudBigtableConfiguration(ValueProvider<String> projectId,
ValueProvider<String> instanceId,
Map<String,ValueProvider<String>> additionalConfiguration)
Creates a
CloudBigtableConfiguration using the specified project ID and instance ID. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
areParametersAccessible()
Checks if the parameters are accessible.
|
protected static void |
checkNotNullOrEmpty(String value,
String name) |
void |
copyConfig(CloudBigtableConfiguration.Builder builder) |
boolean |
equals(Object obj)
Compares this configuration with the specified object.
|
String |
getAppProfileId()
Get the Cloud Bigtable App Profile id.
|
protected com.google.bigtable.repackaged.com.google.common.collect.ImmutableMap<String,ValueProvider<String>> |
getConfiguration()
Gets an immutable copy of the configuration map.
|
protected static <T> String |
getDisplayValue(ValueProvider<T> parameter) |
String |
getInstanceId()
Gets the Cloud Bigtable instance id.
|
String |
getProjectId()
Gets the project ID for the Cloud Bigtable instance.
|
void |
populateDisplayData(DisplayData.Builder builder) |
CloudBigtableConfiguration.Builder |
toBuilder()
Creates a new
CloudBigtableConfiguration.Builder object containing the existing configuration. |
org.apache.hadoop.conf.Configuration |
toHBaseConfig()
Converts the
CloudBigtableConfiguration to an HBase Configuration. |
void |
validate() |
public static final String VALUE_UNAVAILABLE
protected CloudBigtableConfiguration(ValueProvider<String> projectId, ValueProvider<String> instanceId, Map<String,ValueProvider<String>> additionalConfiguration)
CloudBigtableConfiguration using the specified project ID and instance ID.projectId - The project ID for the instance.instanceId - The instance ID.additionalConfiguration - A Map with additional connection configuration. See
BigtableOptionsFactory for more information about configuration options.public String getProjectId()
public String getInstanceId()
public String getAppProfileId()
public org.apache.hadoop.conf.Configuration toHBaseConfig()
CloudBigtableConfiguration to an HBase Configuration.Configuration.public CloudBigtableConfiguration.Builder toBuilder()
CloudBigtableConfiguration.Builder object containing the existing configuration.CloudBigtableConfiguration.Builder.protected com.google.bigtable.repackaged.com.google.common.collect.ImmutableMap<String,ValueProvider<String>> getConfiguration()
public boolean equals(Object obj)
public void copyConfig(CloudBigtableConfiguration.Builder builder)
protected boolean areParametersAccessible()
protected static <T> String getDisplayValue(ValueProvider<T> parameter)
T - parameter The runtime parameter.public void populateDisplayData(DisplayData.Builder builder)
public void validate()