@InternalApi(value="For internal usage only") public class BigtableConnection extends AbstractBigtableConnection
AbstractBigtableConnection
.
For internal use only - public for technical reasons.
locatorCache
Constructor and Description |
---|
BigtableConnection(org.apache.hadoop.conf.Configuration conf)
Constructor for BigtableConnection.
|
Modifier and Type | Method and Description |
---|---|
protected SampledRowKeysAdapter |
createSampledRowKeysAdapter(TableName tableName,
ServerName serverName) |
Admin |
getAdmin() |
List<HRegionInfo> |
getAllRegionInfos(TableName tableName) |
Table |
getTable(TableName tableName,
ExecutorService ignored) |
abort, close, createAdapter, getBufferedMutator, getBufferedMutator, getConfiguration, getDisabledTables, getOptions, getRegionLocator, getSession, getTable, getTable, isAborted, isClosed, toString
public BigtableConnection(org.apache.hadoop.conf.Configuration conf) throws IOException
conf
- a Configuration
object.IOException
- if any.public Admin getAdmin() throws IOException
getAdmin
in interface Connection
getAdmin
in class AbstractBigtableConnection
IOException
protected SampledRowKeysAdapter createSampledRowKeysAdapter(TableName tableName, ServerName serverName)
createSampledRowKeysAdapter
in class AbstractBigtableConnection
public Table getTable(TableName tableName, ExecutorService ignored) throws IOException
IOException
public List<HRegionInfo> getAllRegionInfos(TableName tableName) throws IOException
IOException