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.closeMultiScan_call
           
static class TabletClientService.AsyncClient.closeScan_call
           
static class TabletClientService.AsyncClient.closeUpdate_call
           
static class TabletClientService.AsyncClient.compact_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.loadTablet_call
           
static class TabletClientService.AsyncClient.removeLogs_call
           
static class TabletClientService.AsyncClient.splitTablet_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.checkTableClass_call, ClientService.AsyncClient.createLocalUser_call, ClientService.AsyncClient.dropLocalUser_call, ClientService.AsyncClient.getConfiguration_call, ClientService.AsyncClient.getInstanceId_call, ClientService.AsyncClient.getRootTabletLocation_call, ClientService.AsyncClient.getTableConfiguration_call, ClientService.AsyncClient.getUserAuthorizations_call, ClientService.AsyncClient.getZooKeepers_call, ClientService.AsyncClient.grantSystemPermission_call, ClientService.AsyncClient.grantTablePermission_call, ClientService.AsyncClient.hasSystemPermission_call, ClientService.AsyncClient.hasTablePermission_call, ClientService.AsyncClient.isActive_call, ClientService.AsyncClient.listLocalUsers_call, ClientService.AsyncClient.ping_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<TabletClientService.AsyncClient.applyUpdates_call> resultHandler)
           
 void bulkImport(TInfo tinfo, TCredentials credentials, long tid, Map<TKeyExtent,Map<String,MapFileInfo>> files, boolean setTime, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.bulkImport_call> resultHandler)
           
 void chop(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.chop_call> resultHandler)
           
 void closeMultiScan(TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.closeMultiScan_call> resultHandler)
           
 void closeScan(TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.closeScan_call> resultHandler)
           
 void closeUpdate(TInfo tinfo, long updateID, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.closeUpdate_call> resultHandler)
           
 void compact(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.compact_call> resultHandler)
           
 void continueMultiScan(TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.continueMultiScan_call> resultHandler)
           
 void continueScan(TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.continueScan_call> resultHandler)
           
 void fastHalt(TInfo tinfo, TCredentials credentials, String lock, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.fastHalt_call> resultHandler)
           
 void flush(TInfo tinfo, TCredentials credentials, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.flush_call> resultHandler)
           
 void flushTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.flushTablet_call> resultHandler)
           
 void getActiveCompactions(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.getActiveCompactions_call> resultHandler)
           
 void getActiveScans(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.getActiveScans_call> resultHandler)
           
 void getHistoricalStats(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.getHistoricalStats_call> resultHandler)
           
 void getTabletServerStatus(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.getTabletServerStatus_call> resultHandler)
           
 void getTabletStats(TInfo tinfo, TCredentials credentials, String tableId, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.getTabletStats_call> resultHandler)
           
 void halt(TInfo tinfo, TCredentials credentials, String lock, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.halt_call> resultHandler)
           
 void loadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.loadTablet_call> resultHandler)
           
 void removeLogs(TInfo tinfo, TCredentials credentials, List<String> filenames, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.removeLogs_call> resultHandler)
           
 void splitTablet(TInfo tinfo, TCredentials credentials, TKeyExtent extent, ByteBuffer splitPoint, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.splitTablet_call> 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<TabletClientService.AsyncClient.startMultiScan_call> 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, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.startScan_call> resultHandler)
           
 void startUpdate(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.startUpdate_call> resultHandler)
           
 void unloadTablet(TInfo tinfo, TCredentials credentials, String lock, TKeyExtent extent, boolean save, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.unloadTablet_call> resultHandler)
           
 void update(TInfo tinfo, TCredentials credentials, TKeyExtent keyExtent, TMutation mutation, org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.update_call> resultHandler)
           
 
Methods inherited from class org.apache.accumulo.core.client.impl.thrift.ClientService.AsyncClient
authenticate, authenticateUser, bulkImportFiles, changeAuthorizations, changeLocalUserPassword, checkClass, checkTableClass, createLocalUser, dropLocalUser, getConfiguration, getInstanceId, getRootTabletLocation, getTableConfiguration, getUserAuthorizations, getZooKeepers, grantSystemPermission, grantTablePermission, hasSystemPermission, hasTablePermission, isActive, listLocalUsers, ping, 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, checkTableClass, createLocalUser, dropLocalUser, getConfiguration, getInstanceId, getRootTabletLocation, getTableConfiguration, getUserAuthorizations, getZooKeepers, grantSystemPermission, grantTablePermission, hasSystemPermission, hasTablePermission, isActive, listLocalUsers, ping, 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,
                      org.apache.thrift.async.AsyncMethodCallback<TabletClientService.AsyncClient.startScan_call> 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<TabletClientService.AsyncClient.continueScan_call> 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<TabletClientService.AsyncClient.closeScan_call> 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<TabletClientService.AsyncClient.startMultiScan_call> 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<TabletClientService.AsyncClient.continueMultiScan_call> 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<TabletClientService.AsyncClient.closeMultiScan_call> 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<TabletClientService.AsyncClient.startUpdate_call> 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<TabletClientService.AsyncClient.applyUpdates_call> 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<TabletClientService.AsyncClient.closeUpdate_call> 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<TabletClientService.AsyncClient.update_call> resultHandler)
            throws org.apache.thrift.TException
Specified by:
update 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<TabletClientService.AsyncClient.bulkImport_call> 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<TabletClientService.AsyncClient.splitTablet_call> 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<TabletClientService.AsyncClient.loadTablet_call> 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<TabletClientService.AsyncClient.unloadTablet_call> 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<TabletClientService.AsyncClient.flush_call> 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<TabletClientService.AsyncClient.flushTablet_call> 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<TabletClientService.AsyncClient.chop_call> 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<TabletClientService.AsyncClient.compact_call> 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<TabletClientService.AsyncClient.getTabletServerStatus_call> 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<TabletClientService.AsyncClient.getTabletStats_call> 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<TabletClientService.AsyncClient.getHistoricalStats_call> 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<TabletClientService.AsyncClient.halt_call> 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<TabletClientService.AsyncClient.fastHalt_call> 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<TabletClientService.AsyncClient.getActiveScans_call> 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<TabletClientService.AsyncClient.getActiveCompactions_call> 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<TabletClientService.AsyncClient.removeLogs_call> resultHandler)
                throws org.apache.thrift.TException
Specified by:
removeLogs in interface TabletClientService.AsyncIface
Throws:
org.apache.thrift.TException


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.