## Uses of Class
org.modeshape.jcr.query.QueryBuilder

- Packages that use QueryBuilder
  Package | Description
  --- | ---
  org.modeshape.jcr.query | The Query API provides a mechanism for building and executing queries.

- - ### Uses of QueryBuilder in org.modeshape.jcr.query

    Methods in org.modeshape.jcr.query that return QueryBuilder
    Modifier and Type | Method and Description
    --- | ---
    `QueryBuilder` | QueryBuilder.`clear()` Clear this builder completely to start building a new query.
    `protected QueryBuilder` | QueryBuilder.`clear(boolean clearFirstQuery)` Utility method that does all the work of the clear, but with a flag that defines whether to clear the first query.
    `protected QueryBuilder` | QueryBuilder.JoinClause.`createJoin(JoinCondition condition)`
    `QueryBuilder` | QueryBuilder.OrderByBuilder.`end()` Complete the order-by clause and return the QueryBuilder instance.
    `QueryBuilder` | QueryBuilder.ConstraintBuilder.`end()` Complete this constraint specification.
    `QueryBuilder` | QueryBuilder.`except()` Perform an EXCEPT between the query as defined prior to this method and the query that will be defined following this method.
    `QueryBuilder` | QueryBuilder.`exceptAll()` Perform an EXCEPT ALL between the query as defined prior to this method and the query that will be defined following this method.
    `QueryBuilder` | QueryBuilder.`from(String tableNameWithOptionalAlias)` Specify the name of the table from which tuples should be selected.
    `QueryBuilder` | QueryBuilder.`fromAllNodes()` Specify that the query should select from the "__ALLNODES__" built-in table.
    `QueryBuilder` | QueryBuilder.`fromAllNodesAs(String alias)` Specify that the query should select from the "__ALLNODES__" built-in table using the supplied alias.
    `QueryBuilder` | QueryBuilder.`intersect()` Perform an INTERSECT between the query as defined prior to this method and the query that will be defined following this method.
    `QueryBuilder` | QueryBuilder.`intersectAll()` Perform an INTERSECT ALL between the query as defined prior to this method and the query that will be defined following this method.
    `QueryBuilder` | QueryBuilder.`limit(int rowLimit)` Specify the maximum number of rows that are to be returned in the results.
    `QueryBuilder` | QueryBuilder.`offset(int offset)` Specify the number of rows that results are to skip.
    `QueryBuilder` | QueryBuilder.JoinClause.`on(String columnEqualExpression)` Define the join as using an equi-join criteria by specifying the expression equating two columns.
    `QueryBuilder` | QueryBuilder.JoinClause.`onChildNode(String parentTable, String childTable)` Define the join criteria to require the node in one table is a child of the node in another table.
    `QueryBuilder` | QueryBuilder.JoinClause.`onDescendant(String ancestorTable, String descendantTable)` Define the join criteria to require the node in one table is a descendant of the node in another table.
    `QueryBuilder` | QueryBuilder.JoinClause.`onSameNode(String table1, String table2)` Define the join criteria to require the two tables represent the same node.
    `QueryBuilder` | QueryBuilder.`select(String... columnNames)` Add to the select clause the columns with the supplied names.
    `QueryBuilder` | QueryBuilder.`selectDistinct(String... columnNames)` Select the distinct values from the columns with the supplied names.
    `QueryBuilder` | QueryBuilder.`selectDistinctStar()` Select all of the distinct values from the single-valued columns.
    `QueryBuilder` | QueryBuilder.`selectStar()` Select all of the single-valued columns.
    `QueryBuilder` | QueryBuilder.`union()` Perform a UNION between the query as defined prior to this method and the query that will be defined following this method.
    `QueryBuilder` | QueryBuilder.`unionAll()` Perform a UNION ALL between the query as defined prior to this method and the query that will be defined following this method.

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