Class VisualTotalsFunDef

java.lang.Object
org.eigenbase.xom.XMLUtil
org.eigenbase.xom.XOMUtil
All Implemented Interfaces:
FunDef

public class VisualTotalsFunDef extends FunDefBase
Definition of the VisualTotals MDX function.
Since:
Jan 16, 2006
Author:
jhyde
  • Constructor Details

    • VisualTotalsFunDef

      public VisualTotalsFunDef(FunDef dummyFunDef)
  • Method Details

    • validateArg

      protected Exp validateArg(Validator validator, Exp[] args, int i, int category)
      Description copied from class: FunDefBase
      Validates an argument to a call to this function.

      The default implementation of this method adds an implicit conversion to the correct type. Derived classes may override.

      Overrides:
      validateArg in class FunDefBase
      Parameters:
      validator - Validator
      args - Arguments to this function
      i - Ordinal of argument
      category - Expected category of argument
      Returns:
      Validated argument
    • compileCall

      public Calc compileCall(ResolvedFunCall call, ExpCompiler compiler)
      Description copied from interface: FunDef
      Converts a call to this function into executable objects.

      The result must implement the appropriate interface for the result type. For example, a function which returns an integer must return an object which implements IntegerCalc.

      Specified by:
      compileCall in interface FunDef
      Overrides:
      compileCall in class FunDefBase