Class ClientService.Client
- java.lang.Object
-
- org.apache.thrift.TServiceClient
-
- org.apache.accumulo.core.client.impl.thrift.ClientService.Client
-
- All Implemented Interfaces:
ClientService.Iface
- Direct Known Subclasses:
TabletClientService.Client
- Enclosing class:
- ClientService
public static class ClientService.Client extends org.apache.thrift.TServiceClient implements ClientService.Iface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClientService.Client.Factory
-
Method Summary
-
-
-
Method Detail
-
getRootTabletLocation
public String getRootTabletLocation() throws org.apache.thrift.TException
- Specified by:
getRootTabletLocation
in interfaceClientService.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 interfaceClientService.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 interfaceClientService.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, TCredentials credentials, long tid, String tableId, List<String> files, String errorDir, boolean setTime) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Specified by:
bulkImportFiles
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
send_bulkImportFiles
public void send_bulkImportFiles(TInfo tinfo, TCredentials 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 interfaceClientService.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(TCredentials credentials) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
ping
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_ping
public void send_ping(TCredentials 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
-
getDiskUsage
public List<TDiskUsage> getDiskUsage(Set<String> tables, TCredentials credentials) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Specified by:
getDiskUsage
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
send_getDiskUsage
public void send_getDiskUsage(Set<String> tables, TCredentials credentials) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_getDiskUsage
public List<TDiskUsage> recv_getDiskUsage() throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
listLocalUsers
public Set<String> listLocalUsers(TInfo tinfo, TCredentials credentials) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
listLocalUsers
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_listLocalUsers
public void send_listLocalUsers(TInfo tinfo, TCredentials credentials) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_listLocalUsers
public Set<String> recv_listLocalUsers() throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
createLocalUser
public void createLocalUser(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
createLocalUser
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_createLocalUser
public void send_createLocalUser(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_createLocalUser
public void recv_createLocalUser() throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
dropLocalUser
public void dropLocalUser(TInfo tinfo, TCredentials credentials, String principal) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
dropLocalUser
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_dropLocalUser
public void send_dropLocalUser(TInfo tinfo, TCredentials credentials, String principal) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_dropLocalUser
public void recv_dropLocalUser() throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
changeLocalUserPassword
public void changeLocalUserPassword(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
changeLocalUserPassword
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_changeLocalUserPassword
public void send_changeLocalUserPassword(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_changeLocalUserPassword
public void recv_changeLocalUserPassword() throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
authenticate
public boolean authenticate(TInfo tinfo, TCredentials credentials) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
authenticate
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_authenticate
public void send_authenticate(TInfo tinfo, TCredentials credentials) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_authenticate
public boolean recv_authenticate() throws ThriftSecurityException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
authenticateUser
public boolean authenticateUser(TInfo tinfo, TCredentials credentials, TCredentials toAuth) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
authenticateUser
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_authenticateUser
public void send_authenticateUser(TInfo tinfo, TCredentials credentials, TCredentials toAuth) 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
-
changeAuthorizations
public void changeAuthorizations(TInfo tinfo, TCredentials credentials, String principal, List<ByteBuffer> authorizations) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
changeAuthorizations
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_changeAuthorizations
public void send_changeAuthorizations(TInfo tinfo, TCredentials credentials, String principal, 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, TCredentials credentials, String principal) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
getUserAuthorizations
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_getUserAuthorizations
public void send_getUserAuthorizations(TInfo tinfo, TCredentials credentials, String principal) 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, TCredentials credentials, String principal, byte sysPerm) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
hasSystemPermission
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_hasSystemPermission
public void send_hasSystemPermission(TInfo tinfo, TCredentials credentials, String principal, 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, TCredentials credentials, String principal, String tableName, byte tblPerm) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Specified by:
hasTablePermission
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
send_hasTablePermission
public void send_hasTablePermission(TInfo tinfo, TCredentials credentials, String principal, 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
-
hasNamespacePermission
public boolean hasNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte tblNspcPerm) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Specified by:
hasNamespacePermission
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
send_hasNamespacePermission
public void send_hasNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte tblNspcPerm) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_hasNamespacePermission
public boolean recv_hasNamespacePermission() throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
grantSystemPermission
public void grantSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte permission) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
grantSystemPermission
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_grantSystemPermission
public void send_grantSystemPermission(TInfo tinfo, TCredentials credentials, String principal, 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, TCredentials credentials, String principal, byte permission) throws ThriftSecurityException, org.apache.thrift.TException
- Specified by:
revokeSystemPermission
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
org.apache.thrift.TException
-
send_revokeSystemPermission
public void send_revokeSystemPermission(TInfo tinfo, TCredentials credentials, String principal, 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, TCredentials credentials, String principal, String tableName, byte permission) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Specified by:
grantTablePermission
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
send_grantTablePermission
public void send_grantTablePermission(TInfo tinfo, TCredentials credentials, String principal, 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, TCredentials credentials, String principal, String tableName, byte permission) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Specified by:
revokeTablePermission
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
send_revokeTablePermission
public void send_revokeTablePermission(TInfo tinfo, TCredentials credentials, String principal, 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
-
grantNamespacePermission
public void grantNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte permission) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Specified by:
grantNamespacePermission
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
send_grantNamespacePermission
public void send_grantNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte permission) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_grantNamespacePermission
public void recv_grantNamespacePermission() throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
revokeNamespacePermission
public void revokeNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte permission) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Specified by:
revokeNamespacePermission
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
send_revokeNamespacePermission
public void send_revokeNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte permission) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_revokeNamespacePermission
public void recv_revokeNamespacePermission() throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
getConfiguration
public Map<String,String> getConfiguration(TInfo tinfo, TCredentials credentials, ConfigurationType type) throws org.apache.thrift.TException
- Specified by:
getConfiguration
in interfaceClientService.Iface
- Throws:
org.apache.thrift.TException
-
send_getConfiguration
public void send_getConfiguration(TInfo tinfo, TCredentials credentials, 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(TInfo tinfo, TCredentials credentials, String tableName) throws ThriftTableOperationException, org.apache.thrift.TException
- Specified by:
getTableConfiguration
in interfaceClientService.Iface
- Throws:
ThriftTableOperationException
org.apache.thrift.TException
-
send_getTableConfiguration
public void send_getTableConfiguration(TInfo tinfo, TCredentials credentials, 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
-
getNamespaceConfiguration
public Map<String,String> getNamespaceConfiguration(TInfo tinfo, TCredentials credentials, String ns) throws ThriftTableOperationException, org.apache.thrift.TException
- Specified by:
getNamespaceConfiguration
in interfaceClientService.Iface
- Throws:
ThriftTableOperationException
org.apache.thrift.TException
-
send_getNamespaceConfiguration
public void send_getNamespaceConfiguration(TInfo tinfo, TCredentials credentials, String ns) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_getNamespaceConfiguration
public Map<String,String> recv_getNamespaceConfiguration() throws ThriftTableOperationException, org.apache.thrift.TException
- Throws:
ThriftTableOperationException
org.apache.thrift.TException
-
checkClass
public boolean checkClass(TInfo tinfo, TCredentials credentials, String className, String interfaceMatch) throws org.apache.thrift.TException
- Specified by:
checkClass
in interfaceClientService.Iface
- Throws:
org.apache.thrift.TException
-
send_checkClass
public void send_checkClass(TInfo tinfo, TCredentials credentials, 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
-
checkTableClass
public boolean checkTableClass(TInfo tinfo, TCredentials credentials, String tableId, String className, String interfaceMatch) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Specified by:
checkTableClass
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
send_checkTableClass
public void send_checkTableClass(TInfo tinfo, TCredentials credentials, String tableId, String className, String interfaceMatch) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_checkTableClass
public boolean recv_checkTableClass() throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
checkNamespaceClass
public boolean checkNamespaceClass(TInfo tinfo, TCredentials credentials, String namespaceId, String className, String interfaceMatch) throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Specified by:
checkNamespaceClass
in interfaceClientService.Iface
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
send_checkNamespaceClass
public void send_checkNamespaceClass(TInfo tinfo, TCredentials credentials, String namespaceId, String className, String interfaceMatch) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_checkNamespaceClass
public boolean recv_checkNamespaceClass() throws ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException
- Throws:
ThriftSecurityException
ThriftTableOperationException
org.apache.thrift.TException
-
-