@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.
|
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 . |
BigtableOptions |
getOptions()
Getter for the field
options . |
BigtableSession |
getSession()
Get a
BigtableSession on which operations can be performed. |
BigtableSession getSession()
BigtableSession
on which operations can be performed.BigtableSession
object.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.BigtableOptions getOptions()
options
.BigtableOptions
object.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.