@InterfaceAudience.Private public class RegionCoprocessorRpcChannel extends CoprocessorRpcChannel
com.google.protobuf.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 com.google.protobuf.Service
stub to call the endpoint
methods.HTable.coprocessorService(byte[])
Constructor and Description |
---|
RegionCoprocessorRpcChannel(HConnection conn,
TableName table,
byte[] row) |
Modifier and Type | Method and Description |
---|---|
protected Message |
callExecService(Descriptors.MethodDescriptor method,
Message request,
Message responsePrototype) |
byte[] |
getLastRegion() |
callBlockingMethod, callMethod
public RegionCoprocessorRpcChannel(HConnection conn, TableName table, byte[] row)
protected Message callExecService(Descriptors.MethodDescriptor method, Message request, Message responsePrototype) throws IOException
callExecService
in class CoprocessorRpcChannel
IOException
public byte[] getLastRegion()