T
- @InterfaceAudience.Private public abstract class ClientServiceCallable<T> extends RegionServerCallable<T,org.apache.hadoop.hbase.shaded.protobuf.generated.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 org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.GetResponse |
doGet(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.GetRequest request) |
protected org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutateResponse |
doMutate(org.apache.hadoop.hbase.shaded.protobuf.generated.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,org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.BlockingInterface>
serviceName
- to get the rpc stub forIOException
- When client could not be createdprotected org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.GetResponse doGet(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.GetRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
protected org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutateResponse doMutate(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutateRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.