Top Description Constructors Methods
org.eclipse.persistence.jpa.jpql.parser

public final Class OrderByClause

extends AbstractOrderByClause
Class Inheritance

The ORDER BY clause allows the objects or values that are returned by the query to be ordered.
BNF: orderby_clause ::= ORDER BY orderby_item {, orderby_item}*
Author
Pascal Filion
Since
2.3
Version
2.5

Constructor Summary

AccessConstructor and Description
public
OrderByClause(AbstractExpression
The parent of this expression
parent
)

Creates a new OrderByClause.

Method Summary

Modifier and TypeMethod and Description
public void
accept(ExpressionVisitor
The ExpressionVisitor to visit this object
visitor
)

Implements org.eclipse.persistence.jpa.jpql.parser.Expression.accept.

Visits this Expression by the given visitor.
public JPQLQueryBNF
Inherited from org.eclipse.persistence.jpa.jpql.parser.AbstractOrderByClause:
acceptChildrenaddChildrenToaddOrderedChildrenTobuildCollectionExpressionfindQueryBNFgetActualIdentifiergetOrderByItemshasOrderByItemshasSpaceAfterIdentifierparsetoParsedText

Constructor Detail

OrderByClauseback to summary
public OrderByClause(AbstractExpression parent)

Creates a new OrderByClause.

Parameters
parent:AbstractExpression

The parent of this expression

Method Detail

acceptback to summary
public void accept(ExpressionVisitor visitor)

Implements org.eclipse.persistence.jpa.jpql.parser.Expression.accept.

Doc from org.eclipse.persistence.jpa.jpql.parser.Expression.accept.

Visits this Expression by the given visitor.

Parameters
visitor:ExpressionVisitor

The ExpressionVisitor to visit this object

Annotations
@Override
getQueryBNFback to summary
public JPQLQueryBNF getQueryBNF()

Implements org.eclipse.persistence.jpa.jpql.parser.Expression.getQueryBNF.

Doc from org.eclipse.persistence.jpa.jpql.parser.Expression.getQueryBNF.

Returns the BNF of this Expression.

Returns:JPQLQueryBNF

The JPQLQueryBNF, which represents the grammar of this Expression

Annotations
@Override