org.modeshape.jcr.api.query.qom

## Interface SetQuery

- All Superinterfaces:
    QueryCommand
  All Known Subinterfaces:
    SetQueryObjectModel
  All Known Implementing Classes:
    SetQuery, SetQueryObjectModel

      public interface SetQuery
      extends QueryCommand

  Represents a set query.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `QueryCommand` | `getLeft()` Get the left-hand query.
    `String` | `getOperation()` Get the set operation for this query.
    `QueryCommand` | `getRight()` Get the right-hand query.
    `boolean` | `isAll()` Return whether this set query is a 'UNION ALL' or 'INTERSECT ALL' or 'EXCEPT ALL' query.

    - ### Methods inherited from interface org.modeshape.jcr.api.query.qom.QueryCommand

      `getColumns, getLimits, getOrderings`

- - ### Method Detail

    - #### getLeft

          QueryCommand getLeft()

      Get the left-hand query.
      Returns:
        the left-hand query; never null

    - #### getRight

          QueryCommand getRight()

      Get the right-hand query.
      Returns:
        the right-hand query; never null

    - #### getOperation

          String getOperation()

      Get the set operation for this query.
      Returns:
        the operation; never null

    - #### isAll

          boolean isAll()

      Return whether this set query is a 'UNION ALL' or 'INTERSECT ALL' or 'EXCEPT ALL' query.
      Returns:
        true if this is an 'ALL' query, or false otherwise

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.