Interface ClientService.AsyncIface
-
- All Known Subinterfaces:
TabletClientService.AsyncIface
- All Known Implementing Classes:
ClientService.AsyncClient
,TabletClientService.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 resultHandler)
void
authenticateUser(TInfo tinfo, TCredentials credentials, TCredentials toAuth, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
bulkImportFiles(TInfo tinfo, TCredentials credentials, long tid, String tableId, List<String> files, String errorDir, boolean setTime, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
changeAuthorizations(TInfo tinfo, TCredentials credentials, String principal, List<ByteBuffer> authorizations, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
changeLocalUserPassword(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
checkClass(TInfo tinfo, TCredentials credentials, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
checkNamespaceClass(TInfo tinfo, TCredentials credentials, String namespaceId, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
checkTableClass(TInfo tinfo, TCredentials credentials, String tableId, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
createLocalUser(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
dropLocalUser(TInfo tinfo, TCredentials credentials, String principal, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
getConfiguration(TInfo tinfo, TCredentials credentials, ConfigurationType type, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
getDiskUsage(Set<String> tables, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
getInstanceId(org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
getNamespaceConfiguration(TInfo tinfo, TCredentials credentials, String ns, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
getRootTabletLocation(org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
getTableConfiguration(TInfo tinfo, TCredentials credentials, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
getUserAuthorizations(TInfo tinfo, TCredentials credentials, String principal, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
getZooKeepers(org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
grantNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte permission, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
grantSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte permission, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
grantTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte permission, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
hasNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte tblNspcPerm, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
hasSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte sysPerm, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
hasTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte tblPerm, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
isActive(TInfo tinfo, long tid, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
listLocalUsers(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
ping(TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
revokeNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte permission, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
revokeSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte permission, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
revokeTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte permission, org.apache.thrift.async.AsyncMethodCallback resultHandler)
-
-
-
Method Detail
-
getRootTabletLocation
void getRootTabletLocation(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getInstanceId
void getInstanceId(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getZooKeepers
void getZooKeepers(org.apache.thrift.async.AsyncMethodCallback 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 resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
isActive
void isActive(TInfo tinfo, long tid, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
ping
void ping(TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getDiskUsage
void getDiskUsage(Set<String> tables, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
listLocalUsers
void listLocalUsers(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback 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 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 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 resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
authenticate
void authenticate(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
checkNamespaceClass
void checkNamespaceClass(TInfo tinfo, TCredentials credentials, String namespaceId, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-