@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[])| Constructor and Description |
|---|
RegionCoprocessorRpcChannel(HConnection conn,
TableName table,
byte[] row,
RpcRetryingCallerFactory rpcFactory,
RpcControllerFactory rpcControllerFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.protobuf.Message |
callExecService(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.Message request,
com.google.protobuf.Message responsePrototype) |
byte[] |
getLastRegion() |
callBlockingMethod, callMethodpublic RegionCoprocessorRpcChannel(HConnection conn, TableName table, byte[] row, RpcRetryingCallerFactory rpcFactory, RpcControllerFactory rpcControllerFactory)
protected com.google.protobuf.Message callExecService(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 © 2014 The Apache Software Foundation. All rights reserved.