org.apache.accumulo.core.client.impl.thrift
public static class ClientService.Client extends org.apache.thrift.TServiceClient implements ClientService.Iface
Modifier and Type | Class and Description |
---|---|
static class |
ClientService.Client.Factory |
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) |
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 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, TCredentials 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, TCredentials 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(TCredentials credentials) throws ThriftSecurityException, org.apache.thrift.TException
ping
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_ping(TCredentials 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 Set<String> listLocalUsers(TInfo tinfo, TCredentials credentials) throws ThriftSecurityException, org.apache.thrift.TException
listLocalUsers
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_listLocalUsers(TInfo tinfo, TCredentials credentials) throws org.apache.thrift.TException
org.apache.thrift.TException
public Set<String> recv_listLocalUsers() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public void createLocalUser(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password) throws ThriftSecurityException, org.apache.thrift.TException
createLocalUser
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_createLocalUser(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_createLocalUser() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public void dropLocalUser(TInfo tinfo, TCredentials credentials, String principal) throws ThriftSecurityException, org.apache.thrift.TException
dropLocalUser
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_dropLocalUser(TInfo tinfo, TCredentials credentials, String principal) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_dropLocalUser() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public void changeLocalUserPassword(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password) throws ThriftSecurityException, org.apache.thrift.TException
changeLocalUserPassword
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_changeLocalUserPassword(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_changeLocalUserPassword() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public boolean authenticate(TInfo tinfo, TCredentials credentials) throws ThriftSecurityException, org.apache.thrift.TException
authenticate
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_authenticate(TInfo tinfo, TCredentials credentials) throws org.apache.thrift.TException
org.apache.thrift.TException
public boolean recv_authenticate() throws ThriftSecurityException, org.apache.thrift.TException
ThriftSecurityException
org.apache.thrift.TException
public boolean authenticateUser(TInfo tinfo, TCredentials credentials, TCredentials toAuth) throws ThriftSecurityException, org.apache.thrift.TException
authenticateUser
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_authenticateUser(TInfo tinfo, TCredentials credentials, TCredentials toAuth) 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 void changeAuthorizations(TInfo tinfo, TCredentials credentials, String principal, 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, TCredentials credentials, String principal, 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, TCredentials credentials, String principal) throws ThriftSecurityException, org.apache.thrift.TException
getUserAuthorizations
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_getUserAuthorizations(TInfo tinfo, TCredentials credentials, String principal) 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, TCredentials credentials, String principal, byte sysPerm) throws ThriftSecurityException, org.apache.thrift.TException
hasSystemPermission
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_hasSystemPermission(TInfo tinfo, TCredentials credentials, String principal, 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, TCredentials credentials, String principal, 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, TCredentials credentials, String principal, 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, TCredentials credentials, String principal, byte permission) throws ThriftSecurityException, org.apache.thrift.TException
grantSystemPermission
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_grantSystemPermission(TInfo tinfo, TCredentials credentials, String principal, 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, TCredentials credentials, String principal, byte permission) throws ThriftSecurityException, org.apache.thrift.TException
revokeSystemPermission
in interface ClientService.Iface
ThriftSecurityException
org.apache.thrift.TException
public void send_revokeSystemPermission(TInfo tinfo, TCredentials credentials, String principal, 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, TCredentials credentials, String principal, 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, TCredentials credentials, String principal, 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, TCredentials credentials, String principal, 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, TCredentials credentials, String principal, 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(TInfo tinfo, TCredentials credentials, ConfigurationType type) throws org.apache.thrift.TException
getConfiguration
in interface ClientService.Iface
org.apache.thrift.TException
public void send_getConfiguration(TInfo tinfo, TCredentials credentials, 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(TInfo tinfo, TCredentials credentials, String tableName) throws ThriftTableOperationException, org.apache.thrift.TException
getTableConfiguration
in interface ClientService.Iface
ThriftTableOperationException
org.apache.thrift.TException
public void send_getTableConfiguration(TInfo tinfo, TCredentials credentials, 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, TCredentials credentials, String className, String interfaceMatch) throws org.apache.thrift.TException
checkClass
in interface ClientService.Iface
org.apache.thrift.TException
public void send_checkClass(TInfo tinfo, TCredentials credentials, 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
public boolean checkTableClass(TInfo tinfo, TCredentials credentials, String tableId, String className, String interfaceMatch) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
checkTableClass
in interface ClientService.Iface
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
public void send_checkTableClass(TInfo tinfo, TCredentials credentials, String tableId, String className, String interfaceMatch) throws org.apache.thrift.TException
org.apache.thrift.TException
public boolean recv_checkTableClass() throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
Copyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.