org.apache.jackrabbit.spi.commons.query.jsr283.qom
Interface Ordering

All Known Implementing Classes:
OrderingImpl

public interface Ordering

Determines the relative order of two node-tuples by evaluating operand for each.

For a first node-tuple, nt1, for which operand evaluates to v1, and a second node-tuple, nt2, for which operand evaluates to v2:

The query is invalid if operand does not evaluate to a scalar value.

Since:
JCR 2.0

Method Summary
 DynamicOperand getOperand()
          The operand by which to order.
 int getOrder()
          Gets the order.
 

Method Detail

getOperand

DynamicOperand getOperand()
The operand by which to order.

Returns:
the operand; non-null

getOrder

int getOrder()
Gets the order.

Returns:
either


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.