Class TestMultiTableInputFormatBase.MRSplitsConnection
java.lang.Object
org.apache.hadoop.hbase.mapreduce.TestMultiTableInputFormatBase.MRSplitsConnection
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hadoop.hbase.Abortable,org.apache.hadoop.hbase.client.Connection
- Enclosing class:
- TestMultiTableInputFormatBase
public static class TestMultiTableInputFormatBase.MRSplitsConnection
extends Object
implements org.apache.hadoop.hbase.client.Connection
Connection to use above in Test.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.apache.hadoop.conf.Configuration(package private) static final AtomicInteger -
Constructor Summary
ConstructorsConstructorDescriptionMRSplitsConnection(org.apache.hadoop.conf.Configuration conf, ExecutorService pool, org.apache.hadoop.hbase.security.User user, org.apache.hadoop.hbase.client.ConnectionRegistry registry, Map<String, byte[]> connectionAttributes) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidclose()org.apache.hadoop.hbase.client.AdmingetAdmin()org.apache.hadoop.hbase.client.BufferedMutatorgetBufferedMutator(org.apache.hadoop.hbase.client.BufferedMutatorParams params) org.apache.hadoop.hbase.client.BufferedMutatorgetBufferedMutator(org.apache.hadoop.hbase.TableName tableName) org.apache.hadoop.conf.Configurationorg.apache.hadoop.hbase.client.RegionLocatorgetRegionLocator(org.apache.hadoop.hbase.TableName tableName) org.apache.hadoop.hbase.client.TablegetTable(org.apache.hadoop.hbase.TableName tableName) org.apache.hadoop.hbase.client.TableBuildergetTableBuilder(org.apache.hadoop.hbase.TableName tableName, ExecutorService pool) booleanbooleanisClosed()org.apache.hadoop.hbase.client.AsyncConnectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.Abortable
abortMethods inherited from interface org.apache.hadoop.hbase.client.Connection
getHbck, getHbck, getTable
-
Field Details
-
configuration
-
creations
-
-
Constructor Details
-
MRSplitsConnection
MRSplitsConnection(org.apache.hadoop.conf.Configuration conf, ExecutorService pool, org.apache.hadoop.hbase.security.User user, org.apache.hadoop.hbase.client.ConnectionRegistry registry, Map<String, byte[]> connectionAttributes) throws IOException- Throws:
IOException
-
-
Method Details
-
abort
- Specified by:
abortin interfaceorg.apache.hadoop.hbase.Abortable
-
isAborted
- Specified by:
isAbortedin interfaceorg.apache.hadoop.hbase.Abortable
-
getConfiguration
- Specified by:
getConfigurationin interfaceorg.apache.hadoop.hbase.client.Connection
-
getBufferedMutator
public org.apache.hadoop.hbase.client.BufferedMutator getBufferedMutator(org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
getBufferedMutatorin interfaceorg.apache.hadoop.hbase.client.Connection- Throws:
IOException
-
getBufferedMutator
public org.apache.hadoop.hbase.client.BufferedMutator getBufferedMutator(org.apache.hadoop.hbase.client.BufferedMutatorParams params) throws IOException - Specified by:
getBufferedMutatorin interfaceorg.apache.hadoop.hbase.client.Connection- Throws:
IOException
-
getRegionLocator
public org.apache.hadoop.hbase.client.RegionLocator getRegionLocator(org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
getRegionLocatorin interfaceorg.apache.hadoop.hbase.client.Connection- Throws:
IOException
-
getAdmin
- Specified by:
getAdminin interfaceorg.apache.hadoop.hbase.client.Connection- Throws:
IOException
-
getTable
public org.apache.hadoop.hbase.client.Table getTable(org.apache.hadoop.hbase.TableName tableName) throws IOException - Specified by:
getTablein interfaceorg.apache.hadoop.hbase.client.Connection- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.apache.hadoop.hbase.client.Connection- Throws:
IOException
-
isClosed
- Specified by:
isClosedin interfaceorg.apache.hadoop.hbase.client.Connection
-
getTableBuilder
public org.apache.hadoop.hbase.client.TableBuilder getTableBuilder(org.apache.hadoop.hbase.TableName tableName, ExecutorService pool) - Specified by:
getTableBuilderin interfaceorg.apache.hadoop.hbase.client.Connection
-
clearRegionLocationCache
- Specified by:
clearRegionLocationCachein interfaceorg.apache.hadoop.hbase.client.Connection
-
toAsyncConnection
- Specified by:
toAsyncConnectionin interfaceorg.apache.hadoop.hbase.client.Connection
-
getClusterId
- Specified by:
getClusterIdin interfaceorg.apache.hadoop.hbase.client.Connection
-