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

java.lang.Object
  extended by org.apache.accumulo.core.client.impl.thrift.ClientService.Client
All Implemented Interfaces:
ClientService.Iface, org.apache.thrift.TServiceClient
Direct Known Subclasses:
TabletClientService.Client
Enclosing class:
ClientService

public static class ClientService.Client
extends Object
implements org.apache.thrift.TServiceClient, ClientService.Iface


Nested Class Summary
static class ClientService.Client.Factory
           
 
Field Summary
protected  org.apache.thrift.protocol.TProtocol iprot_
           
protected  org.apache.thrift.protocol.TProtocol oprot_
           
protected  int seqid_
           
 
Constructor Summary
ClientService.Client(org.apache.thrift.protocol.TProtocol prot)
           
ClientService.Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
           
 
Method Summary
 boolean authenticateUser(TInfo tinfo, AuthInfo credentials, String user, ByteBuffer password)
           
 List<String> bulkImportFiles(TInfo tinfo, AuthInfo credentials, long tid, String tableId, List<String> files, String errorDir, boolean setTime)
           
 void changeAuthorizations(TInfo tinfo, AuthInfo credentials, String user, List<ByteBuffer> authorizations)
           
 void changePassword(TInfo tinfo, AuthInfo credentials, String user, ByteBuffer password)
           
 boolean checkClass(TInfo tinfo, String className, String interfaceMatch)
           
 void createUser(TInfo tinfo, AuthInfo credentials, String user, ByteBuffer password, List<ByteBuffer> authorizations)
           
 void dropUser(TInfo tinfo, AuthInfo credentials, String user)
           
 Map<String,String> getConfiguration(ConfigurationType type)
           
 org.apache.thrift.protocol.TProtocol getInputProtocol()
           
 String getInstanceId()
           
 org.apache.thrift.protocol.TProtocol getOutputProtocol()
           
 String getRootTabletLocation()
           
 Map<String,String> getTableConfiguration(String tableName)
           
 List<ByteBuffer> getUserAuthorizations(TInfo tinfo, AuthInfo credentials, String user)
           
 String getZooKeepers()
           
 void grantSystemPermission(TInfo tinfo, AuthInfo credentials, String user, byte permission)
           
 void grantTablePermission(TInfo tinfo, AuthInfo credentials, String user, String tableName, byte permission)
           
 boolean hasSystemPermission(TInfo tinfo, AuthInfo credentials, String user, byte sysPerm)
           
 boolean hasTablePermission(TInfo tinfo, AuthInfo credentials, String user, String tableName, byte tblPerm)
           
 boolean isActive(TInfo tinfo, long tid)
           
 Set<String> listUsers(TInfo tinfo, AuthInfo credentials)
           
 void ping(AuthInfo credentials)
           
 boolean recv_authenticateUser()
           
 List<String> recv_bulkImportFiles()
           
 void recv_changeAuthorizations()
           
 void recv_changePassword()
           
 boolean recv_checkClass()
           
 void recv_createUser()
           
 void recv_dropUser()
           
 Map<String,String> recv_getConfiguration()
           
 String recv_getInstanceId()
           
 String recv_getRootTabletLocation()
           
 Map<String,String> recv_getTableConfiguration()
           
 List<ByteBuffer> recv_getUserAuthorizations()
           
 String recv_getZooKeepers()
           
 void recv_grantSystemPermission()
           
 void recv_grantTablePermission()
           
 boolean recv_hasSystemPermission()
           
 boolean recv_hasTablePermission()
           
 boolean recv_isActive()
           
 Set<String> recv_listUsers()
           
 void recv_ping()
           
 void recv_revokeSystemPermission()
           
 void recv_revokeTablePermission()
           
 void revokeSystemPermission(TInfo tinfo, AuthInfo credentials, String user, byte permission)
           
 void revokeTablePermission(TInfo tinfo, AuthInfo credentials, String user, String tableName, byte permission)
           
 void send_authenticateUser(TInfo tinfo, AuthInfo credentials, String user, ByteBuffer password)
           
 void send_bulkImportFiles(TInfo tinfo, AuthInfo credentials, long tid, String tableId, List<String> files, String errorDir, boolean setTime)
           
 void send_changeAuthorizations(TInfo tinfo, AuthInfo credentials, String user, List<ByteBuffer> authorizations)
           
 void send_changePassword(TInfo tinfo, AuthInfo credentials, String user, ByteBuffer password)
           
 void send_checkClass(TInfo tinfo, String className, String interfaceMatch)
           
 void send_createUser(TInfo tinfo, AuthInfo credentials, String user, ByteBuffer password, List<ByteBuffer> authorizations)
           
 void send_dropUser(TInfo tinfo, AuthInfo credentials, String user)
           
 void send_getConfiguration(ConfigurationType type)
           
 void send_getInstanceId()
           
 void send_getRootTabletLocation()
           
 void send_getTableConfiguration(String tableName)
           
 void send_getUserAuthorizations(TInfo tinfo, AuthInfo credentials, String user)
           
 void send_getZooKeepers()
           
 void send_grantSystemPermission(TInfo tinfo, AuthInfo credentials, String user, byte permission)
           
 void send_grantTablePermission(TInfo tinfo, AuthInfo credentials, String user, String tableName, byte permission)
           
 void send_hasSystemPermission(TInfo tinfo, AuthInfo credentials, String user, byte sysPerm)
           
 void send_hasTablePermission(TInfo tinfo, AuthInfo credentials, String user, String tableName, byte tblPerm)
           
 void send_isActive(TInfo tinfo, long tid)
           
 void send_listUsers(TInfo tinfo, AuthInfo credentials)
           
 void send_ping(AuthInfo credentials)
           
 void send_revokeSystemPermission(TInfo tinfo, AuthInfo credentials, String user, byte permission)
           
 void send_revokeTablePermission(TInfo tinfo, AuthInfo credentials, String user, String tableName, byte permission)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iprot_

