public static class TabletClientService.AsyncClient extends ClientService.AsyncClient implements TabletClientService.AsyncIface
ClientService.AsyncClient.authenticate_call, ClientService.AsyncClient.authenticateUser_call, ClientService.AsyncClient.bulkImportFiles_call, ClientService.AsyncClient.changeAuthorizations_call, ClientService.AsyncClient.changeLocalUserPassword_call, ClientService.AsyncClient.checkClass_call, ClientService.AsyncClient.checkNamespaceClass_call, ClientService.AsyncClient.checkTableClass_call, ClientService.AsyncClient.createLocalUser_call, ClientService.AsyncClient.dropLocalUser_call, ClientService.AsyncClient.getConfiguration_call, ClientService.AsyncClient.getDiskUsage_call, ClientService.AsyncClient.getInstanceId_call, ClientService.AsyncClient.getNamespaceConfiguration_call, ClientService.AsyncClient.getRootTabletLocation_call, ClientService.AsyncClient.getTableConfiguration_call, ClientService.AsyncClient.getUserAuthorizations_call, ClientService.AsyncClient.getZooKeepers_call, ClientService.AsyncClient.grantNamespacePermission_call, ClientService.AsyncClient.grantSystemPermission_call, ClientService.AsyncClient.grantTablePermission_call, ClientService.AsyncClient.hasNamespacePermission_call, ClientService.AsyncClient.hasSystemPermission_call, ClientService.AsyncClient.hasTablePermission_call, ClientService.AsyncClient.isActive_call, ClientService.AsyncClient.listLocalUsers_call, ClientService.AsyncClient.ping_call, ClientService.AsyncClient.revokeNamespacePermission_call, ClientService.AsyncClient.revokeSystemPermission_call, ClientService.AsyncClient.revokeTablePermission_call
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 |
applyUpdates(TInfo tinfo,
long updateID,
TKeyExtent keyExtent,
List<TMutation> mutations,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
bulkImport(TInfo tinfo,
TCredentials credentials,
long tid,
Map<TKeyExtent,Map<String,MapFileInfo>> files,
boolean setTime,
org.apache.thrift.async.AsyncMethodCallback<List<TKeyExtent>> resultHandler) |
void |
chop(TInfo tinfo,
TCredentials credentials,
String lock,
TKeyExtent extent,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
closeConditionalUpdate(TInfo tinfo,
long sessID,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
closeMultiScan(TInfo tinfo,
long scanID,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
closeScan(TInfo tinfo,
long scanID,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
closeUpdate(TInfo tinfo,
long updateID,
org.apache.thrift.async.AsyncMethodCallback<UpdateErrors> resultHandler) |
void |
compact(TInfo tinfo,
TCredentials credentials,
String lock,
String tableId,
ByteBuffer startRow,
ByteBuffer endRow,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
conditionalUpdate(TInfo tinfo,
long sessID,
Map<TKeyExtent,List<TConditionalMutation>> mutations,
List<String> symbols,
org.apache.thrift.async.AsyncMethodCallback<List<TCMResult>> resultHandler) |
void |
continueMultiScan(TInfo tinfo,
long scanID,
org.apache.thrift.async.AsyncMethodCallback<MultiScanResult> resultHandler) |
void |
continueScan(TInfo tinfo,
long scanID,
org.apache.thrift.async.AsyncMethodCallback<ScanResult> resultHandler) |
void |
contiuneGetSummaries(TInfo tinfo,
long sessionId,
org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler) |
void |
fastHalt(TInfo tinfo,
TCredentials credentials,
String lock,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
flush(TInfo tinfo,
TCredentials credentials,
String lock,
String tableId,
ByteBuffer startRow,
ByteBuffer endRow,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
flushTablet(TInfo tinfo,
TCredentials credentials,
String lock,
TKeyExtent extent,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
getActiveCompactions(TInfo tinfo,
TCredentials credentials,
org.apache.thrift.async.AsyncMethodCallback<List<ActiveCompaction>> resultHandler) |
void |
getActiveLogs(TInfo tinfo,
TCredentials credentials,
org.apache.thrift.async.AsyncMethodCallback<List<String>> resultHandler) |
void |
getActiveScans(TInfo tinfo,
TCredentials credentials,
org.apache.thrift.async.AsyncMethodCallback<List<ActiveScan>> resultHandler) |
void |
getHistoricalStats(TInfo tinfo,
TCredentials credentials,
org.apache.thrift.async.AsyncMethodCallback<TabletStats> resultHandler) |
void |
getTabletServerStatus(TInfo tinfo,
TCredentials credentials,
org.apache.thrift.async.AsyncMethodCallback<TabletServerStatus> resultHandler) |
void |
getTabletStats(TInfo tinfo,
TCredentials credentials,
String tableId,
org.apache.thrift.async.AsyncMethodCallback<List<TabletStats>> resultHandler) |
void |
halt(TInfo tinfo,
TCredentials credentials,
String lock,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
invalidateConditionalUpdate(TInfo tinfo,
long sessID,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
loadFiles(TInfo tinfo,
TCredentials credentials,
long tid,
TKeyExtent keyExtent,
String dir,
Map<String,MapFileInfo> files,
boolean setTime,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
loadTablet(TInfo tinfo,
TCredentials credentials,
String lock,
TKeyExtent extent,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
removeLogs(TInfo tinfo,
TCredentials credentials,
List<String> filenames,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
splitTablet(TInfo tinfo,
TCredentials credentials,
TKeyExtent extent,
ByteBuffer splitPoint,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
startConditionalUpdate(TInfo tinfo,
TCredentials credentials,
List<ByteBuffer> authorizations,
String tableID,
TDurability durability,
String classLoaderContext,
org.apache.thrift.async.AsyncMethodCallback<TConditionalSession> resultHandler) |
void |
startGetSummaries(TInfo tinfo,
TCredentials credentials,
TSummaryRequest request,
org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler) |
void |
startGetSummariesForPartition(TInfo tinfo,
TCredentials credentials,
TSummaryRequest request,
int modulus,
int remainder,
org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler) |
void |
startGetSummariesFromFiles(TInfo tinfo,
TCredentials credentials,
TSummaryRequest request,
Map<String,List<TRowRange>> files,
org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler) |
void |
startMultiScan(TInfo tinfo,
TCredentials credentials,
Map<TKeyExtent,List<TRange>> batch,
List<TColumn> columns,
List<IterInfo> ssiList,
Map<String,Map<String,String>> ssio,
List<ByteBuffer> authorizations,
boolean waitForWrites,
TSamplerConfiguration samplerConfig,
long batchTimeOut,
String classLoaderContext,
Map<String,String> executionHints,
org.apache.thrift.async.AsyncMethodCallback<InitialMultiScan> resultHandler) |
void |
startScan(TInfo tinfo,
TCredentials credentials,
TKeyExtent extent,
TRange range,
List<TColumn> columns,
int batchSize,
List<IterInfo> ssiList,
Map<String,Map<String,String>> ssio,
List<ByteBuffer> authorizations,
boolean waitForWrites,
boolean isolated,
long readaheadThreshold,
TSamplerConfiguration samplerConfig,
long batchTimeOut,
String classLoaderContext,
Map<String,String> executionHints,
org.apache.thrift.async.AsyncMethodCallback<InitialScan> resultHandler) |
void |
startUpdate(TInfo tinfo,
TCredentials credentials,
TDurability durability,
org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) |
void |
unloadTablet(TInfo tinfo,
TCredentials credentials,
String lock,
TKeyExtent extent,
TUnloadTabletGoal goal,
long requestTime,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
update(TInfo tinfo,
TCredentials credentials,
TKeyExtent keyExtent,
TMutation mutation,
TDurability durability,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
authenticate, authenticateUser, bulkImportFiles, changeAuthorizations, changeLocalUserPassword, checkClass, checkNamespaceClass, checkTableClass, createLocalUser, dropLocalUser, getConfiguration, getDiskUsage, getInstanceId, getNamespaceConfiguration, getRootTabletLocation, getTableConfiguration, getUserAuthorizations, getZooKeepers, grantNamespacePermission, grantSystemPermission, grantTablePermission, hasNamespacePermission, hasSystemPermission, hasTablePermission, isActive, listLocalUsers, ping, revokeNamespacePermission, revokeSystemPermission, revokeTablePermission
checkReady, getError, getProtocolFactory, getTimeout, hasError, hasTimeout, onComplete, onError, setTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
authenticate, authenticateUser, bulkImportFiles, changeAuthorizations, changeLocalUserPassword, checkClass, checkNamespaceClass, checkTableClass, createLocalUser, dropLocalUser, getConfiguration, getDiskUsage, getInstanceId, getNamespaceConfiguration, getRootTabletLocation, getTableConfiguration, getUserAuthorizations, getZooKeepers, grantNamespacePermission, grantSystemPermission, grantTablePermission, hasNamespacePermission, hasSystemPermission, hasTablePermission, isActive, listLocalUsers, ping, revokeNamespacePermission, revokeSystemPermission, revokeTablePermission
public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
public void startScan(TInfo tinfo, TCredentials credentials, TKeyExtent extent, TRange range, List<TColumn> columns, int batchSize, List<IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, boolean isolated, long readaheadThreshold, TSamplerConfiguration samplerConfig, long batchTimeOut, String classLoaderContext, Map<String,String> executionHints, org.apache.thrift.async.AsyncMethodCallback<InitialScan> resultHandler) throws org.apache.thrift.TException
startScan
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void continueScan(TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback<ScanResult> resultHandler) throws org.apache.thrift.TException
continueScan
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void closeScan(TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
closeScan
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void startMultiScan(TInfo tinfo, TCredentials credentials, Map<TKeyExtent,List<TRange>> batch, List<TColumn> columns, List<IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, TSamplerConfiguration samplerConfig, long batchTimeOut, String classLoaderContext, Map<String,String> executionHints, org.apache.thrift.async.AsyncMethodCallback<InitialMultiScan> resultHandler) throws org.apache.thrift.TException
startMultiScan
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void continueMultiScan(TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback<MultiScanResult> resultHandler) throws org.apache.thrift.TException
continueMultiScan
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void closeMultiScan(TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
closeMultiScan
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void startUpdate(TInfo tinfo, TCredentials credentials, TDurability durability, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) throws org.apache.thrift.TException
startUpdate
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void applyUpdates(TInfo tinfo, long updateID, TKeyExtent keyExtent, List<TMutation> mutations, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
applyUpdates
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void closeUpdate(TInfo tinfo, long updateID, org.apache.thrift.async.AsyncMethodCallback<UpdateErrors> resultHandler) throws org.apache.thrift.TException
closeUpdate
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void update(TInfo tinfo, TCredentials credentials, TKeyExtent keyExtent, TMutation mutation, TDurability durability, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
update
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void startConditionalUpdate(TInfo tinfo, TCredentials credentials, List<ByteBuffer> authorizations, String tableID, TDurability durability, String classLoaderContext, org.apache.thrift.async.AsyncMethodCallback<TConditionalSession> resultHandler) throws org.apache.thrift.TException
startConditionalUpdate
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void conditionalUpdate(TInfo tinfo, long sessID, Map<TKeyExtent,List<TConditionalMutation>> mutations, List<String> symbols, org.apache.thrift.async.AsyncMethodCallback<List<TCMResult>> resultHandler) throws org.apache.thrift.TException
conditionalUpdate
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void invalidateConditionalUpdate(TInfo tinfo, long sessID, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
invalidateConditionalUpdate
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void closeConditionalUpdate(TInfo tinfo, long sessID, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
closeConditionalUpdate
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void bulkImport(TInfo tinfo, TCredentials credentials, long tid, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime, org.apache.thrift.async.AsyncMethodCallback<List<TKeyExtent>> resultHandler) throws org.apache.thrift.TException
bulkImport
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void loadFiles(TInfo tinfo, TCredentials credentials, long tid, TKeyExtent keyExtent, String dir, Map<String,MapFileInfo> files, boolean setTime, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
loadFiles
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void splitTablet(TInfo tinfo, TCredentials credentials, TKeyExtent extent, ByteBuffer splitPoint, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
splitTablet
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void loadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
loadTablet
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void unloadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, TUnloadTabletGoal goal, long requestTime, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
unloadTablet
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void flush(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
flush
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void flushTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
flushTablet
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void chop(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
chop
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void compact(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
compact
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void getTabletServerStatus(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TabletServerStatus> resultHandler) throws org.apache.thrift.TException
getTabletServerStatus
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void getTabletStats(TInfo tinfo, TCredentials credentials, String tableId, org.apache.thrift.async.AsyncMethodCallback<List<TabletStats>> resultHandler) throws org.apache.thrift.TException
getTabletStats
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void getHistoricalStats(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TabletStats> resultHandler) throws org.apache.thrift.TException
getHistoricalStats
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void halt(TInfo tinfo, TCredentials credentials, String lock, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
halt
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void fastHalt(TInfo tinfo, TCredentials credentials, String lock, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
fastHalt
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void getActiveScans(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<ActiveScan>> resultHandler) throws org.apache.thrift.TException
getActiveScans
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void getActiveCompactions(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<ActiveCompaction>> resultHandler) throws org.apache.thrift.TException
getActiveCompactions
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void removeLogs(TInfo tinfo, TCredentials credentials, List<String> filenames, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
removeLogs
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void getActiveLogs(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<String>> resultHandler) throws org.apache.thrift.TException
getActiveLogs
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void startGetSummaries(TInfo tinfo, TCredentials credentials, TSummaryRequest request, org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler) throws org.apache.thrift.TException
startGetSummaries
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void startGetSummariesForPartition(TInfo tinfo, TCredentials credentials, TSummaryRequest request, int modulus, int remainder, org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler) throws org.apache.thrift.TException
startGetSummariesForPartition
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void startGetSummariesFromFiles(TInfo tinfo, TCredentials credentials, TSummaryRequest request, Map<String,List<TRowRange>> files, org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler) throws org.apache.thrift.TException
startGetSummariesFromFiles
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
public void contiuneGetSummaries(TInfo tinfo, long sessionId, org.apache.thrift.async.AsyncMethodCallback<TSummaries> resultHandler) throws org.apache.thrift.TException
contiuneGetSummaries
in interface TabletClientService.AsyncIface
org.apache.thrift.TException
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.