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.checkNamespaceClass_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.getDiskUsage_call
           
static class ClientService.AsyncClient.getInstanceId_call
           
static class ClientService.AsyncClient.getNamespaceConfiguration_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.grantNamespacePermission_call
           
static class ClientService.AsyncClient.grantSystemPermission_call
           
static class ClientService.AsyncClient.grantTablePermission_call
           
static class ClientService.AsyncClient.hasNamespacePermission_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.revokeNamespacePermission_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 resultHandler)
           
 void authenticateUser(TInfo tinfo, TCredentials credentials, TCredentials toAuth, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void bulkImportFiles(TInfo tinfo, TCredentials credentials, long tid, String tableId, List<String> files, String errorDir, boolean setTime, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void changeAuthorizations(TInfo tinfo, TCredentials credentials, String principal, List<ByteBuffer> authorizations, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void changeLocalUserPassword(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void checkClass(TInfo tinfo, TCredentials credentials, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void checkNamespaceClass(TInfo tinfo, TCredentials credentials, String namespaceId, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void checkTableClass(TInfo tinfo, TCredentials credentials, String tableId, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void createLocalUser(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void dropLocalUser(TInfo tinfo, TCredentials credentials, String principal, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void getConfiguration(TInfo tinfo, TCredentials credentials, ConfigurationType type, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void getDiskUsage(Set<String> tables, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void getInstanceId(org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void getNamespaceConfiguration(TInfo tinfo, TCredentials credentials, String ns, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void getRootTabletLocation(org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void getTableConfiguration(TInfo tinfo, TCredentials credentials, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void getUserAuthorizations(TInfo tinfo, TCredentials credentials, String principal, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void getZooKeepers(org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void grantNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte permission, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void grantSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte permission, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void grantTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte permission, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void hasNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte tblNspcPerm, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void hasSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte sysPerm, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void hasTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte tblPerm, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void isActive(TInfo tinfo, long tid, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void listLocalUsers(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void ping(TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void revokeNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte permission, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void revokeSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte permission, org.apache.thrift.async.AsyncMethodCallback resultHandler)
           
 void revokeTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte permission, org.apache.thrift.async.AsyncMethodCallback 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 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 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 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 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 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 resultHandler)
          throws org.apache.thrift.TException
Specified by:
ping in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

getDiskUsage

public void getDiskUsage(Set<String> tables,
                         TCredentials credentials,
                         org.apache.thrift.async.AsyncMethodCallback resultHandler)
                  throws org.apache.thrift.TException
Specified by:
getDiskUsage in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

listLocalUsers

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

hasNamespacePermission

public void hasNamespacePermission(TInfo tinfo,
                                   TCredentials credentials,
                                   String principal,
                                   String ns,
                                   byte tblNspcPerm,
                                   org.apache.thrift.async.AsyncMethodCallback resultHandler)
                            throws org.apache.thrift.TException
Specified by:
hasNamespacePermission 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 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 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 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 resultHandler)
                           throws org.apache.thrift.TException
Specified by:
revokeTablePermission in interface ClientService.AsyncIface
Throws:
org.apache.thrift.TException

grantNamespacePermission

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

revokeNamespacePermission

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

getConfiguration

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

getNamespaceConfiguration

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

checkNamespaceClass

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


Copyright © 2015 Apache Accumulo Project. All rights reserved.