public class MdxVisitorImpl extends Object implements MdxVisitor
MdxVisitor
.
The method implementations just ask the child nodes to
Exp.accept(MdxVisitor)
this visitor.
Constructor and Description |
---|
MdxVisitorImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldVisitChildren() |
void |
turnOffVisitChildren() |
void |
turnOnVisitChildren() |
Object |
visit(DimensionExpr dimensionExpr)
Visits a DimensionExpr.
|
Object |
visit(Formula formula)
Visits a Formula.
|
Object |
visit(HierarchyExpr hierarchyExpr)
Visits a HierarchyExpr.
|
Object |
visit(Id id)
Visits an Id.
|
Object |
visit(LevelExpr levelExpr)
Visits a LevelExpr.
|
Object |
visit(Literal literal)
Visits a Literal.
|
Object |
visit(MemberExpr memberExpr)
Visits a MemberExpr.
|
Object |
visit(NamedSetExpr namedSetExpr)
Visits a NamedSetExpr.
|
Object |
visit(ParameterExpr parameterExpr)
Visits a Parameter.
|
Object |
visit(Query query)
Visits a Query.
|
Object |
visit(QueryAxis queryAxis)
Visits a QueryAxis.
|
Object |
visit(ResolvedFunCall call)
Visits a ResolvedFunCall.
|
Object |
visit(UnresolvedFunCall call)
Visits an UnresolvedFunCall.
|
protected Exp[] |
visitArray(Exp[] args)
Visits an array of expressions.
|
public boolean shouldVisitChildren()
shouldVisitChildren
in interface MdxVisitor
public void turnOnVisitChildren()
public void turnOffVisitChildren()
public Object visit(Query query)
MdxVisitor
visit
in interface MdxVisitor
Query.accept(MdxVisitor)
public Object visit(QueryAxis queryAxis)
MdxVisitor
visit
in interface MdxVisitor
QueryAxis.accept(MdxVisitor)
public Object visit(Formula formula)
MdxVisitor
visit
in interface MdxVisitor
Formula.accept(MdxVisitor)
public Object visit(UnresolvedFunCall call)
MdxVisitor
visit
in interface MdxVisitor
UnresolvedFunCall.accept(MdxVisitor)
public Object visit(ResolvedFunCall call)
MdxVisitor
visit
in interface MdxVisitor
ResolvedFunCall.accept(MdxVisitor)
public Object visit(Id id)
MdxVisitor
visit
in interface MdxVisitor
Id.accept(MdxVisitor)
public Object visit(ParameterExpr parameterExpr)
MdxVisitor
visit
in interface MdxVisitor
ParameterExpr.accept(MdxVisitor)
public Object visit(DimensionExpr dimensionExpr)
MdxVisitor
visit
in interface MdxVisitor
DimensionExpr.accept(MdxVisitor)
public Object visit(HierarchyExpr hierarchyExpr)
MdxVisitor
visit
in interface MdxVisitor
HierarchyExpr.accept(MdxVisitor)
public Object visit(LevelExpr levelExpr)
MdxVisitor
visit
in interface MdxVisitor
LevelExpr.accept(MdxVisitor)
public Object visit(MemberExpr memberExpr)
MdxVisitor
visit
in interface MdxVisitor
MemberExpr.accept(MdxVisitor)
public Object visit(NamedSetExpr namedSetExpr)
MdxVisitor
visit
in interface MdxVisitor
NamedSetExpr.accept(MdxVisitor)
public Object visit(Literal literal)
MdxVisitor
visit
in interface MdxVisitor
Literal.accept(MdxVisitor)
protected Exp[] visitArray(Exp[] args)
args
- Array of expressionsargs
iff none of
the expressions are changed.Copyright © 2018 Hitachi Vantara. All rights reserved.