public static class ClientService.AsyncClient extends org.apache.thrift.async.TAsyncClient implements ClientService.AsyncIface
Constructor and Description |
---|
ClientService.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport) |
Modifier and Type | Method and Description |
---|---|
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) |
public ClientService.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
public void getRootTabletLocation(org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getRootTabletLocation_call> resultHandler) throws org.apache.thrift.TException
getRootTabletLocation
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void getInstanceId(org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getInstanceId_call> resultHandler) throws org.apache.thrift.TException
getInstanceId
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void getZooKeepers(org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getZooKeepers_call> resultHandler) throws org.apache.thrift.TException
getZooKeepers
in interface ClientService.AsyncIface
org.apache.thrift.TException
public 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
bulkImportFiles
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void isActive(TInfo tinfo, long tid, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.isActive_call> resultHandler) throws org.apache.thrift.TException
isActive
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void ping(AuthInfo credentials, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.ping_call> resultHandler) throws org.apache.thrift.TException
ping
in interface ClientService.AsyncIface
org.apache.thrift.TException
public 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
authenticateUser
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void listUsers(TInfo tinfo, AuthInfo credentials, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.listUsers_call> resultHandler) throws org.apache.thrift.TException
listUsers
in interface ClientService.AsyncIface
org.apache.thrift.TException
public 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
createUser
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void dropUser(TInfo tinfo, AuthInfo credentials, String user, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.dropUser_call> resultHandler) throws org.apache.thrift.TException
dropUser
in interface ClientService.AsyncIface
org.apache.thrift.TException
public 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
changePassword
in interface ClientService.AsyncIface
org.apache.thrift.TException
public 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
changeAuthorizations
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void getUserAuthorizations(TInfo tinfo, AuthInfo credentials, String user, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getUserAuthorizations_call> resultHandler) throws org.apache.thrift.TException
getUserAuthorizations
in interface ClientService.AsyncIface
org.apache.thrift.TException
public 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
hasSystemPermission
in interface ClientService.AsyncIface
org.apache.thrift.TException
public 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
hasTablePermission
in interface ClientService.AsyncIface
org.apache.thrift.TException
public 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
grantSystemPermission
in interface ClientService.AsyncIface
org.apache.thrift.TException
public 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
revokeSystemPermission
in interface ClientService.AsyncIface
org.apache.thrift.TException
public 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
grantTablePermission
in interface ClientService.AsyncIface
org.apache.thrift.TException
public 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
revokeTablePermission
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void getConfiguration(ConfigurationType type, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getConfiguration_call> resultHandler) throws org.apache.thrift.TException
getConfiguration
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void getTableConfiguration(String tableName, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.getTableConfiguration_call> resultHandler) throws org.apache.thrift.TException
getTableConfiguration
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void checkClass(TInfo tinfo, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback<ClientService.AsyncClient.checkClass_call> resultHandler) throws org.apache.thrift.TException
checkClass
in interface ClientService.AsyncIface
org.apache.thrift.TException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.