org.apache.accumulo.core.client.impl.thrift
Class ClientService.AsyncClient

java.lang.Object
  extended by org.apache.thrift.async.TAsyncClient
      extended by org.apache.accumulo.core.client.impl.thrift.ClientService.AsyncClient
All Implemented Interfaces:
ClientService.AsyncIface
Direct Known Subclasses:
TabletClientService.AsyncClient
Enclosing class:
ClientService

public static class ClientService.AsyncClient
extends org.apache.thrift.async.TAsyncClient
implements ClientService.AsyncIface


Nested Class Summary
static class ClientService.AsyncClient.authenticate_call
           
static class ClientService.AsyncClient.authenticateUser_call
           
static class ClientService.AsyncClient.bulkImportFiles_call
           
static class ClientService.AsyncClient.changeAuthorizations_call
           
static class ClientService.AsyncClient.changeLocalUserPassword_call
           
static class ClientService.AsyncClient.checkClass_call
           
static class ClientService.AsyncClient.checkTableClass_call
           
static class ClientService.AsyncClient.createLocalUser_call
           
static class ClientService.AsyncClient.dropLocalUser_call
           
static class ClientService.AsyncClient.Factory
           
static class ClientService.AsyncClient.getConfiguration_call
           
static class ClientService.AsyncClient.getInstanceId_call
           
static class ClientService.AsyncClient.getRootTabletLocation_call
           
static class ClientService.AsyncClient.getTableConfiguration_call
           
static class ClientService.AsyncClient.getUserAuthorizations_call
           
static class ClientService.AsyncClient.getZooKeepers_call
           
static class ClientService.AsyncClient.grantSystemPermission_call
           
static class ClientService.AsyncClient.grantTablePermission_call
           
static class ClientService.AsyncClient.hasSystemPermission_call
           
static class ClientService.AsyncClient.hasTablePermission_call
           
static class ClientService.AsyncClient.isActive_call
           
static class ClientService.AsyncClient.listLocalUsers_call
           
static class ClientService.AsyncClient.ping_call
           
static class ClientService.AsyncClient.revokeSystemPermission_call
           
static class ClientService.AsyncClient.revokeTablePermission_call
           
 
Field Summary
 
Fields inherited from class org.apache.thrift.async.TAsyncClient
___currentMethod, ___manager, ___protocolFactory, ___transport
 
Constructor Summary
ClientService.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
           
 
Method Summary
 void authenticate(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.authenticate_call> resultHandler)
           
 void authenticateUser(TInfo tinfo, TCredentials credentials, TCredentials toAuth, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.authenticateUser_call> resultHandler)
           
 void bulkImportFiles(TInfo tinfo, TCredentials credentials, long tid, String tableId, List<String> files, String errorDir, boolean setTime, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.bulkImportFiles_call> resultHandler)
           
 void changeAuthorizations(TInfo tinfo, TCredentials credentials, String principal, List<ByteBuffer> authorizations, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.changeAuthorizations_call> resultHandler)
           
 void changeLocalUserPassword(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.changeLocalUserPassword_call> resultHandler)
           
 void checkClass(TInfo tinfo, TCredentials credentials, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.checkClass_call> resultHandler)
           
 void checkTableClass(TInfo tinfo, TCredentials credentials, String tableId, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.checkTableClass_call> resultHandler)
           
 void createLocalUser(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.createLocalUser_call> resultHandler)
           
 void dropLocalUser(TInfo tinfo, TCredentials credentials, String principal, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.dropLocalUser_call> resultHandler)
           
 void getConfiguration(TInfo tinfo, TCredentials credentials, ConfigurationType type, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getConfiguration_call> resultHandler)
           
 void getInstanceId(org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getInstanceId_call> resultHandler)
           
 void getRootTabletLocation(org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getRootTabletLocation_call> resultHandler)
           
 void getTableConfiguration(TInfo tinfo, TCredentials credentials, String tableName, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getTableConfiguration_call> resultHandler)
           
 void getUserAuthorizations(TInfo tinfo, TCredentials credentials, String principal, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getUserAuthorizations_call> resultHandler)
           
 void getZooKeepers(org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getZooKeepers_call> resultHandler)
           
 void grantSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte permission, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.grantSystemPermission_call> resultHandler)
           
 void grantTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte permission, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.grantTablePermission_call> resultHandler)
           
 void hasSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte sysPerm, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.hasSystemPermission_call> resultHandler)
           
 void hasTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte tblPerm, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.hasTablePermission_call> resultHandler)
           
 void isActive(TInfo tinfo, long tid, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.isActive_call> resultHandler)
           
 void listLocalUsers(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.listLocalUsers_call> resultHandler)
           
 void ping(TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.ping_call> resultHandler)
           
 void revokeSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte permission, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.revokeSystemPermission_call> resultHandler)
           
 void revokeTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte permission, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.revokeTablePermission_call> resultHandler)
           
 
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
 

Constructor Detail

ClientService.AsyncClient

public ClientService.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
                                 org.apache.thrift.async.TAsyncClientManager clientManager,
                                 org.apache.thrift.transport.TNonblockingTransport transport)
Method Detail

getRootTabletLocation

public void getRootTabletLocation(org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getRootTabletLocation_call> resultHandler)
                           throws org.apache.thrift.TException
Specified by:
getRootTabletLocation in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

getInstanceId

public void getInstanceId(org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getInstanceId_call> resultHandler)
                   throws org.apache.thrift.TException
Specified by:
getInstanceId in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

getZooKeepers

public void getZooKeepers(org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getZooKeepers_call> resultHandler)
                   throws org.apache.thrift.TException
Specified by:
getZooKeepers in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

bulkImportFiles

