Class ClientService.AsyncClient
- java.lang.Object
-
- org.apache.thrift.async.TAsyncClient
-
- org.apache.accumulo.core.clientImpl.thrift.ClientService.AsyncClient
-
- All Implemented Interfaces:
ClientService.AsyncIface
- Direct Known Subclasses:
TabletClientService.AsyncClient
- Enclosing class:
- ClientService
public static class ClientService.AsyncClient extends org.apache.thrift.async.TAsyncClient implements ClientService.AsyncIface
-
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidauthenticate(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)voidauthenticateUser(TInfo tinfo, TCredentials credentials, TCredentials toAuth, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)voidbulkImportFiles(TInfo tinfo, TCredentials credentials, long tid, String tableId, List<String> files, String errorDir, boolean setTime, org.apache.thrift.async.AsyncMethodCallback<List<String>> resultHandler)voidchangeAuthorizations(TInfo tinfo, TCredentials credentials, String principal, List<ByteBuffer> authorizations, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidchangeLocalUserPassword(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidcheckClass(TInfo tinfo, TCredentials credentials, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)voidcheckNamespaceClass(TInfo tinfo, TCredentials credentials, String namespaceId, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)voidcheckTableClass(TInfo tinfo, TCredentials credentials, String tableId, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)voidcreateLocalUser(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voiddropLocalUser(TInfo tinfo, TCredentials credentials, String principal, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidgetConfiguration(TInfo tinfo, TCredentials credentials, ConfigurationType type, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler)voidgetDiskUsage(Set<String> tables, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<TDiskUsage>> resultHandler)voidgetInstanceId(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler)voidgetNamespaceConfiguration(TInfo tinfo, TCredentials credentials, String ns, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler)voidgetRootTabletLocation(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler)voidgetTableConfiguration(TInfo tinfo, TCredentials credentials, String tableName, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler)voidgetUserAuthorizations(TInfo tinfo, TCredentials credentials, String principal, org.apache.thrift.async.AsyncMethodCallback<List<ByteBuffer>> resultHandler)voidgetZooKeepers(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler)voidgrantNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidgrantSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidgrantTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidhasNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte tblNspcPerm, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)voidhasSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte sysPerm, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)voidhasTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte tblPerm, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)voidisActive(TInfo tinfo, long tid, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)voidlistLocalUsers(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Set<String>> resultHandler)voidping(TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidrevokeNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidrevokeSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidrevokeTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
-
-
-
Method Detail
-
getRootTabletLocation
public void getRootTabletLocation(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.thrift.TException
- Specified by:
getRootTabletLocationin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
getInstanceId
public void getInstanceId(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.thrift.TException
- Specified by:
getInstanceIdin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
getZooKeepers
public void getZooKeepers(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.thrift.TException
- Specified by:
getZooKeepersin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
bulkImportFiles
public void bulkImportFiles(TInfo tinfo, TCredentials credentials, long tid, String tableId, List<String> files, String errorDir, boolean setTime, org.apache.thrift.async.AsyncMethodCallback<List<String>> resultHandler) throws org.apache.thrift.TException
- Specified by:
bulkImportFilesin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
isActive
public void isActive(TInfo tinfo, long tid, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.thrift.TException
- Specified by:
isActivein interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
ping
public void ping(TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
pingin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
getDiskUsage
public void getDiskUsage(Set<String> tables, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<TDiskUsage>> resultHandler) throws org.apache.thrift.TException
- Specified by:
getDiskUsagein interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
listLocalUsers
public void listLocalUsers(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Set<String>> resultHandler) throws org.apache.thrift.TException
- Specified by:
listLocalUsersin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
createLocalUser
public void createLocalUser(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
createLocalUserin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
dropLocalUser
public void dropLocalUser(TInfo tinfo, TCredentials credentials, String principal, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
dropLocalUserin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
changeLocalUserPassword
public void changeLocalUserPassword(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
changeLocalUserPasswordin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
authenticate
public void authenticate(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.thrift.TException
- Specified by:
authenticatein interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
authenticateUser
public void authenticateUser(TInfo tinfo, TCredentials credentials, TCredentials toAuth, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.thrift.TException
- Specified by:
authenticateUserin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
changeAuthorizations
public void changeAuthorizations(TInfo tinfo, TCredentials credentials, String principal, List<ByteBuffer> authorizations, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
changeAuthorizationsin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
getUserAuthorizations
public void getUserAuthorizations(TInfo tinfo, TCredentials credentials, String principal, org.apache.thrift.async.AsyncMethodCallback<List<ByteBuffer>> resultHandler) throws org.apache.thrift.TException
- Specified by:
getUserAuthorizationsin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
hasSystemPermission
public void hasSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte sysPerm, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.thrift.TException
- Specified by:
hasSystemPermissionin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
hasTablePermission
public void hasTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte tblPerm, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.thrift.TException
- Specified by:
hasTablePermissionin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
hasNamespacePermission
public void hasNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte tblNspcPerm, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.thrift.TException
- Specified by:
hasNamespacePermissionin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
grantSystemPermission
public void grantSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
grantSystemPermissionin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
revokeSystemPermission
public void revokeSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
revokeSystemPermissionin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
grantTablePermission
public void grantTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
grantTablePermissionin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
revokeTablePermission
public void revokeTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
revokeTablePermissionin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
grantNamespacePermission
public void grantNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
grantNamespacePermissionin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
revokeNamespacePermission
public void revokeNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
revokeNamespacePermissionin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
getConfiguration
public void getConfiguration(TInfo tinfo, TCredentials credentials, ConfigurationType type, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler) throws org.apache.thrift.TException
- Specified by:
getConfigurationin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
getTableConfiguration
public void getTableConfiguration(TInfo tinfo, TCredentials credentials, String tableName, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler) throws org.apache.thrift.TException
- Specified by:
getTableConfigurationin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
getNamespaceConfiguration
public void getNamespaceConfiguration(TInfo tinfo, TCredentials credentials, String ns, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler) throws org.apache.thrift.TException
- Specified by:
getNamespaceConfigurationin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
checkClass
public void checkClass(TInfo tinfo, TCredentials credentials, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.thrift.TException
- Specified by:
checkClassin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
checkTableClass
public void checkTableClass(TInfo tinfo, TCredentials credentials, String tableId, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.thrift.TException
- Specified by:
checkTableClassin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
checkNamespaceClass
public void checkNamespaceClass(TInfo tinfo, TCredentials credentials, String namespaceId, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.thrift.TException
- Specified by:
checkNamespaceClassin interfaceClientService.AsyncIface- Throws:
org.apache.thrift.TException
-
-