protected org.apache.thrift.protocol.TProtocol iprot_

oprot_

protected org.apache.thrift.protocol.TProtocol oprot_

seqid_

protected int seqid_
Constructor Detail

ClientService.Client

public ClientService.Client(org.apache.thrift.protocol.TProtocol prot)

ClientService.Client

public ClientService.Client(org.apache.thrift.protocol.TProtocol iprot,
                            org.apache.thrift.protocol.TProtocol oprot)
Method Detail

getInputProtocol

public org.apache.thrift.protocol.TProtocol getInputProtocol()
Specified by:
getInputProtocol in interface org.apache.thrift.TServiceClient

getOutputProtocol

public org.apache.thrift.protocol.TProtocol getOutputProtocol()
Specified by:
getOutputProtocol in interface org.apache.thrift.TServiceClient

getRootTabletLocation

public String getRootTabletLocation()
                             throws org.apache.thrift.TException
Specified by:
getRootTabletLocation in interface ClientService.Iface
Throws:
org.apache.thrift.TException

send_getRootTabletLocation

public void send_getRootTabletLocation()
                                throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_getRootTabletLocation

public String recv_getRootTabletLocation()
                                  throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

getInstanceId

public String getInstanceId()
                     throws org.apache.thrift.TException
Specified by:
getInstanceId in interface ClientService.Iface
Throws:
org.apache.thrift.TException

send_getInstanceId

public void send_getInstanceId()
                        throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_getInstanceId

public String recv_getInstanceId()
                          throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

getZooKeepers

public String getZooKeepers()
                     throws org.apache.thrift.TException
Specified by:
getZooKeepers in interface ClientService.Iface
Throws:
org.apache.thrift.TException

send_getZooKeepers

public void send_getZooKeepers()
                        throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_getZooKeepers

public String recv_getZooKeepers()
                          throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

bulkImportFiles

public List<String> bulkImportFiles(TInfo tinfo,
                                    AuthInfo credentials,
                                    long tid,
                                    String tableId,
                                    List<String> files,
                                    String errorDir,
                                    boolean setTime)
                             throws ThriftSecurityException,
                                    ThriftTableOperationException,
                                    org.apache.thrift.TException
Specified by:
bulkImportFiles in interface ClientService.Iface
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

send_bulkImportFiles

public void send_bulkImportFiles(TInfo tinfo,
                                 AuthInfo credentials,
                                 long tid,
                                 String tableId,
                                 List<String> files,
                                 String errorDir,
                                 boolean setTime)
                          throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_bulkImportFiles

public List<String> recv_bulkImportFiles()
                                  throws ThriftSecurityException,
                                         ThriftTableOperationException,
                                         org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

isActive

public boolean isActive(TInfo tinfo,
                        long tid)
                 throws org.apache.thrift.TException
Specified by:
isActive in interface ClientService.Iface
Throws:
org.apache.thrift.TException

send_isActive

public void send_isActive(TInfo tinfo,
                          long tid)
                   throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_isActive

public boolean recv_isActive()
                      throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

ping

public void ping(AuthInfo credentials)
          throws ThriftSecurityException,
                 org.apache.thrift.TException
Specified by:
ping in interface ClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_ping

public void send_ping(AuthInfo credentials)
               throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_ping

