@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) |
String |
getClusterId() |
Table |
getTable(TableName tableName,
ExecutorService ignored) |
abort, close, createAdapter, getBigtableApi, getBigtableSettings, getBufferedMutator, getBufferedMutator, getConfiguration, getDisabledTables, getRegionLocator, getTable, getTable, isAborted, isClosed, toStringpublic BigtableConnection(org.apache.hadoop.conf.Configuration conf)
throws IOException
conf - a Configuration object.IOException - if any.public Admin getAdmin() throws IOException
getAdmin in interface ConnectiongetAdmin in class AbstractBigtableConnectionIOExceptionpublic String getClusterId() throws IOException
IOExceptionprotected SampledRowKeysAdapter createSampledRowKeysAdapter(TableName tableName, ServerName serverName)
createSampledRowKeysAdapter in class AbstractBigtableConnectionpublic Table getTable(TableName tableName, ExecutorService ignored) throws IOException
IOExceptionpublic List<HRegionInfo> getAllRegionInfos(TableName tableName) throws IOException
IOException