@InternalApi(value="For internal usage only") public class BigtableAsyncConnection extends Object implements AsyncConnection, CommonConnection, Closeable
AsyncConnection
For internal use only - public for technical reasons.
| Constructor and Description |
|---|
BigtableAsyncConnection(org.apache.hadoop.conf.Configuration conf) |
BigtableAsyncConnection(org.apache.hadoop.conf.Configuration conf,
Object ignoredAsyncRegistry,
String ignoredClusterId,
User ignoredUser) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAdmin, getAdmin, getBufferedMutator, getBufferedMutator, getTable, getTablepublic BigtableAsyncConnection(org.apache.hadoop.conf.Configuration conf)
throws IOException
IOExceptionpublic BigtableAsyncConnection(org.apache.hadoop.conf.Configuration conf,
Object ignoredAsyncRegistry,
String ignoredClusterId,
User ignoredUser)
throws IOException
IOExceptionpublic HBaseRequestAdapter createAdapter(TableName tableName)
public BigtableApi getBigtableApi()
getBigtableApi in interface CommonConnectionpublic BigtableHBaseSettings getBigtableSettings()
getBigtableSettings in interface CommonConnectionpublic Set<TableName> getDisabledTables()
getDisabledTables in interface CommonConnectionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic org.apache.hadoop.conf.Configuration getConfiguration()
getConfiguration in interface AsyncConnectiongetConfiguration in interface CommonConnectionpublic AsyncAdminBuilder getAdminBuilder()
getAdminBuilder in interface AsyncConnectionpublic AsyncAdminBuilder getAdminBuilder(ExecutorService arg0)
getAdminBuilder in interface AsyncConnectionpublic AsyncBufferedMutatorBuilder getBufferedMutatorBuilder(TableName tableName)
getBufferedMutatorBuilder in interface AsyncConnectionpublic AsyncBufferedMutatorBuilder getBufferedMutatorBuilder(TableName tableName, ExecutorService es)
getBufferedMutatorBuilder in interface AsyncConnectionpublic boolean isClosed()
isClosed in interface AsyncConnectionpublic AsyncTableBuilder<AdvancedScanResultConsumer> getTableBuilder(TableName tableName)
getTableBuilder in interface AsyncConnectionpublic AsyncTableRegionLocator getRegionLocator(TableName tableName)
getRegionLocator in interface AsyncConnectionpublic void clearRegionLocationCache()
clearRegionLocationCache in interface AsyncConnectionpublic AsyncTableBuilder<ScanResultConsumer> getTableBuilder(TableName tableName, ExecutorService ignored)
getTableBuilder in interface AsyncConnectionpublic List<HRegionInfo> getAllRegionInfos(TableName tableName) throws IOException
getAllRegionInfos in interface CommonConnectionIOExceptionpublic Hbck getHbck(ServerName serverName)
getHbck in interface AsyncConnectionpublic CompletableFuture<Hbck> getHbck()
getHbck in interface AsyncConnection