public void recv_ping()
               throws ThriftSecurityException,
                      org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

authenticateUser

public boolean authenticateUser(TInfo tinfo,
                                AuthInfo credentials,
                                String user,
                                ByteBuffer password)
                         throws ThriftSecurityException,
                                org.apache.thrift.TException
Specified by:
authenticateUser in interface ClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_authenticateUser

public void send_authenticateUser(TInfo tinfo,
                                  AuthInfo credentials,
                                  String user,
                                  ByteBuffer password)
                           throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_authenticateUser

public boolean recv_authenticateUser()
                              throws ThriftSecurityException,
                                     org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

listUsers

public Set<String> listUsers(TInfo tinfo,
                             AuthInfo credentials)
                      throws ThriftSecurityException,
                             org.apache.thrift.TException
Specified by:
listUsers in interface ClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_listUsers

public void send_listUsers(TInfo tinfo,
                           AuthInfo credentials)
                    throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_listUsers

public Set<String> recv_listUsers()
                           throws ThriftSecurityException,
                                  org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

createUser

public void createUser(TInfo tinfo,
                       AuthInfo credentials,
                       String user,
                       ByteBuffer password,
                       List<ByteBuffer> authorizations)
                throws ThriftSecurityException,
                       org.apache.thrift.TException
Specified by:
createUser in interface ClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_createUser

public void send_createUser(TInfo tinfo,
                            AuthInfo credentials,
                            String user,
                            ByteBuffer password,
                            List<ByteBuffer> authorizations)
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_createUser

public void recv_createUser()
                     throws ThriftSecurityException,
                            org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

dropUser

public void dropUser(TInfo tinfo,
                     AuthInfo credentials,
                     String user)
              throws ThriftSecurityException,
                     org.apache.thrift.TException
Specified by:
dropUser in interface ClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_dropUser

public void send_dropUser(TInfo tinfo,
                          AuthInfo credentials,
                          String user)
                   throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_dropUser

public void recv_dropUser()
                   throws ThriftSecurityException,
                          org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

changePassword

public void changePassword(TInfo tinfo,
                           AuthInfo credentials,
                           String user,
                           ByteBuffer password)
                    throws ThriftSecurityException,
                           org.apache.thrift.TException
Specified by:
changePassword in interface ClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_changePassword

public void send_changePassword(TInfo tinfo,
                                AuthInfo credentials,
                                String user,
                                ByteBuffer password)
                         throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_changePassword

public void recv_changePassword()
                         throws ThriftSecurityException,
                                org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

changeAuthorizations

public void changeAuthorizations(TInfo tinfo,
                                 AuthInfo credentials,
                                 String user,
                                 List<ByteBuffer> authorizations)
                          throws ThriftSecurityException,
                                 org.apache.thrift.TException
Specified by:
changeAuthorizations in interface ClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_changeAuthorizations

public void send_changeAuthorizations(TInfo tinfo,
                                      AuthInfo credentials,
                                      String user,
                                      List<ByteBuffer> authorizations)
                               throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_changeAuthorizations

public void recv_changeAuthorizations()
                               throws ThriftSecurityException,
                                      org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

getUserAuthorizations

public List<ByteBuffer> getUserAuthorizations(TInfo tinfo,
                                              AuthInfo credentials,
                                              String user)
                                       throws ThriftSecurityException,
                                              org.apache.thrift.TException
Specified by:
getUserAuthorizations in interface ClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_getUserAuthorizations

public void send_getUserAuthorizations(TInfo tinfo,
                                       AuthInfo credentials,
                                       String user)
                                throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_getUserAuthorizations

public List<ByteBuffer> recv_getUserAuthorizations()
                                            throws ThriftSecurityException,
                                                   org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

hasSystemPermission

public boolean hasSystemPermission(TInfo tinfo,
                                   AuthInfo credentials,
                                   String user,
                                   byte sysPerm)
                            throws ThriftSecurityException,
                                   org.apache.thrift.TException
Specified by:
hasSystemPermission in interface ClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_hasSystemPermission

public void send_hasSystemPermission(TInfo tinfo,
                                     AuthInfo credentials,
                                     String user,
                                     byte sysPerm)
                              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_hasSystemPermission

public boolean recv_hasSystemPermission()
                                 throws ThriftSecurityException,
                                        org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

hasTablePermission

public boolean hasTablePermission(TInfo tinfo,
                                  AuthInfo credentials,
                                  String user,
                                  String tableName,
                                  byte tblPerm)
                           throws ThriftSecurityException,
                                  ThriftTableOperationException,
                                  org.apache.thrift.TException
