Class BigtableConfig
java.lang.Object
org.apache.beam.sdk.io.gcp.bigtable.BigtableConfig
- All Implemented Interfaces:
Serializable
Configuration for a Cloud Bigtable client.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract @Nullable ValueProvider<String> Returns the app profile being read from.abstract @Nullable BigtableClientOverrideReturns the Bigtable client override.abstract @Nullable ValueProvider<String> Returns the instance id being written to.abstract @Nullable ValueProvider<String> Returns the project id being written to.final StringtoString()withBigtableOptions(BigtableOptions options) Deprecated.please set the options directly in BigtableIO.withBigtableOptionsConfigurator(SerializableFunction<BigtableOptions.Builder, BigtableOptions.Builder> configurator) Deprecated.please set the options directly in BigtableIO.withEmulator(String emulatorHost) withInstanceId(ValueProvider<String> instanceId) withProjectId(ValueProvider<String> projectId) withValidate(boolean isEnabled)
-
Constructor Details
-
BigtableConfig
public BigtableConfig()
-
-
Method Details
-
getProjectId
Returns the project id being written to. -
getInstanceId
Returns the instance id being written to. -
getAppProfileId
Returns the app profile being read from. -
getBigtableClientOverride
Returns the Bigtable client override. -
withProjectId
-
withInstanceId
-
withBigtableOptions
Deprecated.please set the options directly in BigtableIO. -
withBigtableOptionsConfigurator
@Deprecated public BigtableConfig withBigtableOptionsConfigurator(SerializableFunction<BigtableOptions.Builder, BigtableOptions.Builder> configurator) Deprecated.please set the options directly in BigtableIO. -
withValidate
-
withEmulator
-
toString
-