Class TabletClientService.AsyncClient
- java.lang.Object
-
- org.apache.thrift.async.TAsyncClient
-
- org.apache.accumulo.core.client.impl.thrift.ClientService.AsyncClient
-
- org.apache.accumulo.core.tabletserver.thrift.TabletClientService.AsyncClient
-
- All Implemented Interfaces:
ClientService.AsyncIface
,TabletClientService.AsyncIface
- Enclosing class:
- TabletClientService
public static class TabletClientService.AsyncClient extends ClientService.AsyncClient implements TabletClientService.AsyncIface
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.accumulo.core.client.impl.thrift.ClientService.AsyncClient
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 Summary
Constructors Constructor Description AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyUpdates(TInfo tinfo, long updateID, TKeyExtent keyExtent, List<TMutation> mutations, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
bulkImport(TInfo tinfo, TCredentials credentials, long tid, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
chop(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
closeConditionalUpdate(TInfo tinfo, long sessID, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
closeMultiScan(TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
closeScan(TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
closeUpdate(TInfo tinfo, long updateID, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
compact(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
conditionalUpdate(TInfo tinfo, long sessID, Map<TKeyExtent,List<TConditionalMutation>> mutations, List<String> symbols, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
continueMultiScan(TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
continueScan(TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
fastHalt(TInfo tinfo, TCredentials credentials, String lock, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
flush(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
flushTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
getActiveCompactions(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
getActiveLogs(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
getActiveScans(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
getHistoricalStats(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
getTabletServerStatus(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
getTabletStats(TInfo tinfo, TCredentials credentials, String tableId, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
halt(TInfo tinfo, TCredentials credentials, String lock, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
invalidateConditionalUpdate(TInfo tinfo, long sessID, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
loadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
removeLogs(TInfo tinfo, TCredentials credentials, List<String> filenames, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
splitTablet(TInfo tinfo, TCredentials credentials, TKeyExtent extent, ByteBuffer splitPoint, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
startConditionalUpdate(TInfo tinfo, TCredentials credentials, List<ByteBuffer> authorizations, String tableID, TDurability durability, String classLoaderContext, org.apache.thrift.async.AsyncMethodCallback 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, org.apache.thrift.async.AsyncMethodCallback 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, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
startUpdate(TInfo tinfo, TCredentials credentials, TDurability durability, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
unloadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, TUnloadTabletGoal goal, long requestTime, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
update(TInfo tinfo, TCredentials credentials, TKeyExtent keyExtent, TMutation mutation, TDurability durability, org.apache.thrift.async.AsyncMethodCallback resultHandler)
-
Methods inherited from class org.apache.accumulo.core.client.impl.thrift.ClientService.AsyncClient
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
-
Methods inherited from class org.apache.thrift.async.TAsyncClient
checkReady, getError, getProtocolFactory, getTimeout, hasError, hasTimeout, onComplete, onError, setTimeout
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.accumulo.core.client.impl.thrift.ClientService.AsyncIface
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
-
-
-
-
Method Detail
-
startScan
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, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
startScan
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
continueScan
public void continueScan(TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
continueScan
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
closeScan
public void closeScan(TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
closeScan
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
startMultiScan
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, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
startMultiScan
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
continueMultiScan
public void continueMultiScan(TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
continueMultiScan
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
closeMultiScan
public void closeMultiScan(TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
closeMultiScan
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
startUpdate
public void startUpdate(TInfo tinfo, TCredentials credentials, TDurability durability, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
startUpdate
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
applyUpdates
public void applyUpdates(TInfo tinfo, long updateID, TKeyExtent keyExtent, List<TMutation> mutations, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
applyUpdates
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
closeUpdate
public void closeUpdate(TInfo tinfo, long updateID, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
closeUpdate
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
update
public void update(TInfo tinfo, TCredentials credentials, TKeyExtent keyExtent, TMutation mutation, TDurability durability, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
update
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
startConditionalUpdate
public void startConditionalUpdate(TInfo tinfo, TCredentials credentials, List<ByteBuffer> authorizations, String tableID, TDurability durability, String classLoaderContext, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
startConditionalUpdate
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
conditionalUpdate
public void conditionalUpdate(TInfo tinfo, long sessID, Map<TKeyExtent,List<TConditionalMutation>> mutations, List<String> symbols, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
conditionalUpdate
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
invalidateConditionalUpdate
public void invalidateConditionalUpdate(TInfo tinfo, long sessID, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
invalidateConditionalUpdate
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
closeConditionalUpdate
public void closeConditionalUpdate(TInfo tinfo, long sessID, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
closeConditionalUpdate
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
bulkImport
public void bulkImport(TInfo tinfo, TCredentials credentials, long tid, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
bulkImport
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
splitTablet
public void splitTablet(TInfo tinfo, TCredentials credentials, TKeyExtent extent, ByteBuffer splitPoint, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
splitTablet
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
loadTablet
public void loadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
loadTablet
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
unloadTablet
public void unloadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, TUnloadTabletGoal goal, long requestTime, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
unloadTablet
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
flush
public void flush(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
flush
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
flushTablet
public void flushTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
flushTablet
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
chop
public void chop(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
chop
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
compact
public void compact(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
compact
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
getTabletServerStatus
public void getTabletServerStatus(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
getTabletServerStatus
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
getTabletStats
public void getTabletStats(TInfo tinfo, TCredentials credentials, String tableId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
getTabletStats
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
getHistoricalStats
public void getHistoricalStats(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
getHistoricalStats
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
halt
public void halt(TInfo tinfo, TCredentials credentials, String lock, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
halt
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
fastHalt
public void fastHalt(TInfo tinfo, TCredentials credentials, String lock, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
fastHalt
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
getActiveScans
public void getActiveScans(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
getActiveScans
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
getActiveCompactions
public void getActiveCompactions(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
getActiveCompactions
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
removeLogs
public void removeLogs(TInfo tinfo, TCredentials credentials, List<String> filenames, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
removeLogs
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
getActiveLogs
public void getActiveLogs(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
getActiveLogs
in interfaceTabletClientService.AsyncIface
- Throws:
org.apache.thrift.TException
-
-