org.apache.accumulo.core.client.impl.thrift
Class ClientService.Client
java.lang.Object
org.apache.accumulo.core.client.impl.thrift.ClientService.Client
- All Implemented Interfaces:
- ClientService.Iface, org.apache.thrift.TServiceClient
- Direct Known Subclasses:
- MasterClientService.Client, TabletClientService.Client
- Enclosing class:
- ClientService
public static class ClientService.Client
- extends java.lang.Object
- implements org.apache.thrift.TServiceClient, ClientService.Iface
Field Summary |
protected org.apache.thrift.protocol.TProtocol |
iprot_
|
protected org.apache.thrift.protocol.TProtocol |
oprot_
|
protected int |
seqid_
|
Method Summary |
boolean |
authenticateUser(TInfo tinfo,
AuthInfo credentials,
java.lang.String user,
byte[] password)
|
void |
changeAuthorizations(TInfo tinfo,
AuthInfo credentials,
java.lang.String user,
java.util.List<byte[]> authorizations)
|
void |
changePassword(TInfo tinfo,
AuthInfo credentials,
java.lang.String user,
byte[] password)
|
void |
createUser(TInfo tinfo,
AuthInfo credentials,
java.lang.String user,
byte[] password,
java.util.List<byte[]> authorizations)
|
void |
dropUser(TInfo tinfo,
AuthInfo credentials,
java.lang.String user)
|
void |
finishBulkImport(TInfo tinfo,
AuthInfo credentials,
java.lang.String tableName,
java.lang.String lockFile,
boolean disableGC)
|
org.apache.thrift.protocol.TProtocol |
getInputProtocol()
|
java.lang.String |
getInstanceId()
|
org.apache.thrift.protocol.TProtocol |
getOutputProtocol()
|
java.lang.String |
getRootTabletLocation()
|
java.util.List<byte[]> |
getUserAuthorizations(TInfo tinfo,
AuthInfo credentials,
java.lang.String user)
|
java.lang.String |
getZooKeepers()
|
void |
grantSystemPermission(TInfo tinfo,
AuthInfo credentials,
java.lang.String user,
byte permission)
|
void |
grantTablePermission(TInfo tinfo,
AuthInfo credentials,
java.lang.String user,
java.lang.String tableName,
byte permission)
|
boolean |
hasSystemPermission(TInfo tinfo,
AuthInfo credentials,
java.lang.String user,
byte sysPerm)
|
boolean |
hasTablePermission(TInfo tinfo,
AuthInfo credentials,
java.lang.String user,
java.lang.String tableName,
byte tblPerm)
|
java.util.Set<java.lang.String> |
listUsers(TInfo tinfo,
AuthInfo credentials)
|
void |
ping(AuthInfo credentials)
|
java.lang.String |
prepareBulkImport(TInfo tinfo,
AuthInfo credentials,
java.lang.String dir,
java.lang.String tableName,
double errPercent)
|
boolean |
recv_authenticateUser()
|
void |
recv_changeAuthorizations()
|
void |
recv_changePassword()
|
void |
recv_createUser()
|
void |
recv_dropUser()
|
void |
recv_finishBulkImport()
|
java.lang.String |
recv_getInstanceId()
|
java.lang.String |
recv_getRootTabletLocation()
|
java.util.List<byte[]> |
recv_getUserAuthorizations()
|
java.lang.String |
recv_getZooKeepers()
|
void |
recv_grantSystemPermission()
|
void |
recv_grantTablePermission()
|
boolean |
recv_hasSystemPermission()
|
boolean |
recv_hasTablePermission()
|
java.util.Set<java.lang.String> |
recv_listUsers()
|
void |
recv_ping()
|
java.lang.String |
recv_prepareBulkImport()
|
void |
recv_revokeSystemPermission()
|
void |
recv_revokeTablePermission()
|
void |
revokeSystemPermission(TInfo tinfo,
AuthInfo credentials,
java.lang.String user,
byte permission)
|
void |
revokeTablePermission(TInfo tinfo,
AuthInfo credentials,
java.lang.String user,
java.lang.String tableName,
byte permission)
|
void |
send_authenticateUser(TInfo tinfo,
AuthInfo credentials,
java.lang.String user,
byte[] password)
|
void |
send_changeAuthorizations(TInfo tinfo,
AuthInfo credentials,
java.lang.String user,
java.util.List<byte[]> authorizations)
|
void |
send_changePassword(TInfo tinfo,
AuthInfo credentials,
java.lang.String user,
byte[] password)
|
void |
send_createUser(TInfo tinfo,
AuthInfo credentials,
java.lang.String user,
byte[] password,
java.util.List<byte[]> authorizations)
|
void |
send_dropUser(TInfo tinfo,
AuthInfo credentials,
java.lang.String user)
|
void |
send_finishBulkImport(TInfo tinfo,
AuthInfo credentials,
java.lang.String tableName,
java.lang.String lockFile,
boolean disableGC)
|
void |
send_getInstanceId()
|
void |
send_getRootTabletLocation()
|
void |
send_getUserAuthorizations(TInfo tinfo,
AuthInfo credentials,
java.lang.String user)
|
void |
send_getZooKeepers()
|
void |
send_grantSystemPermission(TInfo tinfo,
AuthInfo credentials,
java.lang.String user,
byte permission)
|
void |
send_grantTablePermission(TInfo tinfo,
AuthInfo credentials,
java.lang.String user,
java.lang.String tableName,
byte permission)
|
void |
send_hasSystemPermission(TInfo tinfo,
AuthInfo credentials,
java.lang.String user,
byte sysPerm)
|
void |
send_hasTablePermission(TInfo tinfo,
AuthInfo credentials,
java.lang.String user,
java.lang.String tableName,
byte tblPerm)
|
void |
send_listUsers(TInfo tinfo,
AuthInfo credentials)
|
void |
send_ping(AuthInfo credentials)
|
void |
send_prepareBulkImport(TInfo tinfo,
AuthInfo credentials,
java.lang.String dir,
java.lang.String tableName,
double errPercent)
|
void |
send_revokeSystemPermission(TInfo tinfo,
AuthInfo credentials,
java.lang.String user,
byte permission)
|
void |
send_revokeTablePermission(TInfo tinfo,
AuthInfo credentials,
java.lang.String user,
java.lang.String tableName,
byte permission)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iprot_
protected org.apache.thrift.protocol.TProtocol iprot_
oprot_
protected org.apache.thrift.protocol.TProtocol oprot_
seqid_
protected int seqid_
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)
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 java.lang.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 java.lang.String recv_getRootTabletLocation()
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
getInstanceId
public java.lang.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 java.lang.String recv_getInstanceId()
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
getZooKeepers
public java.lang.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 java.lang.String recv_getZooKeepers()
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
prepareBulkImport
public java.lang.String prepareBulkImport(TInfo tinfo,
AuthInfo credentials,
java.lang.String dir,
java.lang.String tableName,
double errPercent)
throws ThriftSecurityException,
ThriftTableOperationException,
org.apache.thrift.TException
- Specified by:
prepareBulkImport
in interface ClientService.Iface
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
send_prepareBulkImport
public void send_prepareBulkImport(TInfo tinfo,
AuthInfo credentials,
java.lang.String dir,
java.lang.String tableName,
double errPercent)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_prepareBulkImport
public java.lang.String recv_prepareBulkImport()
throws ThriftSecurityException,
ThriftTableOperationException,
org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
finishBulkImport
public void finishBulkImport(TInfo tinfo,
AuthInfo credentials,
java.lang.String tableName,
java.lang.String lockFile,
boolean disableGC)
throws ThriftSecurityException,
ThriftTableOperationException,
org.apache.thrift.TException
- Specified by:
finishBulkImport
in interface ClientService.Iface
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
send_finishBulkImport
public void send_finishBulkImport(TInfo tinfo,
AuthInfo credentials,
java.lang.String tableName,
java.lang.String lockFile,
boolean disableGC)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_finishBulkImport
public void recv_finishBulkImport()
throws ThriftSecurityException,
ThriftTableOperationException,
org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
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,
java.lang.String user,
byte[] 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,
java.lang.String user,
byte[] 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 java.util.Set<java.lang.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 java.util.Set<java.lang.String> recv_listUsers()
throws ThriftSecurityException,
org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
createUser
public void createUser(TInfo tinfo,
AuthInfo credentials,
java.lang.String user,
byte[] password,
java.util.List<byte[]> 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,
java.lang.String user,
byte[] password,
java.util.List<byte[]> 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,
java.lang.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,
java.lang.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,
java.lang.String user,
byte[] 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,
java.lang.String user,
byte[] 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,
java.lang.String user,
java.util.List<byte[]> 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,
java.lang.String user,
java.util.List<byte[]> 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 java.util.List<byte[]> getUserAuthorizations(TInfo tinfo,
AuthInfo credentials,
java.lang.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,
java.lang.String user)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_getUserAuthorizations
public java.util.List<byte[]> recv_getUserAuthorizations()
throws ThriftSecurityException,
org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
hasSystemPermission
public boolean hasSystemPermission(TInfo tinfo,
AuthInfo credentials,
java.lang.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,
java.lang.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,
java.lang.String user,
java.lang.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,
java.lang.String user,
java.lang.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,
java.lang.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,
java.lang.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,
java.lang.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,
java.lang.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,
java.lang.String user,
java.lang.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,
java.lang.String user,
java.lang.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,
java.lang.String user,
java.lang.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,
java.lang.String user,
java.lang.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
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.