Specified by:
hasTablePermission in interface ClientService.Iface
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

send_hasTablePermission

public void send_hasTablePermission(TInfo tinfo,
                                    AuthInfo credentials,
                                    String user,
                                    String tableName,
                                    byte tblPerm)
                             throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_hasTablePermission

public boolean recv_hasTablePermission()
                                throws ThriftSecurityException,
                                       ThriftTableOperationException,
                                       org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

grantSystemPermission

public void grantSystemPermission(TInfo tinfo,
                                  AuthInfo credentials,
                                  String user,
                                  byte permission)
                           throws ThriftSecurityException,
                                  org.apache.thrift.TException
Specified by:
grantSystemPermission in interface ClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_grantSystemPermission

public void send_grantSystemPermission(TInfo tinfo,
                                       AuthInfo credentials,
                                       String user,
                                       byte permission)
                                throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_grantSystemPermission

public void recv_grantSystemPermission()
                                throws ThriftSecurityException,
                                       org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

revokeSystemPermission

public void revokeSystemPermission(TInfo tinfo,
                                   AuthInfo credentials,
                                   String user,
                                   byte permission)
                            throws ThriftSecurityException,
                                   org.apache.thrift.TException
Specified by:
revokeSystemPermission in interface ClientService.Iface
Throws:
ThriftSecurityException
org.apache.thrift.TException

send_revokeSystemPermission

public void send_revokeSystemPermission(TInfo tinfo,
                                        AuthInfo credentials,
                                        String user,
                                        byte permission)
                                 throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_revokeSystemPermission

public void recv_revokeSystemPermission()
                                 throws ThriftSecurityException,
                                        org.apache.thrift.TException
Throws:
ThriftSecurityException
org.apache.thrift.TException

grantTablePermission

public void grantTablePermission(TInfo tinfo,
                                 AuthInfo credentials,
                                 String user,
                                 String tableName,
                                 byte permission)
                          throws ThriftSecurityException,
                                 ThriftTableOperationException,
                                 org.apache.thrift.TException
Specified by:
grantTablePermission in interface ClientService.Iface
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

send_grantTablePermission

public void send_grantTablePermission(TInfo tinfo,
                                      AuthInfo credentials,
                                      String user,
                                      String tableName,
                                      byte permission)
                               throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_grantTablePermission

public void recv_grantTablePermission()
                               throws ThriftSecurityException,
                                      ThriftTableOperationException,
                                      org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

revokeTablePermission

public void revokeTablePermission(TInfo tinfo,
                                  AuthInfo credentials,
                                  String user,
                                  String tableName,
                                  byte permission)
                           throws ThriftSecurityException,
                                  ThriftTableOperationException,
                                  org.apache.thrift.TException
Specified by:
revokeTablePermission in interface ClientService.Iface
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

send_revokeTablePermission

public void send_revokeTablePermission(TInfo tinfo,
                                       AuthInfo credentials,
                                       String user,
                                       String tableName,
                                       byte permission)
                                throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_revokeTablePermission

public void recv_revokeTablePermission()
                                throws ThriftSecurityException,
                                       ThriftTableOperationException,
                                       org.apache.thrift.TException
Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException

getConfiguration

public Map<String,String> getConfiguration(ConfigurationType type)
                                    throws org.apache.thrift.TException
Specified by:
getConfiguration in interface ClientService.Iface
Throws:
org.apache.thrift.TException

send_getConfiguration

public void send_getConfiguration(ConfigurationType type)
                           throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_getConfiguration

public Map<String,String> recv_getConfiguration()
                                         throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

getTableConfiguration

public Map<String,String> getTableConfiguration(String tableName)
                                         throws ThriftTableOperationException,
                                                org.apache.thrift.TException
Specified by:
getTableConfiguration in interface ClientService.Iface
Throws:
ThriftTableOperationException
org.apache.thrift.TException

send_getTableConfiguration

public void send_getTableConfiguration(String tableName)
                                throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_getTableConfiguration

public Map<String,String> recv_getTableConfiguration()
                                              throws ThriftTableOperationException,
                                                     org.apache.thrift.TException
Throws:
ThriftTableOperationException
org.apache.thrift.TException

checkClass

public boolean checkClass(TInfo tinfo,
                          String className,
                          String interfaceMatch)
                   throws org.apache.thrift.TException
Specified by:
checkClass in interface ClientService.Iface
Throws:
org.apache.thrift.TException

send_checkClass

public void send_checkClass(TInfo tinfo,
                            String className,
                            String interfaceMatch)
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_checkClass

public boolean recv_checkClass()
                        throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


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