Package | Description |
---|---|
org.apache.hadoop.hbase.catalog | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.ipc |
Tools to help define network clients and servers.
|
org.apache.hadoop.hbase.mapreduce |
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility
|
Modifier and Type | Method and Description |
---|---|
HConnection |
CatalogTracker.getConnection() |
Modifier and Type | Class and Description |
---|---|
class |
CoprocessorHConnection
Connection to an HTable from within a Coprocessor.
|
Modifier and Type | Field and Description |
---|---|
protected HConnection |
ServerCallable.connection |
Modifier and Type | Method and Description |
---|---|
static HConnection |
HConnectionManager.createConnection(org.apache.hadoop.conf.Configuration conf)
Create a new HConnection instance using the passed
conf
instance. |
static HConnection |
HConnectionManager.createConnection(org.apache.hadoop.conf.Configuration conf,
ExecutorService pool) |
protected HConnection |
ClientScanner.getConnection() |
HConnection |
HBaseAdmin.getConnection() |
HConnection |
HTable.getConnection()
Deprecated.
This method will be changed from public to package protected.
|
static HConnection |
HConnectionManager.getConnection(org.apache.hadoop.conf.Configuration conf)
Get the connection that goes with the passed
conf
configuration instance. |
static HConnection |
CoprocessorHConnection.getConnectionForEnvironment(CoprocessorEnvironment env)
Create an unmanaged
HConnection based on the environment in which we are running the
coprocessor. |
Modifier and Type | Method and Description |
---|---|
static NavigableMap<HRegionInfo,ServerName> |
MetaScanner.allTableRegions(org.apache.hadoop.conf.Configuration conf,
HConnection connection,
byte[] tablename,
boolean offlined)
Lists all of the table regions currently in META.
|
abstract T |
HConnectionManager.HConnectable.connect(HConnection connection) |
static void |
HConnectionManager.deleteStaleConnection(HConnection connection)
Delete stale connection information for the instance specified by configuration.
|
static void |
MetaScanner.metaScan(org.apache.hadoop.conf.Configuration configuration,
HConnection connection,
MetaScanner.MetaScannerVisitor visitor,
byte[] userTableName)
Scans the meta table and calls a visitor on each RowResult and uses a empty
start row value as table name.
|
static void |
MetaScanner.metaScan(org.apache.hadoop.conf.Configuration configuration,
HConnection connection,
MetaScanner.MetaScannerVisitor visitor,
byte[] tableName,
byte[] row,
int rowLimit,
byte[] metaTableName)
Scans the meta table and calls a visitor on each RowResult.
|
Constructor and Description |
---|
ClientScanner(org.apache.hadoop.conf.Configuration conf,
Scan scan,
byte[] tableName,
HConnection connection)
Create a new ClientScanner for the specified table
Note that the passed
Scan 's start row maybe changed changed. |
ClientSmallScanner(org.apache.hadoop.conf.Configuration conf,
Scan scan,
byte[] tableName,
HConnection connection)
Create a new ClientSmallScanner for the specified table.
|
HBaseAdmin(HConnection connection)
Constructor for externally managed HConnections.
|
HTable(byte[] tableName,
HConnection connection)
Creates an object to access a HBase table.
|
HTable(byte[] tableName,
HConnection connection,
ExecutorService pool)
Creates an object to access a HBase table.
|
ScannerCallable(HConnection connection,
byte[] tableName,
Scan scan,
ScanMetrics scanMetrics) |
ServerCallable(HConnection connection,
byte[] tableName,
byte[] row) |
ServerCallable(HConnection connection,
byte[] tableName,
byte[] row,
int callTimeout) |
Constructor and Description |
---|
ExecRPCInvoker(org.apache.hadoop.conf.Configuration conf,
HConnection connection,
Class<? extends CoprocessorProtocol> protocol,
byte[] table,
byte[] row) |
MasterExecRPCInvoker(org.apache.hadoop.conf.Configuration conf,
HConnection connection,
Class<? extends CoprocessorProtocol> protocol) |
Modifier and Type | Method and Description |
---|---|
protected void |
LoadIncrementalHFiles.bulkLoadPhase(HTable table,
HConnection conn,
ExecutorService pool,
Deque<org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.LoadQueueItem> queue,
com.google.common.collect.Multimap<ByteBuffer,org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.LoadQueueItem> regionGroups)
This takes the LQI's grouped by likely regions and attempts to bulk load
them.
|
protected List<org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.LoadQueueItem> |
LoadIncrementalHFiles.tryAtomicRegionLoad(HConnection conn,
byte[] tableName,
byte[] first,
Collection<org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.LoadQueueItem> lqis)
Attempts to do an atomic load of many hfiles into a region.
|
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.