Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.client.coprocessor |
Provides client classes for invoking Coprocessor RPC protocols
|
org.apache.hadoop.hbase.coprocessor |
Table of Contents
|
org.apache.hadoop.hbase.coprocessor.example | |
org.apache.hadoop.hbase.ipc |
Tools to help define network clients and servers.
|
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.rest.client | |
org.apache.hadoop.hbase.security.access | |
org.apache.hadoop.hbase.security.token |
Modifier and Type | Method and Description |
---|---|
<T extends CoprocessorProtocol,R> |
HTableInterface.coprocessorExec(Class<T> protocol,
byte[] startKey,
byte[] endKey,
Batch.Call<T,R> callable)
Invoke the passed
Batch.Call against
the CoprocessorProtocol instances running in the selected regions. |
<T extends CoprocessorProtocol,R> |
HTable.coprocessorExec(Class<T> protocol,
byte[] startKey,
byte[] endKey,
Batch.Call<T,R> callable)
Invoke the passed
Batch.Call against
the CoprocessorProtocol instances running in the selected regions. |
<T extends CoprocessorProtocol,R> |
HTableInterface.coprocessorExec(Class<T> protocol,
byte[] startKey,
byte[] endKey,
Batch.Call<T,R> callable,
Batch.Callback<R> callback)
Invoke the passed
Batch.Call against
the CoprocessorProtocol instances running in the selected regions. |
<T extends CoprocessorProtocol,R> |
HTable.coprocessorExec(Class<T> protocol,
byte[] startKey,
byte[] endKey,
Batch.Call<T,R> callable,
Batch.Callback<R> callback)
Invoke the passed
Batch.Call against
the CoprocessorProtocol instances running in the selected regions. |
<T extends CoprocessorProtocol> |
HBaseAdmin.coprocessorProxy(Class<T> protocol)
Creates and returns a proxy to the CoprocessorProtocol instance running in the
master.
|
<T extends CoprocessorProtocol> |
HTableInterface.coprocessorProxy(Class<T> protocol,
byte[] row)
Creates and returns a proxy to the CoprocessorProtocol instance running in the
region containing the specified row.
|
<T extends CoprocessorProtocol> |
HTable.coprocessorProxy(Class<T> protocol,
byte[] row)
Creates and returns a proxy to the CoprocessorProtocol instance running in the
region containing the specified row.
|
<T extends CoprocessorProtocol,R> |
HConnection.processExecs(Class<T> protocol,
List<byte[]> rows,
byte[] tableName,
ExecutorService pool,
Batch.Call<T,R> call,
Batch.Callback<R> callback)
Executes the given
Batch.Call
callable for each row in the given list and invokes
Batch.Callback.update(byte[], byte[], Object)
for each result returned. |
Modifier and Type | Method and Description |
---|---|
static <T extends CoprocessorProtocol,R> |
Batch.forMethod(Class<T> protocol,
String method,
Object... args)
Creates a new
Batch.Call instance that invokes a method
with the given parameters and returns the result. |
static <T extends CoprocessorProtocol,R> |
Batch.forMethod(Method method,
Object... args)
Creates a new
Batch.Call instance that invokes a method
with the given parameters and returns the result. |
Modifier and Type | Method and Description |
---|---|
Class<? extends CoprocessorProtocol> |
Exec.getProtocol() |
Constructor and Description |
---|
Exec(org.apache.hadoop.conf.Configuration configuration,
byte[] row,
Class<? extends CoprocessorProtocol> protocol,
Method method,
Object[] parameters) |
Exec(org.apache.hadoop.conf.Configuration configuration,
Class<? extends CoprocessorProtocol> protocol,
Method method,
Object[] parameters) |
Modifier and Type | Interface and Description |
---|---|
interface |
AggregateProtocol
Defines the aggregation functions that are to be supported in this
Coprocessor.
|
interface |
MultiRowMutationProtocol
Defines a protocol to perform multi row transactions.
|
Modifier and Type | Class and Description |
---|---|
class |
AggregateImplementation
A concrete AggregateProtocol implementation.
|
class |
BaseEndpointCoprocessor
This abstract class provides default implementation of an Endpoint.
|
class |
MultiRowMutationEndpoint
This class demonstrates how to implement atomic multi row transactions using
HRegion.mutateRowsWithLocks(java.util.Collection, java.util.Collection)
and Coprocessor endpoints. |
Modifier and Type | Interface and Description |
---|---|
interface |
BulkDeleteProtocol
Defines a protocol to delete data in bulk based on a scan.
|
Modifier and Type | Class and Description |
---|---|
class |
BulkDeleteEndpoint |
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 |
---|---|
<T extends CoprocessorProtocol> |
HMaster.registerProtocol(Class<T> protocol,
T handler) |
<T extends CoprocessorProtocol> |
MasterServices.registerProtocol(Class<T> protocol,
T handler)
Registers a new CoprocessorProtocol subclass and instance to
be available for handling
HMaster.execCoprocessor(org.apache.hadoop.hbase.client.coprocessor.Exec) calls. |
Modifier and Type | Method and Description |
---|---|
<T extends CoprocessorProtocol> |
HRegion.registerProtocol(Class<T> protocol,
T handler)
Registers a new CoprocessorProtocol subclass and instance to
be available for handling
HRegion.exec(Exec) calls. |
Modifier and Type | Method and Description |
---|---|
<T extends CoprocessorProtocol,R> |
RemoteHTable.coprocessorExec(Class<T> protocol,
byte[] startKey,
byte[] endKey,
Batch.Call<T,R> callable) |
<T extends CoprocessorProtocol,R> |
RemoteHTable.coprocessorExec(Class<T> protocol,
byte[] startKey,
byte[] endKey,
Batch.Call<T,R> callable,
Batch.Callback<R> callback) |
<T extends CoprocessorProtocol> |
RemoteHTable.coprocessorProxy(Class<T> protocol,
byte[] row) |
Modifier and Type | Interface and Description |
---|---|
interface |
AccessControllerProtocol
A custom protocol defined for maintaining and querying access control lists.
|
interface |
SecureBulkLoadProtocol
Provides a secure way to bulk load data onto HBase
These are internal API.
|
Modifier and Type | Class and Description |
---|---|
class |
AccessController
Provides basic authorization checks for data access and administrative
operations.
|
class |
SecureBulkLoadEndpoint
Coprocessor service for bulk loads in secure mode.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AuthenticationProtocol
Defines a custom RPC protocol for obtaining authentication tokens
|
Modifier and Type | Class and Description |
---|---|
class |
TokenProvider
Provides a service for obtaining authentication tokens via the
AuthenticationProtocol coprocessor protocol. |
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.