|
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.Expression
oracle.olapi.syntax.TypedExpression
oracle.olapi.syntax.QDRExpression
public final class QDRExpression
A TypedExpression
that represents a qualified data reference
(QDR).
A QDR specifies single members of a set of dimensions and limits an
expression to the data specified by those members.
Each dimension member is specified by a Qualifier
.
A QDRExpression
is similar to a SQL Model
clause.
Constructor Summary | |
---|---|
QDRExpression(TypedExpression base,
java.util.List<Qualifier> qualifiers)
Creates a QDRExpression with the specified base
expression and dimension member qualifiers. |
|
QDRExpression(TypedExpression base,
Qualifier[] qualifiers)
Creates a QDRExpression with the specified base
expression and dimension member qualifiers. |
Method Summary | |
---|---|
TypedExpression |
getBaseExpression()
Gets the base expression of this QDRExpression . |
Qualifier[] |
getQualifiers()
Gets the qualifiers of this QDRExpression . |
boolean |
isCompositeObject()
Indicates whether this QDRExpression contains other
SyntaxObject objects. |
java.lang.Object |
visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
Calls the visitQDRExpression method of the
SyntaxObjectVisitor and passes that method this
QDRExpression 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 QDRExpression(TypedExpression base, Qualifier[] qualifiers)
QDRExpression
with the specified base
expression and dimension member qualifiers.
base
- A TypedExpression
that evaluates to the
an expression that references the dimensions of the qualifiers.qualifiers
- An array of Qualifier
objects,
each of which limits a dimension to a single member.public QDRExpression(TypedExpression base, java.util.List<Qualifier> qualifiers)
QDRExpression
with the specified base
expression and dimension member qualifiers.
base
- A TypedExpression
that evaluates to the
an expression that references the dimensions of the qualifiers.qualifiers
- A List
of Qualifier
objects,
each of which limits a dimension to a single member.Method Detail |
---|
public java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
visitQDRExpression
method of the
SyntaxObjectVisitor
and passes that method this
QDRExpression
and an Object
.
visit
in class SyntaxObject
visitor
- A SyntaxObjectVisitor
.context
- An Object
.
Object
returned by the
visitQDRExpression
method.public TypedExpression getBaseExpression()
QDRExpression
.
TypedExpression
that evaluates to the base
expression of this QDRExpression
.public Qualifier[] getQualifiers()
QDRExpression
.
Qualifier
objects that limit the data
of the base expression of this QDRExpression
.public boolean isCompositeObject()
QDRExpression
contains other
SyntaxObject
objects.
Because a QDRExpression
contains a base
TypedExpression
and one or more Qualifier
objects, this method returns true
.
boolean
that is true
if this
QDRExpression
contains other SyntaxObject
objects or false
if it does not.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |