public class Formula extends QueryPart
Formula
is a clause in an MDX query which defines a Set or a
Member.Constructor and Description |
---|
Formula(Id id,
Exp exp)
Constructs formula specifying a set.
|
Formula(Id id,
Exp exp,
MemberProperty[] memberProperties)
Constructs a formula specifying a member.
|
Modifier and Type | Method and Description |
---|---|
Object |
accept(MdxVisitor visitor)
Accepts a visitor to this Formula.
|
Object |
clone() |
void |
compile() |
String |
getCaption()
Returns this formula's caption.
|
Object[] |
getChildren()
Returns an array of the object's children.
|
Exp |
getExpression() |
Id |
getIdentifier()
Returns the Identifier of the set or member which is declared by this
Formula.
|
Member |
getMdxMember()
Returns the Member.
|
String |
getName()
Returns this formula's name.
|
NamedSet |
getNamedSet() |
Number |
getSolveOrder()
Returns the solve order.
|
boolean |
isMember() |
void |
unparse(PrintWriter pw)
Writes a string representation of this parse tree
node to the given writer.
|
public Formula(Id id, Exp exp, MemberProperty[] memberProperties)
public Object[] getChildren()
Walkable
are ignored.getChildren
in class QueryPart
public void unparse(PrintWriter pw)
QueryPart
public boolean isMember()
public NamedSet getNamedSet()
public Id getIdentifier()
public String getName()
public String getCaption()
public Exp getExpression()
public Member getMdxMember()
public Number getSolveOrder()
public void compile()
public Object accept(MdxVisitor visitor)
MdxVisitor.visit(Formula)
method.visitor
- VisitorCopyright © 2020 Hitachi Vantara. All rights reserved.