public static class THBaseService.AsyncClient extends org.apache.thrift.async.TAsyncClient implements THBaseService.AsyncIface
Constructor and Description |
---|
AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport) |
Modifier and Type | Method and Description |
---|---|
void |
append(ByteBuffer table,
TAppend tappend,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
checkAndDelete(ByteBuffer table,
ByteBuffer row,
ByteBuffer family,
ByteBuffer qualifier,
ByteBuffer value,
TDelete tdelete,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
checkAndMutate(ByteBuffer table,
ByteBuffer row,
ByteBuffer family,
ByteBuffer qualifier,
TCompareOp compareOp,
ByteBuffer value,
TRowMutations rowMutations,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
checkAndPut(ByteBuffer table,
ByteBuffer row,
ByteBuffer family,
ByteBuffer qualifier,
ByteBuffer value,
TPut tput,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
closeScanner(int scannerId,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
deleteMultiple(ByteBuffer table,
List<TDelete> tdeletes,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
deleteSingle(ByteBuffer table,
TDelete tdelete,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
exists(ByteBuffer table,
TGet tget,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
existsAll(ByteBuffer table,
List<TGet> tgets,
org.apache.thrift.async.AsyncMethodCallback<THBaseService.AsyncClient.existsAll_call> resultHandler) |
void |
get(ByteBuffer table,
TGet tget,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getAllRegionLocations(ByteBuffer table,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getMultiple(ByteBuffer table,
List<TGet> tgets,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getRegionLocation(ByteBuffer table,
ByteBuffer row,
boolean reload,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getScannerResults(ByteBuffer table,
TScan tscan,
int numRows,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getScannerRows(int scannerId,
int numRows,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
increment(ByteBuffer table,
TIncrement tincrement,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
mutateRow(ByteBuffer table,
TRowMutations trowMutations,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
openScanner(ByteBuffer table,
TScan tscan,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
put(ByteBuffer table,
TPut tput,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
putMultiple(ByteBuffer table,
List<TPut> tputs,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
public void exists(ByteBuffer table, TGet tget, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
exists
in interface THBaseService.AsyncIface
org.apache.thrift.TException
public void existsAll(ByteBuffer table, List<TGet> tgets, org.apache.thrift.async.AsyncMethodCallback<THBaseService.AsyncClient.existsAll_call> resultHandler) throws org.apache.thrift.TException
existsAll
in interface THBaseService.AsyncIface
org.apache.thrift.TException
public void get(ByteBuffer table, TGet tget, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
get
in interface THBaseService.AsyncIface
org.apache.thrift.TException
public void getMultiple(ByteBuffer table, List<TGet> tgets, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getMultiple
in interface THBaseService.AsyncIface
org.apache.thrift.TException
public void put(ByteBuffer table, TPut tput, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
put
in interface THBaseService.AsyncIface
org.apache.thrift.TException
public void checkAndPut(ByteBuffer table, ByteBuffer row, ByteBuffer family, ByteBuffer qualifier, ByteBuffer value, TPut tput, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
checkAndPut
in interface THBaseService.AsyncIface
org.apache.thrift.TException
public void putMultiple(ByteBuffer table, List<TPut> tputs, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
putMultiple
in interface THBaseService.AsyncIface
org.apache.thrift.TException
public void deleteSingle(ByteBuffer table, TDelete tdelete, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
deleteSingle
in interface THBaseService.AsyncIface
org.apache.thrift.TException
public void deleteMultiple(ByteBuffer table, List<TDelete> tdeletes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
deleteMultiple
in interface THBaseService.AsyncIface
org.apache.thrift.TException
public void checkAndDelete(ByteBuffer table, ByteBuffer row, ByteBuffer family, ByteBuffer qualifier, ByteBuffer value, TDelete tdelete, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
checkAndDelete
in interface THBaseService.AsyncIface
org.apache.thrift.TException
public void increment(ByteBuffer table, TIncrement tincrement, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
increment
in interface THBaseService.AsyncIface
org.apache.thrift.TException
public void append(ByteBuffer table, TAppend tappend, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
append
in interface THBaseService.AsyncIface
org.apache.thrift.TException
public void openScanner(ByteBuffer table, TScan tscan, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
openScanner
in interface THBaseService.AsyncIface
org.apache.thrift.TException
public void getScannerRows(int scannerId, int numRows, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getScannerRows
in interface THBaseService.AsyncIface
org.apache.thrift.TException
public void closeScanner(int scannerId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
closeScanner
in interface THBaseService.AsyncIface
org.apache.thrift.TException
public void mutateRow(ByteBuffer table, TRowMutations trowMutations, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
mutateRow
in interface THBaseService.AsyncIface
org.apache.thrift.TException
public void getScannerResults(ByteBuffer table, TScan tscan, int numRows, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getScannerResults
in interface THBaseService.AsyncIface
org.apache.thrift.TException
public void getRegionLocation(ByteBuffer table, ByteBuffer row, boolean reload, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getRegionLocation
in interface THBaseService.AsyncIface
org.apache.thrift.TException
public void getAllRegionLocations(ByteBuffer table, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getAllRegionLocations
in interface THBaseService.AsyncIface
org.apache.thrift.TException
public void checkAndMutate(ByteBuffer table, ByteBuffer row, ByteBuffer family, ByteBuffer qualifier, TCompareOp compareOp, ByteBuffer value, TRowMutations rowMutations, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
checkAndMutate
in interface THBaseService.AsyncIface
org.apache.thrift.TException
Copyright © 2007–2019 Cloudera. All rights reserved.