public static class ClientService.Client extends Object implements org.apache.thrift.TServiceClient, ClientService.Iface
Modifier and Type | Class and Description |
---|---|
static class |
ClientService.Client.Factory |
Modifier and Type | Field and Description |
---|---|
protected org.apache.thrift.protocol.TProtocol |
iprot_ |
protected org.apache.thrift.protocol.TProtocol |
oprot_ |
protected int |
seqid_ |
Constructor and Description |
---|
ClientService.Client(org.apache.thrift.protocol.TProtocol prot) |
ClientService.Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot) |
protected org.apache.thrift.protocol.TProtocol iprot_
protected org.apache.thrift.protocol.TProtocol oprot_
protected int seqid_
public ClientService.Client(org.apache.thrift.protocol.TProtocol prot)
public ClientService.Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
public org.apache.thrift.protocol.TProtocol getInputProtocol()
getInputProtocol
in interface org.apache.thrift.TServiceClient
public org.apache.thrift.protocol.TProtocol getOutputProtocol()
getOutputProtocol
in interface org.apache.thrift.TServiceClient
public String getRootTabletLocation() throws org.apache.thrift.TException
getRootTabletLocation
in interface ClientService.Iface
org.apache.thrift.TException
public void send_getRootTabletLocation() throws org.apache.thrift.TException
org.apache.thrift.TException
public String recv_getRootTabletLocation() throws org.apache.thrift.TException
org.apache.thrift.TException
public String getInstanceId() throws org.apache.thrift.TException
getInstanceId
in interface ClientService.Iface
org.apache.thrift.TException
public void send_getInstanceId() throws org.apache.thrift.TException
org.apache.thrift.TException
public String recv_getInstanceId() throws org.apache.thrift.TException
org.apache.thrift.TException
public String getZooKeepers() throws org.apache.thrift.TException
getZooKeepers
in interface ClientService.Iface
org.apache.thrift.TException
public void send_getZooKeepers() throws org.apache.thrift.TException
org.apache.thrift.TException
public String recv_getZooKeepers() throws org.apache.thrift.TException
org.apache.thrift.TException
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
bulkImportFiles
in interface ClientService.Iface
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
public void send_bulkImportFiles(TInfo tinfo, AuthInfo credentials, long tid, String tableId, List<String> files, String errorDir, boolean setTime) throws org.apache.thrift.TException
org.apache.thrift.TException
public List<String> recv_bulkImportFiles() throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
public boolean isActive(TInfo tinfo, long tid) throws org.apache.thrift.TException
isActive
in interface ClientService.Iface
org.apache.thrift.TException
public void send_isActive(TInfo tinfo, long tid) throws org.apache.thrift.TException
org.apache.thrift.TException
public boolean recv_isActive() throws org.apache.thrift.TException
org.apache.thrift.TException
public void ping(AuthInfo credentials) throws ThriftSecurityException, org.apache.thrift.TException
ping
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_ping(AuthInfo credentials) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_ping() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public boolean authenticateUser(TInfo tinfo, AuthInfo credentials, String user, ByteBuffer password) throws ThriftSecurityException, org.apache.thrift.TException
authenticateUser
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_authenticateUser(TInfo tinfo, AuthInfo credentials, String user, ByteBuffer password) throws org.apache.thrift.TException
org.apache.thrift.TException
public boolean recv_authenticateUser() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public Set<String> listUsers(TInfo tinfo, AuthInfo credentials) throws ThriftSecurityException, org.apache.thrift.TException
listUsers
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_listUsers(TInfo tinfo, AuthInfo credentials) throws org.apache.thrift.TException
org.apache.thrift.TException
public Set<String> recv_listUsers() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public void createUser(TInfo tinfo, AuthInfo credentials, String user, ByteBuffer password, List<ByteBuffer> authorizations) throws ThriftSecurityException, org.apache.thrift.TException
createUser
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_createUser(TInfo tinfo, AuthInfo credentials, String user, ByteBuffer password, List<ByteBuffer> authorizations) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_createUser() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public void dropUser(TInfo tinfo, AuthInfo credentials, String user) throws ThriftSecurityException, org.apache.thrift.TException
dropUser
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_dropUser(TInfo tinfo, AuthInfo credentials, String user) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_dropUser() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public void changePassword(TInfo tinfo, AuthInfo credentials, String user, ByteBuffer password) throws ThriftSecurityException, org.apache.thrift.TException
changePassword
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_changePassword(TInfo tinfo, AuthInfo credentials, String user, ByteBuffer password) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_changePassword() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public void changeAuthorizations(TInfo tinfo, AuthInfo credentials, String user, List<ByteBuffer> authorizations) throws ThriftSecurityException, org.apache.thrift.TException
changeAuthorizations
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_changeAuthorizations(TInfo tinfo, AuthInfo credentials, String user, List<ByteBuffer> authorizations) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_changeAuthorizations() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public List<ByteBuffer> getUserAuthorizations(TInfo tinfo, AuthInfo credentials, String user) throws ThriftSecurityException, org.apache.thrift.TException
getUserAuthorizations
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_getUserAuthorizations(TInfo tinfo, AuthInfo credentials, String user) throws org.apache.thrift.TException
org.apache.thrift.TException
public List<ByteBuffer> recv_getUserAuthorizations() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public boolean hasSystemPermission(TInfo tinfo, AuthInfo credentials, String user, byte sysPerm) throws ThriftSecurityException, org.apache.thrift.TException
hasSystemPermission
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_hasSystemPermission(TInfo tinfo, AuthInfo credentials, String user, byte sysPerm) throws org.apache.thrift.TException
org.apache.thrift.TException
public boolean recv_hasSystemPermission() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public boolean hasTablePermission(TInfo tinfo, AuthInfo credentials, String user, String tableName, byte tblPerm) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
hasTablePermission
in interface ClientService.Iface
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
public void send_hasTablePermission(TInfo tinfo, AuthInfo credentials, String user, String tableName, byte tblPerm) throws org.apache.thrift.TException
org.apache.thrift.TException
public boolean recv_hasTablePermission() throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
public void grantSystemPermission(TInfo tinfo, AuthInfo credentials, String user, byte permission) throws ThriftSecurityException, org.apache.thrift.TException
grantSystemPermission
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_grantSystemPermission(TInfo tinfo, AuthInfo credentials, String user, byte permission) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_grantSystemPermission() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public void revokeSystemPermission(TInfo tinfo, AuthInfo credentials, String user, byte permission) throws ThriftSecurityException, org.apache.thrift.TException
revokeSystemPermission
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_revokeSystemPermission(TInfo tinfo, AuthInfo credentials, String user, byte permission) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_revokeSystemPermission() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public void grantTablePermission(TInfo tinfo, AuthInfo credentials, String user, String tableName, byte permission) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
grantTablePermission
in interface ClientService.Iface
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
public void send_grantTablePermission(TInfo tinfo, AuthInfo credentials, String user, String tableName, byte permission) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_grantTablePermission() throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
public void revokeTablePermission(TInfo tinfo, AuthInfo credentials, String user, String tableName, byte permission) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
revokeTablePermission
in interface ClientService.Iface
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
public void send_revokeTablePermission(TInfo tinfo, AuthInfo credentials, String user, String tableName, byte permission) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_revokeTablePermission() throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
public Map<String,String> getConfiguration(ConfigurationType type) throws org.apache.thrift.TException
getConfiguration
in interface ClientService.Iface
org.apache.thrift.TException
public void send_getConfiguration(ConfigurationType type) throws org.apache.thrift.TException
org.apache.thrift.TException
public Map<String,String> recv_getConfiguration() throws org.apache.thrift.TException
org.apache.thrift.TException
public Map<String,String> getTableConfiguration(String tableName) throws ThriftTableOperationException, org.apache.thrift.TException
getTableConfiguration
in interface ClientService.Iface
ThriftTableOperationException
org.apache.thrift.TException
public void send_getTableConfiguration(String tableName) throws org.apache.thrift.TException
org.apache.thrift.TException
public Map<String,String> recv_getTableConfiguration() throws ThriftTableOperationException, org.apache.thrift.TException
ThriftTableOperationException
org.apache.thrift.TException
public boolean checkClass(TInfo tinfo, String className, String interfaceMatch) throws org.apache.thrift.TException
checkClass
in interface ClientService.Iface
org.apache.thrift.TException
public void send_checkClass(TInfo tinfo, String className, String interfaceMatch) throws org.apache.thrift.TException
org.apache.thrift.TException
public boolean recv_checkClass() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.