Class OrderingImpl
java.lang.Object
org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
org.apache.jackrabbit.spi.commons.query.qom.OrderingImpl
- All Implemented Interfaces:
Ordering
OrderingImpl...-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionaccept(QOMTreeVisitor visitor, Object data) Accepts avisitorand calls the appropriate visit method depending on the type of this QOM node.The operand by which to order.getOrder()Gets the order.booleantoString()
-
Field Details
-
EMPTY_ARRAY
EmptyOrderingImplarray.
-
-
Method Details
-
getOperand
The operand by which to order.- Specified by:
getOperandin interfaceOrdering- Returns:
- the operand; non-null
-
getOrder
Gets the order. -
isAscending
public boolean isAscending()- Returns:
trueif this ordering is ascending. Returnsfalseif ordering is descending.
-
accept
Accepts avisitorand calls the appropriate visit method depending on the type of this QOM node.- Specified by:
acceptin classAbstractQOMNode- Parameters:
visitor- the visitor.data- user defined data, which is passed to the visit method.- Throws:
Exception
-
toString
-