org.apache.accumulo.core.client.impl.thrift
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 |
void |
authenticateUser(TInfo tinfo,
AuthInfo credentials,
String user,
ByteBuffer password,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.authenticateUser_call> resultHandler)
|
void |
bulkImportFiles(TInfo tinfo,
AuthInfo credentials,
long tid,
String tableId,
List<String> files,
String errorDir,
boolean setTime,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.bulkImportFiles_call> resultHandler)
|
void |
changeAuthorizations(TInfo tinfo,
AuthInfo credentials,
String user,
List<ByteBuffer> authorizations,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.changeAuthorizations_call> resultHandler)
|
void |
changePassword(TInfo tinfo,
AuthInfo credentials,
String user,
ByteBuffer password,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.changePassword_call> resultHandler)
|
void |
checkClass(TInfo tinfo,
String className,
String interfaceMatch,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.checkClass_call> resultHandler)
|
void |
createUser(TInfo tinfo,
AuthInfo credentials,
String user,
ByteBuffer password,
List<ByteBuffer> authorizations,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.createUser_call> resultHandler)
|
void |
dropUser(TInfo tinfo,
AuthInfo credentials,
String user,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.dropUser_call> resultHandler)
|
void |
getConfiguration(ConfigurationType type,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getConfiguration_call> resultHandler)
|
void |
getInstanceId(org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getInstanceId_call> resultHandler)
|
void |
getRootTabletLocation(org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getRootTabletLocation_call> resultHandler)
|
void |
getTableConfiguration(String tableName,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getTableConfiguration_call> resultHandler)
|
void |
getUserAuthorizations(TInfo tinfo,
AuthInfo credentials,
String user,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getUserAuthorizations_call> resultHandler)
|
void |
getZooKeepers(org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getZooKeepers_call> resultHandler)
|
void |
grantSystemPermission(TInfo tinfo,
AuthInfo credentials,
String user,
byte permission,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.grantSystemPermission_call> resultHandler)
|
void |
grantTablePermission(TInfo tinfo,
AuthInfo credentials,
String user,
String tableName,
byte permission,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.grantTablePermission_call> resultHandler)
|
void |
hasSystemPermission(TInfo tinfo,
AuthInfo credentials,
String user,
byte sysPerm,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.hasSystemPermission_call> resultHandler)
|
void |
hasTablePermission(TInfo tinfo,
AuthInfo credentials,
String user,
String tableName,
byte tblPerm,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.hasTablePermission_call> resultHandler)
|
void |
isActive(TInfo tinfo,
long tid,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.isActive_call> resultHandler)
|
void |
listUsers(TInfo tinfo,
AuthInfo credentials,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.listUsers_call> resultHandler)
|
void |
ping(AuthInfo credentials,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.ping_call> resultHandler)
|
void |
revokeSystemPermission(TInfo tinfo,
AuthInfo credentials,
String user,
byte permission,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.revokeSystemPermission_call> resultHandler)
|
void |
revokeTablePermission(TInfo tinfo,
AuthInfo credentials,
String user,
String tableName,
byte permission,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.revokeTablePermission_call> resultHandler)
|
getRootTabletLocation
void getRootTabletLocation(org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getRootTabletLocation_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
getInstanceId
void getInstanceId(org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getInstanceId_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
getZooKeepers
void getZooKeepers(org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getZooKeepers_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
bulkImportFiles
void bulkImportFiles(TInfo tinfo,
AuthInfo credentials,
long tid,
String tableId,
List<String> files,
String errorDir,
boolean setTime,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.bulkImportFiles_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
isActive
void isActive(TInfo tinfo,
long tid,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.isActive_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
ping
void ping(AuthInfo credentials,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.ping_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
authenticateUser
void authenticateUser(TInfo tinfo,
AuthInfo credentials,
String user,
ByteBuffer password,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.authenticateUser_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
listUsers
void listUsers(TInfo tinfo,
AuthInfo credentials,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.listUsers_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
createUser
void createUser(TInfo tinfo,
AuthInfo credentials,
String user,
ByteBuffer password,
List<ByteBuffer> authorizations,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.createUser_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
dropUser
void dropUser(TInfo tinfo,
AuthInfo credentials,
String user,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.dropUser_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
changePassword
void changePassword(TInfo tinfo,
AuthInfo credentials,
String user,
ByteBuffer password,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.changePassword_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
changeAuthorizations
void changeAuthorizations(TInfo tinfo,
AuthInfo credentials,
String user,
List<ByteBuffer> authorizations,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.changeAuthorizations_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
getUserAuthorizations
void getUserAuthorizations(TInfo tinfo,
AuthInfo credentials,
String user,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getUserAuthorizations_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
hasSystemPermission
void hasSystemPermission(TInfo tinfo,
AuthInfo credentials,
String user,
byte sysPerm,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.hasSystemPermission_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
hasTablePermission
void hasTablePermission(TInfo tinfo,
AuthInfo credentials,
String user,
String tableName,
byte tblPerm,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.hasTablePermission_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
grantSystemPermission
void grantSystemPermission(TInfo tinfo,
AuthInfo credentials,
String user,
byte permission,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.grantSystemPermission_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
revokeSystemPermission
void revokeSystemPermission(TInfo tinfo,
AuthInfo credentials,
String user,
byte permission,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.revokeSystemPermission_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
grantTablePermission
void grantTablePermission(TInfo tinfo,
AuthInfo credentials,
String user,
String tableName,
byte permission,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.grantTablePermission_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
revokeTablePermission
void revokeTablePermission(TInfo tinfo,
AuthInfo credentials,
String user,
String tableName,
byte permission,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.revokeTablePermission_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
getConfiguration
void getConfiguration(ConfigurationType type,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getConfiguration_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
getTableConfiguration
void getTableConfiguration(String tableName,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getTableConfiguration_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
checkClass
void checkClass(TInfo tinfo,
String className,
String interfaceMatch,
org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.checkClass_call> resultHandler)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.