public class BigtableResourceManagerClientFactory
extends java.lang.Object
This class is intended to simplify mock injections of Bigtable clients during unit testing
Constructor and Description |
---|
BigtableResourceManagerClientFactory(com.google.cloud.bigtable.admin.v2.BigtableInstanceAdminSettings instanceSettings,
com.google.cloud.bigtable.admin.v2.BigtableTableAdminSettings tableSettings,
com.google.cloud.bigtable.data.v2.BigtableDataSettings dataSettings) |
Modifier and Type | Method and Description |
---|---|
com.google.cloud.bigtable.data.v2.BigtableDataClient |
bigtableDataClient()
Returns the Data client for reading and writing data to Bigtable tables.
|
com.google.cloud.bigtable.admin.v2.BigtableInstanceAdminClient |
bigtableInstanceAdminClient()
Returns the Instance admin client for managing Bigtable instances.
|
com.google.cloud.bigtable.admin.v2.BigtableTableAdminClient |
bigtableTableAdminClient()
Returns the Table admin client for managing Bigtable tables.
|
public BigtableResourceManagerClientFactory(com.google.cloud.bigtable.admin.v2.BigtableInstanceAdminSettings instanceSettings, com.google.cloud.bigtable.admin.v2.BigtableTableAdminSettings tableSettings, com.google.cloud.bigtable.data.v2.BigtableDataSettings dataSettings)
public com.google.cloud.bigtable.admin.v2.BigtableInstanceAdminClient bigtableInstanceAdminClient()
public com.google.cloud.bigtable.admin.v2.BigtableTableAdminClient bigtableTableAdminClient()
public com.google.cloud.bigtable.data.v2.BigtableDataClient bigtableDataClient()