public void bulkImportFiles(TInfo tinfo,
                            TCredentials credentials,
                            long tid,
                            String tableId,
                            List<String> files,
                            String errorDir,
                            boolean setTime,
                            org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.bulkImportFiles_call> resultHandler)
                     throws org.apache.thrift.TException
Specified by:
bulkImportFiles in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

isActive

public void isActive(TInfo tinfo,
                     long tid,
                     org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.isActive_call> resultHandler)
              throws org.apache.thrift.TException
Specified by:
isActive in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

ping

public void ping(TCredentials credentials,
                 org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.ping_call> resultHandler)
          throws org.apache.thrift.TException
Specified by:
ping in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

listLocalUsers

public void listLocalUsers(TInfo tinfo,
                           TCredentials credentials,
                           org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.listLocalUsers_call> resultHandler)
                    throws org.apache.thrift.TException
Specified by:
listLocalUsers in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

createLocalUser

public void createLocalUser(TInfo tinfo,
                            TCredentials credentials,
                            String principal,
                            ByteBuffer password,
                            org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.createLocalUser_call> resultHandler)
                     throws org.apache.thrift.TException
Specified by:
createLocalUser in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

dropLocalUser

public void dropLocalUser(TInfo tinfo,
                          TCredentials credentials,
                          String principal,
                          org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.dropLocalUser_call> resultHandler)
                   throws org.apache.thrift.TException
Specified by:
dropLocalUser in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

changeLocalUserPassword

public void changeLocalUserPassword(TInfo tinfo,
                                    TCredentials credentials,
                                    String principal,
                                    ByteBuffer password,
                                    org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.changeLocalUserPassword_call> resultHandler)
                             throws org.apache.thrift.TException
Specified by:
changeLocalUserPassword in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

authenticate

public void authenticate(TInfo tinfo,
                         TCredentials credentials,
                         org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.authenticate_call> resultHandler)
                  throws org.apache.thrift.TException
Specified by:
authenticate in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

authenticateUser

public void authenticateUser(TInfo tinfo,
                             TCredentials credentials,
                             TCredentials toAuth,
                             org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.authenticateUser_call> resultHandler)
                      throws org.apache.thrift.TException
Specified by:
authenticateUser in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

changeAuthorizations

public void changeAuthorizations(TInfo tinfo,
                                 TCredentials credentials,
                                 String principal,
                                 List<ByteBuffer> authorizations,
                                 org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.changeAuthorizations_call> resultHandler)
                          throws org.apache.thrift.TException
Specified by:
changeAuthorizations in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

getUserAuthorizations

public void getUserAuthorizations(TInfo tinfo,
                                  TCredentials credentials,
                                  String principal,
                                  org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getUserAuthorizations_call> resultHandler)
                           throws org.apache.thrift.TException
Specified by:
getUserAuthorizations in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

hasSystemPermission

public void hasSystemPermission(TInfo tinfo,
                                TCredentials credentials,
                                String principal,
                                byte sysPerm,
                                org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.hasSystemPermission_call> resultHandler)
                         throws org.apache.thrift.TException
Specified by:
hasSystemPermission in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

hasTablePermission

public void hasTablePermission(TInfo tinfo,
                               TCredentials credentials,
                               String principal,
                               String tableName,
                               byte tblPerm,
                               org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.hasTablePermission_call> resultHandler)
                        throws org.apache.thrift.TException
Specified by:
hasTablePermission in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

grantSystemPermission

public void grantSystemPermission(TInfo tinfo,
                                  TCredentials credentials,
                                  String principal,
                                  byte permission,
                                  org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.grantSystemPermission_call> resultHandler)
                           throws org.apache.thrift.TException
Specified by:
grantSystemPermission in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

revokeSystemPermission

public void revokeSystemPermission(TInfo tinfo,
                                   TCredentials credentials,
                                   String principal,
                                   byte permission,
                                   org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.revokeSystemPermission_call> resultHandler)
                            throws org.apache.thrift.TException
Specified by:
revokeSystemPermission in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

grantTablePermission

public void grantTablePermission(TInfo tinfo,
                                 TCredentials credentials,
                                 String principal,
                                 String tableName,
                                 byte permission,
                                 org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.grantTablePermission_call> resultHandler)
                          throws org.apache.thrift.TException
Specified by:
grantTablePermission in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

revokeTablePermission

public void revokeTablePermission(TInfo tinfo,
                                  TCredentials credentials,
                                  String principal,
                                  String tableName,
                                  byte permission,
                                  org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.revokeTablePermission_call> resultHandler)
                           throws org.apache.thrift.TException
Specified by:
revokeTablePermission in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

getConfiguration

public void getConfiguration(TInfo tinfo,
                             TCredentials credentials,
                             ConfigurationType type,
                             org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getConfiguration_call> resultHandler)
                      throws org.apache.thrift.TException
Specified by:
getConfiguration in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

getTableConfiguration

public void getTableConfiguration(TInfo tinfo,
                                  TCredentials credentials,
                                  String tableName,
                                  org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getTableConfiguration_call> resultHandler)
                           throws org.apache.thrift.TException
Specified by:
getTableConfiguration in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

checkClass

public void checkClass(TInfo tinfo,
                       TCredentials credentials,
                       String className,
                       String interfaceMatch,
                       org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.checkClass_call> resultHandler)
                throws org.apache.thrift.TException
Specified by:
checkClass in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

checkTableClass

public void checkTableClass(TInfo tinfo,
                            TCredentials credentials,
                            String tableId,
                            String className,
                            String interfaceMatch,
                            org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.checkTableClass_call> resultHandler)
                     throws org.apache.thrift.TException
Specified by:
checkTableClass in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.