Interface ClientService.AsyncIface
-
- All Known Implementing Classes:
ClientService.AsyncClient
- Enclosing class:
- ClientService
public static interface ClientService.AsyncIface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
authenticate(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
void
authenticateUser(TInfo tinfo, TCredentials credentials, TCredentials toAuth, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
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)
void
changeAuthorizations(TInfo tinfo, TCredentials credentials, String principal, List<ByteBuffer> authorizations, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
changeLocalUserPassword(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
checkClass(TInfo tinfo, TCredentials credentials, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
void
checkNamespaceClass(TInfo tinfo, TCredentials credentials, String namespaceId, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
void
checkTableClass(TInfo tinfo, TCredentials credentials, String tableId, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
void
createLocalUser(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
dropLocalUser(TInfo tinfo, TCredentials credentials, String principal, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
getConfiguration(TInfo tinfo, TCredentials credentials, ConfigurationType type, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler)
void
getDiskUsage(Set<String> tables, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<TDiskUsage>> resultHandler)
void
getInstanceId(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler)
void
getNamespaceConfiguration(TInfo tinfo, TCredentials credentials, String ns, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler)
void
getNamespaceProperties(TInfo tinfo, TCredentials credentials, String ns, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler)
void
getRootTabletLocation(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler)
void
getSystemProperties(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler)
void
getTableConfiguration(TInfo tinfo, TCredentials credentials, String tableName, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler)
void
getTableProperties(TInfo tinfo, TCredentials credentials, String tableName, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler)
void
getUserAuthorizations(TInfo tinfo, TCredentials credentials, String principal, org.apache.thrift.async.AsyncMethodCallback<List<ByteBuffer>> resultHandler)
void
getVersionedNamespaceProperties(TInfo tinfo, TCredentials credentials, String ns, org.apache.thrift.async.AsyncMethodCallback<TVersionedProperties> resultHandler)
void
getVersionedSystemProperties(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TVersionedProperties> resultHandler)
void
getVersionedTableProperties(TInfo tinfo, TCredentials credentials, String tableName, org.apache.thrift.async.AsyncMethodCallback<TVersionedProperties> resultHandler)
void
getZooKeepers(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler)
void
grantNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
grantSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
grantTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
hasNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte tblNspcPerm, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
void
hasSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte sysPerm, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
void
hasTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte tblPerm, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
void
isActive(TInfo tinfo, long tid, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
void
listLocalUsers(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Set<String>> resultHandler)
void
ping(TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
revokeNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
revokeSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
void
revokeTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
-
-
-
Method Detail
-
getRootTabletLocation
void getRootTabletLocation(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getInstanceId
void getInstanceId(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getZooKeepers
void getZooKeepers(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
bulkImportFiles
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
- Throws:
org.apache.thrift.TException
-
isActive
void isActive(TInfo tinfo, long tid, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
ping
void ping(TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getDiskUsage
void getDiskUsage(Set<String> tables, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<List<TDiskUsage>> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
listLocalUsers
void listLocalUsers(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Set<String>> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
createLocalUser
void createLocalUser(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
dropLocalUser
void dropLocalUser(TInfo tinfo, TCredentials credentials, String principal, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
changeLocalUserPassword
void changeLocalUserPassword(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
authenticate
void authenticate(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
authenticateUser
void authenticateUser(TInfo tinfo, TCredentials credentials, TCredentials toAuth, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
changeAuthorizations
void changeAuthorizations(TInfo tinfo, TCredentials credentials, String principal, List<ByteBuffer> authorizations, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getUserAuthorizations
void getUserAuthorizations(TInfo tinfo, TCredentials credentials, String principal, org.apache.thrift.async.AsyncMethodCallback<List<ByteBuffer>> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
hasSystemPermission
void hasSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte sysPerm, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
hasTablePermission
void hasTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte tblPerm, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
hasNamespacePermission
void hasNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte tblNspcPerm, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
grantSystemPermission
void grantSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
revokeSystemPermission
void revokeSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
grantTablePermission
void grantTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
revokeTablePermission
void revokeTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
grantNamespacePermission
void grantNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
revokeNamespacePermission
void revokeNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte permission, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getConfiguration
void getConfiguration(TInfo tinfo, TCredentials credentials, ConfigurationType type, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getSystemProperties
void getSystemProperties(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getVersionedSystemProperties
void getVersionedSystemProperties(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback<TVersionedProperties> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getTableConfiguration
void getTableConfiguration(TInfo tinfo, TCredentials credentials, String tableName, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getTableProperties
void getTableProperties(TInfo tinfo, TCredentials credentials, String tableName, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getVersionedTableProperties
void getVersionedTableProperties(TInfo tinfo, TCredentials credentials, String tableName, org.apache.thrift.async.AsyncMethodCallback<TVersionedProperties> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getNamespaceConfiguration
void getNamespaceConfiguration(TInfo tinfo, TCredentials credentials, String ns, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getNamespaceProperties
void getNamespaceProperties(TInfo tinfo, TCredentials credentials, String ns, org.apache.thrift.async.AsyncMethodCallback<Map<String,String>> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getVersionedNamespaceProperties
void getVersionedNamespaceProperties(TInfo tinfo, TCredentials credentials, String ns, org.apache.thrift.async.AsyncMethodCallback<TVersionedProperties> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
checkClass
void checkClass(TInfo tinfo, TCredentials credentials, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
checkTableClass
void checkTableClass(TInfo tinfo, TCredentials credentials, String tableId, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-