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.authenticateUser_call
           
static class ClientService.AsyncClient.bulkImportFiles_call
           
static class ClientService.AsyncClient.changeAuthorizations_call
           
static class ClientService.AsyncClient.changePassword_call
           
static class ClientService.AsyncClient.checkClass_call
           
static class ClientService.AsyncClient.createUser_call
           
static class ClientService.AsyncClient.dropUser_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.listUsers_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 authenticateUser(TInfo tinfo, AuthInfo credentials, String user, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.authenticateUser_call> resultHandler)
           
 void bulkImportFiles(TInfo tinfo, AuthInfo 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, AuthInfo credentials, String user, List<ByteBuffer> authorizations, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.changeAuthorizations_call> resultHandler)
           
 void changePassword(TInfo tinfo, AuthInfo credentials, String user, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.changePassword_call> resultHandler)
           
 void checkClass(TInfo tinfo, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.checkClass_call> resultHandler)
           
 void createUser(TInfo tinfo, AuthInfo credentials, String user, ByteBuffer password, List<ByteBuffer> authorizations, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.createUser_call> resultHandler)
           
 void dropUser(TInfo tinfo, AuthInfo credentials, String user, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.dropUser_call> resultHandler)
           
 void getConfiguration(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(String tableName, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getTableConfiguration_call> resultHandler)
           
 void getUserAuthorizations(TInfo tinfo, AuthInfo credentials, String user, 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, AuthInfo credentials, String user, byte permission, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.grantSystemPermission_call> resultHandler)
           
 void grantTablePermission(TInfo tinfo, AuthInfo credentials, String user, String tableName, byte permission, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.grantTablePermission_call> resultHandler)
           
 void hasSystemPermission(TInfo tinfo, AuthInfo credentials, String user, byte sysPerm, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.hasSystemPermission_call> resultHandler)
           
 void hasTablePermission(TInfo tinfo, AuthInfo credentials, String user, 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 listUsers(TInfo tinfo, AuthInfo credentials, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.listUsers_call> resultHandler)
           
 void ping(AuthInfo credentials, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.ping_call> resultHandler)
           
 void revokeSystemPermission(TInfo tinfo, AuthInfo credentials, String user, byte permission, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.revokeSystemPermission_call> resultHandler)
           
 void revokeTablePermission(TInfo tinfo, AuthInfo credentials, String user, 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,
                            AuthInfo 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(AuthInfo 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

authenticateUser

public void authenticateUser(TInfo tinfo,
                             AuthInfo credentials,
                             String user,
                             ByteBuffer password,
                             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

listUsers

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

createUser

public void createUser(TInfo tinfo,
                       AuthInfo credentials,
                       String user,
                       ByteBuffer password,
                       List<ByteBuffer> authorizations,
                       org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.createUser_call> resultHandler)
                throws org.apache.thrift.TException
Specified by:
createUser in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

dropUser

public void dropUser(TInfo tinfo,
                     AuthInfo credentials,
                     String user,
                     org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.dropUser_call> resultHandler)
              throws org.apache.thrift.TException
Specified by:
dropUser in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

changePassword

public void changePassword(TInfo tinfo,
                           AuthInfo credentials,
                           String user,
                           ByteBuffer password,
                           org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.changePassword_call> resultHandler)
                    throws org.apache.thrift.TException
Specified by:
changePassword in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

changeAuthorizations

public void changeAuthorizations(TInfo tinfo,
                                 AuthInfo credentials,
                                 String user,
                                 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,
                                  AuthInfo credentials,
                                  String user,
                                  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,
                                AuthInfo credentials,
                                String user,
                                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,
                               AuthInfo credentials,
                               String user,
                               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,
                                  AuthInfo credentials,
                                  String user,
                                  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,
                                   AuthInfo credentials,
                                   String user,
                                   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,
                                 AuthInfo credentials,
                                 String user,
                                 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,
                                  AuthInfo credentials,
                                  String user,
                                  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(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(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,
                       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


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.