public static class SentryPolicyService.AsyncClient extends org.apache.thrift.async.TAsyncClient implements SentryPolicyService.AsyncIface
Constructor and Description |
---|
SentryPolicyService.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport) |
public SentryPolicyService.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
public void create_sentry_role(TCreateSentryRoleRequest request, org.apache.thrift.async.AsyncMethodCallback<SentryPolicyService.AsyncClient.create_sentry_role_call> resultHandler) throws org.apache.thrift.TException
create_sentry_role
in interface SentryPolicyService.AsyncIface
org.apache.thrift.TException
public void drop_sentry_role(TDropSentryRoleRequest request, org.apache.thrift.async.AsyncMethodCallback<SentryPolicyService.AsyncClient.drop_sentry_role_call> resultHandler) throws org.apache.thrift.TException
drop_sentry_role
in interface SentryPolicyService.AsyncIface
org.apache.thrift.TException
public void alter_sentry_role_grant_privilege(TAlterSentryRoleGrantPrivilegeRequest request, org.apache.thrift.async.AsyncMethodCallback<SentryPolicyService.AsyncClient.alter_sentry_role_grant_privilege_call> resultHandler) throws org.apache.thrift.TException
alter_sentry_role_grant_privilege
in interface SentryPolicyService.AsyncIface
org.apache.thrift.TException
public void alter_sentry_role_revoke_privilege(TAlterSentryRoleRevokePrivilegeRequest request, org.apache.thrift.async.AsyncMethodCallback<SentryPolicyService.AsyncClient.alter_sentry_role_revoke_privilege_call> resultHandler) throws org.apache.thrift.TException
alter_sentry_role_revoke_privilege
in interface SentryPolicyService.AsyncIface
org.apache.thrift.TException
public void alter_sentry_role_add_groups(TAlterSentryRoleAddGroupsRequest request, org.apache.thrift.async.AsyncMethodCallback<SentryPolicyService.AsyncClient.alter_sentry_role_add_groups_call> resultHandler) throws org.apache.thrift.TException
alter_sentry_role_add_groups
in interface SentryPolicyService.AsyncIface
org.apache.thrift.TException
public void alter_sentry_role_delete_groups(TAlterSentryRoleDeleteGroupsRequest request, org.apache.thrift.async.AsyncMethodCallback<SentryPolicyService.AsyncClient.alter_sentry_role_delete_groups_call> resultHandler) throws org.apache.thrift.TException
alter_sentry_role_delete_groups
in interface SentryPolicyService.AsyncIface
org.apache.thrift.TException
public void list_sentry_roles_by_group(TListSentryRolesRequest request, org.apache.thrift.async.AsyncMethodCallback<SentryPolicyService.AsyncClient.list_sentry_roles_by_group_call> resultHandler) throws org.apache.thrift.TException
list_sentry_roles_by_group
in interface SentryPolicyService.AsyncIface
org.apache.thrift.TException
public void list_sentry_privileges_by_role(TListSentryPrivilegesRequest request, org.apache.thrift.async.AsyncMethodCallback<SentryPolicyService.AsyncClient.list_sentry_privileges_by_role_call> resultHandler) throws org.apache.thrift.TException
list_sentry_privileges_by_role
in interface SentryPolicyService.AsyncIface
org.apache.thrift.TException
public void list_sentry_privileges_for_provider(TListSentryPrivilegesForProviderRequest request, org.apache.thrift.async.AsyncMethodCallback<SentryPolicyService.AsyncClient.list_sentry_privileges_for_provider_call> resultHandler) throws org.apache.thrift.TException
list_sentry_privileges_for_provider
in interface SentryPolicyService.AsyncIface
org.apache.thrift.TException
public void drop_sentry_privilege(TDropPrivilegesRequest request, org.apache.thrift.async.AsyncMethodCallback<SentryPolicyService.AsyncClient.drop_sentry_privilege_call> resultHandler) throws org.apache.thrift.TException
drop_sentry_privilege
in interface SentryPolicyService.AsyncIface
org.apache.thrift.TException
public void rename_sentry_privilege(TRenamePrivilegesRequest request, org.apache.thrift.async.AsyncMethodCallback<SentryPolicyService.AsyncClient.rename_sentry_privilege_call> resultHandler) throws org.apache.thrift.TException
rename_sentry_privilege
in interface SentryPolicyService.AsyncIface
org.apache.thrift.TException
public void list_sentry_privileges_by_authorizable(TListSentryPrivilegesByAuthRequest request, org.apache.thrift.async.AsyncMethodCallback<SentryPolicyService.AsyncClient.list_sentry_privileges_by_authorizable_call> resultHandler) throws org.apache.thrift.TException
list_sentry_privileges_by_authorizable
in interface SentryPolicyService.AsyncIface
org.apache.thrift.TException
Copyright © 2015 Cloudera. All rights reserved.