Package mondrian.calc
Class CalcWriter
java.lang.Object
mondrian.calc.CalcWriter
Visitor which serializes an expression to text.
- Since:
- Dec 23, 2005
- Author:
- jhyde
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether to print out attributes relating to how a statement was actually executed.void
indent()
Increases the indentation level.void
outdent()
Decreases the indentation level.void
setParentArgs
(Calc calc, Map<String, Object> argumentMap) void
void
visitChild
(int ordinal, Calc calc)
-
Constructor Details
-
CalcWriter
-
-
Method Details
-
getWriter
-
visitChild
-
visitCalc
-
indent
public void indent()Increases the indentation level. -
outdent
public void outdent()Decreases the indentation level. -
setParentArgs
-
enableProfiling
public boolean enableProfiling()Whether to print out attributes relating to how a statement was actually executed. If false, client should only send attributes relating to the plan.- Returns:
- Whether client should send attributes about profiling
-