|
Oracle® OLAP Java API Reference 11g Release 2 (11.2) E10794-01 Beta Draft |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.olapi.syntax.SyntaxObject
oracle.olapi.syntax.DataObject
oracle.olapi.syntax.OrderByClause
public final class OrderByClause
A DataObject
that represents an ordering of the results of the
evaluation of an Expression
.
An OrderByClause
is similar to the ORDER BY
clause
of a SQL SELECT
statement.
The OrderByElement
objects of an OrderByClause
specify the order.
Constructor Summary | |
---|---|
OrderByClause(java.util.List<OrderByElement> elements)
|
|
OrderByClause(OrderByElement[] elements)
Creates an OrderByClause with the specified
OrderByElement objects. |
Method Summary | |
---|---|
OrderByElement[] |
getElements()
Gets the elements of this OrderByClause , which specify
the ordering of the results. |
boolean |
isCompositeObject()
Indicates whether this OrderByClause contains other
SyntaxObject objects. |
java.lang.Object |
visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
Calls the visitOrderByClause method of the
SyntaxObjectVisitor and passes that method this
OrderByClause and an Object . |
Methods inherited from class oracle.olapi.syntax.SyntaxObject |
---|
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrderByClause(OrderByElement[] elements)
OrderByClause
with the specified
OrderByElement
objects.
elements
- An array of OrderByElement
objects that
specify the ordering sequence.public OrderByClause(java.util.List<OrderByElement> elements)
Method Detail |
---|
public java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
visitOrderByClause
method of the
SyntaxObjectVisitor
and passes that method this
OrderByClause
and an Object
.
visit
in class SyntaxObject
visitor
- A SyntaxObjectVisitor
.context
- An Object
.
Object
returned by the
visitOrderByClause
method.public OrderByElement[] getElements()
OrderByClause
, which specify
the ordering of the results.
OrderByElement
objects that specify
the ordering sequence.public boolean isCompositeObject()
OrderByClause
contains other
SyntaxObject
objects.
Because an OrderByClause
contains one or more
OrderByElement
objects, this method returns true
.
boolean
that is true
.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |