public class OrderingImpl extends AbstractQOMNode implements javax.jcr.query.qom.Ordering
OrderingImpl
...Modifier and Type | Field and Description |
---|---|
static OrderingImpl[] |
EMPTY_ARRAY
Empty
OrderingImpl array. |
resolver
Modifier and Type | Method and Description |
---|---|
Object |
accept(QOMTreeVisitor visitor,
Object data)
Accepts a
visitor and calls the appropriate visit method
depending on the type of this QOM node. |
javax.jcr.query.qom.DynamicOperand |
getOperand()
The operand by which to order.
|
String |
getOrder()
Gets the order.
|
boolean |
isAscending() |
String |
toString() |
getJCRName, getJCRPath, protect, quote, quote
public static final OrderingImpl[] EMPTY_ARRAY
OrderingImpl
array.public javax.jcr.query.qom.DynamicOperand getOperand()
getOperand
in interface javax.jcr.query.qom.Ordering
public String getOrder()
getOrder
in interface javax.jcr.query.qom.Ordering
QueryObjectModelConstants.JCR_ORDER_ASCENDING
orQueryObjectModelConstants.JCR_ORDER_DESCENDING
public boolean isAscending()
true
if this ordering is ascending. Returns
false
if ordering is descending.public Object accept(QOMTreeVisitor visitor, Object data) throws Exception
visitor
and calls the appropriate visit method
depending on the type of this QOM node.accept
in class AbstractQOMNode
visitor
- the visitor.data
- user defined data, which is passed to the visit method.Exception
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.