AutoCloseable
, Closeable
AbstractBigtableConnection
public interface CommonConnection extends Closeable
AbstractBigtableConnection
and HBase 2's BigtableAsyncConnection.Modifier and Type | Method | 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 . |
com.google.cloud.bigtable.config.BigtableOptions |
getOptions() |
Getter for the field
options . |
com.google.cloud.bigtable.grpc.BigtableSession |
getSession() |
Get a
BigtableSession on which operations can be performed. |
com.google.cloud.bigtable.grpc.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.com.google.cloud.bigtable.config.BigtableOptions getOptions()
Getter for the field options
.
BigtableOptions
object.Set<org.apache.hadoop.hbase.TableName> getDisabledTables()
Getter for the field 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