public static class ClientService.AsyncClient extends org.apache.thrift.async.TAsyncClient implements ClientService.AsyncIface
Constructor and Description |
---|
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 |
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) |
public 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 resultHandler) throws org.apache.thrift.TException
getRootTabletLocation
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void getInstanceId(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getInstanceId
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void getZooKeepers(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getZooKeepers
in interface ClientService.AsyncIface
org.apache.thrift.TException
public 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
bulkImportFiles
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void isActive(TInfo tinfo, long tid, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
isActive
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void ping(TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
ping
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void getDiskUsage(Set<String> tables, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getDiskUsage
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void listLocalUsers(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
listLocalUsers
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void createLocalUser(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
createLocalUser
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void dropLocalUser(TInfo tinfo, TCredentials credentials, String principal, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
dropLocalUser
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void changeLocalUserPassword(TInfo tinfo, TCredentials credentials, String principal, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
changeLocalUserPassword
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void authenticate(TInfo tinfo, TCredentials credentials, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
authenticate
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void authenticateUser(TInfo tinfo, TCredentials credentials, TCredentials toAuth, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
authenticateUser
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void changeAuthorizations(TInfo tinfo, TCredentials credentials, String principal, List<ByteBuffer> authorizations, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
changeAuthorizations
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void getUserAuthorizations(TInfo tinfo, TCredentials credentials, String principal, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getUserAuthorizations
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void hasSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte sysPerm, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
hasSystemPermission
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void hasTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte tblPerm, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
hasTablePermission
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void hasNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte tblNspcPerm, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
hasNamespacePermission
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void grantSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte permission, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
grantSystemPermission
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void revokeSystemPermission(TInfo tinfo, TCredentials credentials, String principal, byte permission, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
revokeSystemPermission
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void grantTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte permission, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
grantTablePermission
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void revokeTablePermission(TInfo tinfo, TCredentials credentials, String principal, String tableName, byte permission, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
revokeTablePermission
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void grantNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte permission, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
grantNamespacePermission
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void revokeNamespacePermission(TInfo tinfo, TCredentials credentials, String principal, String ns, byte permission, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
revokeNamespacePermission
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void getConfiguration(TInfo tinfo, TCredentials credentials, ConfigurationType type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getConfiguration
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void getTableConfiguration(TInfo tinfo, TCredentials credentials, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getTableConfiguration
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void getNamespaceConfiguration(TInfo tinfo, TCredentials credentials, String ns, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getNamespaceConfiguration
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void checkClass(TInfo tinfo, TCredentials credentials, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
checkClass
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void checkTableClass(TInfo tinfo, TCredentials credentials, String tableId, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
checkTableClass
in interface ClientService.AsyncIface
org.apache.thrift.TException
public void checkNamespaceClass(TInfo tinfo, TCredentials credentials, String namespaceId, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
checkNamespaceClass
in interface ClientService.AsyncIface
org.apache.thrift.TException
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.