@InterfaceAudience.Private public class RegionCoprocessorRpcChannel extends CoprocessorRpcChannel
Service
s
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(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, callMethod
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 CoprocessorRpcChannel
IOException
public byte[] getLastRegion()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.