@InternalApi(value="For internal usage only") public interface CommonConnection extends Closeable
AbstractBigtableConnection
and HBase 2's BigtableAsyncConnection.
For internal use only - public for technical reasons.
Modifier and Type | Method and Description |
---|---|
List<org.apache.hadoop.hbase.HRegionInfo> |
getAllRegionInfos(org.apache.hadoop.hbase.TableName tableName)
Retrieve a region information on a table.
|
BigtableApi |
getBigtableApi()
Returns
BigtableApi object to access bigtable data and admin client APIs. |
BigtableHBaseSettings |
getBigtableSettings()
Returns instance of bigtable settings for classic or veneer client.
|
org.apache.hadoop.conf.Configuration |
getConfiguration()
Returns the
Configuration object used by this instance. |
Set<org.apache.hadoop.hbase.TableName> |
getDisabledTables()
Getter for the field
disabledTables . |
BigtableApi getBigtableApi()
BigtableApi
object to access bigtable data and admin client APIs.org.apache.hadoop.conf.Configuration getConfiguration()
Configuration
object used by this instance. The reference returned is not a
copy, so any change made to it will affect this instance.Configuration
object.BigtableHBaseSettings getBigtableSettings()
BigtableHBaseSettings
instance.Set<org.apache.hadoop.hbase.TableName> getDisabledTables()
disabledTables
.Set
object that are disabled.List<org.apache.hadoop.hbase.HRegionInfo> getAllRegionInfos(org.apache.hadoop.hbase.TableName tableName) throws IOException
tableName
- Name of the table for which to return region info.List
HRegionInfo objectIOException
- if any.