Class RetrieveOneAclQuery

All Implemented Interfaces:
RemoteQuery<RetrieveOneAclQuery.Result>, Serializable

public class RetrieveOneAclQuery extends ContextAwareRemoteQuery<RetrieveOneAclQuery.Result>
A ContextAwareRemoteQuery that retrieves a single ACL.
See Also:
  • Constructor Details

    • RetrieveOneAclQuery

      public RetrieveOneAclQuery(String group, String namespace, String tableName)
      Construct a query that retrieves one Row ACL for the specified group, table and namespace.
      Parameters:
      group - the group of the acl
      namespace - the namespace
      tableName - the table name
    • RetrieveOneAclQuery

      public RetrieveOneAclQuery(String group, String namespace, String tableName, String columns)
      Construct a query that retrieves one Column ACL for the specified group, table and namespace.
      Parameters:
      group - the group of the ACL
      namespace - the namespace
      tableName - the table name
      columns - the applicable columns
  • Method Details

    • execute

      public RetrieveOneAclQuery.Result execute(Database database)
      Description copied from interface: RemoteQuery
      Execute a query on a remote host.
      Parameters:
      database - database to use for execution.
      Returns:
      result of the query.