org.apache.accumulo.core.tabletserver.thrift
Class TabletClientService.AsyncClient

java.lang.Object
  extended by org.apache.thrift.async.TAsyncClient
      extended by org.apache.accumulo.core.client.impl.thrift.ClientService.AsyncClient
          extended by 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
static class TabletClientService.AsyncClient.applyUpdates_call
           
static class TabletClientService.AsyncClient.bulkImport_call
           
static class TabletClientService.AsyncClient.chop_call
           
static class TabletClientService.AsyncClient.closeConditionalUpdate_call
           
static class TabletClientService.AsyncClient.closeMultiScan_call
           
static class TabletClientService.AsyncClient.closeScan_call
           
static class TabletClientService.AsyncClient.closeUpdate_call
           
static class TabletClientService.AsyncClient.compact_call
           
static class TabletClientService.AsyncClient.conditionalUpdate_call
           
static class TabletClientService.AsyncClient.continueMultiScan_call
           
static class TabletClientService.AsyncClient.continueScan_call
           
static class TabletClientService.AsyncClient.Factory
           
static class TabletClientService.AsyncClient.fastHalt_call
           
static class TabletClientService.AsyncClient.flush_call
           
static class TabletClientService.AsyncClient.flushTablet_call
           
static class TabletClientService.AsyncClient.getActiveCompactions_call
           
static class TabletClientService.AsyncClient.getActiveScans_call
           
static class TabletClientService.AsyncClient.getHistoricalStats_call
           
static class TabletClientService.AsyncClient.getTabletServerStatus_call
           
static class TabletClientService.AsyncClient.getTabletStats_call
           
static class TabletClientService.AsyncClient.halt_call
           
static class TabletClientService.AsyncClient.invalidateConditionalUpdate_call
           
static class TabletClientService.AsyncClient.loadTablet_call
           
static class TabletClientService.AsyncClient.removeLogs_call
           
static class TabletClientService.AsyncClient.splitTablet_call
           
static class TabletClientService.AsyncClient.startConditionalUpdate_call
           
static class TabletClientService.AsyncClient.startMultiScan_call
           
static class TabletClientService.AsyncClient.startScan_call
           
static class TabletClientService.AsyncClient.startUpdate_call
           
static class TabletClientService.AsyncClient.unloadTablet_call
           
static class TabletClientService.AsyncClient.update_call
           
 
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
 
Field Summary
 
Fields inherited from class org.apache.thrift.async.TAsyncClient
___currentMethod, ___manager, ___protocolFactory, ___transport
 
Constructor Summary
TabletClientService.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
           
 
Method Summary
 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 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, 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, 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, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void startUpdate(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void unloadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, boolean save, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void update(TInfo tinfo, TCredentials credentials, TKeyExtent keyExtent, TMutation mutation, 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
 

Constructor Detail

TabletClientService.AsyncClient

public TabletClientService.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
                                       org.apache.thrift.async.TAsyncClientManager clientManager,
                                       org.apache.thrift.transport.TNonblockingTransport transport)
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,
                      org.apache.thrift.async.AsyncMethodCallback resultHandler)
               throws org.apache.thrift.TException
Specified by:
startScan in interface TabletClientService.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 interface TabletClientService.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 interface TabletClientService.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,
                           org.apache.thrift.async.AsyncMethodCallback resultHandler)
                    throws org.apache.thrift.TException
Specified by:
startMultiScan in interface TabletClientService.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 interface TabletClientService.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 interface TabletClientService.AsyncIface
Throws:
org.apache.thrift.TException

startUpdate

public void startUpdate(TInfo tinfo,
                        TCredentials credentials,
                        org.apache.thrift.async.AsyncMethodCallback resultHandler)
                 throws org.apache.thrift.TException
Specified by:
startUpdate in interface TabletClientService.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 interface TabletClientService.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 interface TabletClientService.AsyncIface
Throws:
org.apache.thrift.TException

update

public void update(TInfo tinfo,
                   TCredentials credentials,
                   TKeyExtent keyExtent,
                   TMutation mutation,
                   org.apache.thrift.async.AsyncMethodCallback resultHandler)
            throws org.apache.thrift.TException
Specified by:
update in interface TabletClientService.AsyncIface
Throws:
org.apache.thrift.TException

startConditionalUpdate

public void startConditionalUpdate(TInfo tinfo,
                                   TCredentials credentials,
                                   List<ByteBuffer> authorizations,
                                   String tableID,
                                   org.apache.thrift.async.AsyncMethodCallback resultHandler)
                            throws org.apache.thrift.TException
Specified by:
startConditionalUpdate in interface TabletClientService.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 interface TabletClientService.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 interface TabletClientService.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 interface TabletClientService.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 interface TabletClientService.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 interface TabletClientService.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 interface TabletClientService.AsyncIface
Throws:
org.apache.thrift.TException

unloadTablet

public void unloadTablet(TInfo tinfo,
                         TCredentials credentials,
                         String lock,
                         TKeyExtent extent,
                         boolean save,
                         org.apache.thrift.async.AsyncMethodCallback resultHandler)
                  throws org.apache.thrift.TException
Specified by:
unloadTablet in interface TabletClientService.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 interface TabletClientService.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 interface TabletClientService.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 interface TabletClientService.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 interface TabletClientService.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 interface TabletClientService.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 interface TabletClientService.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 interface TabletClientService.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 interface TabletClientService.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 interface TabletClientService.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 interface TabletClientService.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 interface TabletClientService.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 interface TabletClientService.AsyncIface
Throws:
org.apache.thrift.TException


Copyright © 2015 Apache Accumulo Project. All rights reserved.