@InterfaceAudience.Private public class RegionCoprocessorRpcChannel extends CoprocessorRpcChannel
Services
against a given table region. An instance of this class may be obtained
by calling HTable.coprocessorService(byte[]),
but should normally only be used in creating a new Service stub to call the endpoint
methods.HTable.coprocessorService(byte[])| Modifier and Type | Field and Description |
|---|---|
private ClusterConnection |
connection |
private byte[] |
lastRegion |
private static org.apache.commons.logging.Log |
LOG |
private int |
operationTimeout |
private byte[] |
row |
private RpcRetryingCallerFactory |
rpcCallerFactory |
private RpcControllerFactory |
rpcControllerFactory |
private TableName |
table |
| Constructor and Description |
|---|
RegionCoprocessorRpcChannel(ClusterConnection conn,
TableName table,
byte[] row) |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.protobuf.Message |
callExecService(com.google.protobuf.RpcController controller,
com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.Message request,
com.google.protobuf.Message responsePrototype) |
byte[] |
getLastRegion() |
callBlockingMethod, callMethodprivate static final org.apache.commons.logging.Log LOG
private final ClusterConnection connection
private final TableName table
private final byte[] row
private byte[] lastRegion
private int operationTimeout
private RpcRetryingCallerFactory rpcCallerFactory
private RpcControllerFactory rpcControllerFactory
public RegionCoprocessorRpcChannel(ClusterConnection conn, TableName table, byte[] row)
protected com.google.protobuf.Message callExecService(com.google.protobuf.RpcController controller,
com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.Message request,
com.google.protobuf.Message responsePrototype)
throws IOException
callExecService in class CoprocessorRpcChannelIOExceptionpublic byte[] getLastRegion()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.