/** * Performs a deep copy on <i>other</i>. */ public create_sentry_role_result(create_sentry_role_result other) { if (other.isSetSuccess()) { this.success = new TCreateSentryRoleResponse(other.success); } }
/** * Performs a deep copy on <i>other</i>. */ public alter_sentry_role_delete_groups_result(alter_sentry_role_delete_groups_result other) { if (other.isSetSuccess()) { this.success = new TAlterSentryRoleDeleteGroupsResponse(other.success); } }
public void send_create_sentry_role(TCreateSentryRoleRequest request) throws org.apache.thrift.TException { create_sentry_role_args args = new create_sentry_role_args(); args.setRequest(request); sendBase("create_sentry_role", args); }
@Override public void runTestAsSubject() throws Exception { Set<TSentryRole> tRoles = client.listAllRoles(SentryServiceIntegrationBase.ADMIN_USER, COMPONENT); for (TSentryRole tRole : tRoles) { client.dropRole(SentryServiceIntegrationBase.ADMIN_USER, tRole.getRoleName(), COMPONENT); } if (client != null) { client.close(); } } });
/** * Performs a deep copy on <i>other</i>. */ public alter_sentry_role_grant_privilege_result(alter_sentry_role_grant_privilege_result other) { if (other.isSetSuccess()) { this.success = new TAlterSentryRoleGrantPrivilegeResponse(other.success); } }
/** * Performs a deep copy on <i>other</i>. */ public alter_sentry_role_add_groups_result(alter_sentry_role_add_groups_result other) { if (other.isSetSuccess()) { this.success = new TAlterSentryRoleAddGroupsResponse(other.success); } }
/** * Performs a deep copy on <i>other</i>. */ public drop_sentry_role_result(drop_sentry_role_result other) { if (other.isSetSuccess()) { this.success = new TDropSentryRoleResponse(other.success); } }
public void send_alter_sentry_role_grant_privilege(TAlterSentryRoleGrantPrivilegeRequest request) throws org.apache.thrift.TException { alter_sentry_role_grant_privilege_args args = new alter_sentry_role_grant_privilege_args(); args.setRequest(request); sendBase("alter_sentry_role_grant_privilege", args); }
public void send_list_sentry_roles_by_group(TListSentryRolesRequest request) throws org.apache.thrift.TException { list_sentry_roles_by_group_args args = new list_sentry_roles_by_group_args(); args.setRequest(request); sendBase("list_sentry_roles_by_group", args); }
/** * Performs a deep copy on <i>other</i>. */ public drop_sentry_role_args(drop_sentry_role_args other) { if (other.isSetRequest()) { this.request = new TDropSentryRoleRequest(other.request); } }
/** * Performs a deep copy on <i>other</i>. */ public alter_sentry_role_revoke_privilege_args(alter_sentry_role_revoke_privilege_args other) { if (other.isSetRequest()) { this.request = new TAlterSentryRoleRevokePrivilegeRequest(other.request); } }
/** * Performs a deep copy on <i>other</i>. */ public rename_sentry_privilege_result(rename_sentry_privilege_result other) { if (other.isSetSuccess()) { this.success = new TRenamePrivilegesResponse(other.success); } }
public void send_rename_sentry_privilege(TRenamePrivilegesRequest request) throws org.apache.thrift.TException { rename_sentry_privilege_args args = new rename_sentry_privilege_args(); args.setRequest(request); sendBase("rename_sentry_privilege", args); }
/** * Performs a deep copy on <i>other</i>. */ public list_sentry_privileges_for_provider_result(list_sentry_privileges_for_provider_result other) { if (other.isSetSuccess()) { this.success = new TListSentryPrivilegesForProviderResponse(other.success); } }
/** * Performs a deep copy on <i>other</i>. */ public drop_sentry_privilege_args(drop_sentry_privilege_args other) { if (other.isSetRequest()) { this.request = new TDropPrivilegesRequest(other.request); } }
/** * Performs a deep copy on <i>other</i>. */ public drop_sentry_privilege_result(drop_sentry_privilege_result other) { if (other.isSetSuccess()) { this.success = new TDropPrivilegesResponse(other.success); } }
public void send_drop_sentry_privilege(TDropPrivilegesRequest request) throws org.apache.thrift.TException { drop_sentry_privilege_args args = new drop_sentry_privilege_args(); args.setRequest(request); sendBase("drop_sentry_privilege", args); }
public rename_sentry_privilege_result getResult(I iface, rename_sentry_privilege_args args) throws org.apache.thrift.TException { rename_sentry_privilege_result result = new rename_sentry_privilege_result(); result.success = iface.rename_sentry_privilege(args.request); return result; } }
public alter_sentry_role_delete_groups_result getResult(I iface, alter_sentry_role_delete_groups_args args) throws org.apache.thrift.TException { alter_sentry_role_delete_groups_result result = new alter_sentry_role_delete_groups_result(); result.success = iface.alter_sentry_role_delete_groups(args.request); return result; } }
public list_sentry_privileges_by_role_result getResult(I iface, list_sentry_privileges_by_role_args args) throws org.apache.thrift.TException { list_sentry_privileges_by_role_result result = new list_sentry_privileges_by_role_result(); result.success = iface.list_sentry_privileges_by_role(args.request); return result; } }