@InterfaceAudience.Private public class SharedConnection extends Object implements Connection
| 构造器和说明 |
|---|
SharedConnection(Connection conn) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
abort(String why,
Throwable e) |
void |
clearRegionLocationCache() |
void |
close() |
Admin |
getAdmin() |
BufferedMutator |
getBufferedMutator(BufferedMutatorParams params) |
BufferedMutator |
getBufferedMutator(TableName tableName) |
org.apache.hadoop.conf.Configuration |
getConfiguration() |
Hbck |
getHbck() |
Hbck |
getHbck(ServerName masterServer) |
RegionLocator |
getRegionLocator(TableName tableName) |
TableBuilder |
getTableBuilder(TableName tableName,
ExecutorService pool) |
boolean |
isAborted() |
boolean |
isClosed() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTable, getTablepublic SharedConnection(Connection conn)
public void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在接口中 ConnectionIOExceptionpublic boolean isClosed()
isClosed 在接口中 Connectionpublic org.apache.hadoop.conf.Configuration getConfiguration()
getConfiguration 在接口中 Connectionpublic BufferedMutator getBufferedMutator(TableName tableName) throws IOException
getBufferedMutator 在接口中 ConnectionIOExceptionpublic BufferedMutator getBufferedMutator(BufferedMutatorParams params) throws IOException
getBufferedMutator 在接口中 ConnectionIOExceptionpublic RegionLocator getRegionLocator(TableName tableName) throws IOException
getRegionLocator 在接口中 ConnectionIOExceptionpublic Admin getAdmin() throws IOException
getAdmin 在接口中 ConnectionIOExceptionpublic TableBuilder getTableBuilder(TableName tableName, ExecutorService pool)
getTableBuilder 在接口中 Connectionpublic void clearRegionLocationCache()
clearRegionLocationCache 在接口中 Connectionpublic Hbck getHbck() throws IOException
getHbck 在接口中 ConnectionIOExceptionpublic Hbck getHbck(ServerName masterServer) throws IOException
getHbck 在接口中 ConnectionIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.