Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.modeshape.jcr.query
Class QueryBuilder.SingleOrderByOperandBuilder

    java.lang.Object
      org.modeshape.jcr.query.QueryBuilder.SingleOrderByOperandBuilder

All Implemented Interfaces:
  QueryBuilder.OrderByOperandBuilder

Enclosing class:
  QueryBuilder

    protected class QueryBuilder.SingleOrderByOperandBuilder

extends Object
implements QueryBuilder.OrderByOperandBuilder

Constructor Summary
`protected` | `QueryBuilder.SingleOrderByOperandBuilder(QueryBuilder.OrderByBuilder builder, Order order)`

Method Summary
`protected QueryBuilder.OrderByBuilder` | `addOrdering(DynamicOperand operand)`
`QueryBuilder.OrderByBuilder` | `depth(String table)` Adds to the order-by clause by using the depth of the node given by the named table.
`QueryBuilder.OrderByBuilder` | `fullTextSearchScore(String table)` Adds to the order-by clause by using the full-text search score for the given table.
`QueryBuilder.OrderByBuilder` | `length(String table, String property)` Adds to the order-by clause by using the length of the value for the given table and property.
`QueryBuilder.OrderByOperandBuilder` | `lowerCaseOf()` Adds to the order-by clause by using the lowercase form of the next operand.
`QueryBuilder.OrderByBuilder` | `nodeLocalName(String table)` Adds to the order-by clause by using the local name of the node given by the named table.
`QueryBuilder.OrderByBuilder` | `nodeName(String table)` Adds to the order-by clause by using the node name (including namespace) of the node given by the named table.
`QueryBuilder.OrderByBuilder` | `path(String table)` Adds to the order-by clause by using the path of the node given by the named table.
`QueryBuilder.OrderByBuilder` | `propertyValue(String table, String property)` Adds to the order-by clause by using the value for the given table and property.
`QueryBuilder.OrderByBuilder` | `referenceValue(String table)` Constrains the nodes in the the supplied table such that they must have a matching value for any of the node's reference properties.
`QueryBuilder.OrderByBuilder` | `referenceValue(String table, String property)` Constrains the nodes in the the supplied table such that they must have a matching value for the named property.
`QueryBuilder.OrderByOperandBuilder` | `upperCaseOf()` Adds to the order-by clause by using the uppercase form of the next operand.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### QueryBuilder.SingleOrderByOperandBuilder

    protected QueryBuilder.SingleOrderByOperandBuilder(QueryBuilder.OrderByBuilder builder,
                                                       Order order)

Method Detail

### addOrdering

    protected QueryBuilder.OrderByBuilder addOrdering(DynamicOperand operand)

### propertyValue

    public QueryBuilder.OrderByBuilder propertyValue(String table,
                                                     String property)

  Description copied from interface: `QueryBuilder.OrderByOperandBuilder`
  Adds to the order-by clause by using the value for the given table and property.

  Specified by:
    `propertyValue` in interface `QueryBuilder.OrderByOperandBuilder`
  Parameters:
    `table` - the name of the table; may not be null and must refer to a valid name or alias of a table appearing in the FROM clause
    `property` - the name of the property; may not be null and must refer to a valid property name
  Returns:
    the interface for completing the order-by specification; never null

### referenceValue

    public QueryBuilder.OrderByBuilder referenceValue(String table)

  Description copied from interface: `QueryBuilder.OrderByOperandBuilder`
  Constrains the nodes in the the supplied table such that they must have a matching value for any of the node's reference properties.

  Specified by:
    `referenceValue` in interface `QueryBuilder.OrderByOperandBuilder`
  Parameters:
    `table` - the name of the table; may not be null and must refer to a valid name or alias of a table appearing in the FROM clause
  Returns:
    the interface for completing the order-by specification; never null

### referenceValue

    public QueryBuilder.OrderByBuilder referenceValue(String table,
                                                      String property)

  Description copied from interface: `QueryBuilder.OrderByOperandBuilder`
  Constrains the nodes in the the supplied table such that they must have a matching value for the named property.

  Specified by:
    `referenceValue` in interface `QueryBuilder.OrderByOperandBuilder`
  Parameters:
    `table` - the name of the table; may not be null and must refer to a valid name or alias of a table appearing in the FROM clause
    `property` - the name of the reference property; may be null if the constraint applies to all/any reference properties on the node
  Returns:
    the interface for completing the order-by specification; never null

