T
- @InterfaceAudience.Private public abstract class ClientServiceCallable<T> extends RegionServerCallable<T,ClientProtos.ClientService.BlockingInterface>
location, rpcController, stub
Constructor and Description |
---|
ClientServiceCallable(Connection connection,
TableName tableName,
byte[] row,
org.apache.hbase.thirdparty.com.google.protobuf.RpcController rpcController,
int priority) |
Modifier and Type | Method and Description |
---|---|
protected ClientProtos.GetResponse |
doGet(ClientProtos.GetRequest request) |
protected ClientProtos.MutateResponse |
doMutate(ClientProtos.MutateRequest request) |
protected void |
setStubByServiceName(ServerName serviceName)
Set the RCP client stub
|
call, getConnection, getExceptionMessageAdditionalDetail, getHRegionInfo, getLocation, getPriority, getRow, getRpcController, getRpcControllerCellScanner, getStub, getTableName, prepare, rpcCall, setLocation, setRpcControllerCellScanner, setStub, sleep, throwable
public ClientServiceCallable(Connection connection, TableName tableName, byte[] row, org.apache.hbase.thirdparty.com.google.protobuf.RpcController rpcController, int priority)
protected void setStubByServiceName(ServerName serviceName) throws IOException
RegionServerCallable
setStubByServiceName
in class RegionServerCallable<T,ClientProtos.ClientService.BlockingInterface>
serviceName
- to get the rpc stub forIOException
- When client could not be createdprotected ClientProtos.GetResponse doGet(ClientProtos.GetRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
protected ClientProtos.MutateResponse doMutate(ClientProtos.MutateRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
Copyright © 2007–2019 Cloudera. All rights reserved.