### length

    public QueryBuilder.OrderByBuilder length(String table,
                                              String property)

  Description copied from interface: `QueryBuilder.OrderByOperandBuilder`
  Adds to the order-by clause by using the length of the value for the given table and property.

  Specified by:
    `length` in interface `QueryBuilder.OrderByOperandBuilder`
  Parameters:
    `table` - the name of the table; may not be null and must refer to a valid name or alias of a table appearing in the FROM clause
    `property` - the name of the property; may not be null and must refer to a valid property name
  Returns:
    the interface for completing the order-by specification; never null

### fullTextSearchScore

    public QueryBuilder.OrderByBuilder fullTextSearchScore(String table)

  Description copied from interface: `QueryBuilder.OrderByOperandBuilder`
  Adds to the order-by clause by using the full-text search score for the given table.

  Specified by:
    `fullTextSearchScore` in interface `QueryBuilder.OrderByOperandBuilder`
  Parameters:
    `table` - the name of the table; may not be null and must refer to a valid name or alias of a table appearing in the FROM clause
  Returns:
    the interface for completing the order-by specification; never null

### depth

    public QueryBuilder.OrderByBuilder depth(String table)

  Description copied from interface: `QueryBuilder.OrderByOperandBuilder`
  Adds to the order-by clause by using the depth of the node given by the named table.

  Specified by:
    `depth` in interface `QueryBuilder.OrderByOperandBuilder`
  Parameters:
    `table` - the name of the table; may not be null and must refer to a valid name or alias of a table appearing in the FROM clause
  Returns:
    the interface for completing the order-by specification; never null

### path

    public QueryBuilder.OrderByBuilder path(String table)

  Description copied from interface: `QueryBuilder.OrderByOperandBuilder`
  Adds to the order-by clause by using the path of the node given by the named table.

  Specified by:
    `path` in interface `QueryBuilder.OrderByOperandBuilder`
  Parameters:
    `table` - the name of the table; may not be null and must refer to a valid name or alias of a table appearing in the FROM clause
  Returns:
    the interface for completing the order-by specification; never null

### nodeName

    public QueryBuilder.OrderByBuilder nodeName(String table)

  Description copied from interface: `QueryBuilder.OrderByOperandBuilder`
  Adds to the order-by clause by using the node name (including namespace) of the node given by the named table.

  Specified by:
    `nodeName` in interface `QueryBuilder.OrderByOperandBuilder`
  Parameters:
    `table` - the name of the table; may not be null and must refer to a valid name or alias of a table appearing in the FROM clause
  Returns:
    the interface for completing the order-by specification; never null

### nodeLocalName

    public QueryBuilder.OrderByBuilder nodeLocalName(String table)

  Description copied from interface: `QueryBuilder.OrderByOperandBuilder`
  Adds to the order-by clause by using the local name of the node given by the named table.

  Specified by:
    `nodeLocalName` in interface `QueryBuilder.OrderByOperandBuilder`
  Parameters:
    `table` - the name of the table; may not be null and must refer to a valid name or alias of a table appearing in the FROM clause
  Returns:
    the interface for completing the order-by specification; never null

### lowerCaseOf

    public QueryBuilder.OrderByOperandBuilder lowerCaseOf()

  Description copied from interface: `QueryBuilder.OrderByOperandBuilder`
  Adds to the order-by clause by using the lowercase form of the next operand.

  Specified by:
    `lowerCaseOf` in interface `QueryBuilder.OrderByOperandBuilder`
  Returns:
    the interface for completing the order-by specification; never null

### upperCaseOf

    public QueryBuilder.OrderByOperandBuilder upperCaseOf()

  Description copied from interface: `QueryBuilder.OrderByOperandBuilder`
  Adds to the order-by clause by using the uppercase form of the next operand.

  Specified by:
    `upperCaseOf` in interface `QueryBuilder.OrderByOperandBuilder`
  Returns:
    the interface for completing the order-by specification; never null

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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