Class ValidMeasureFunDef

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

public class ValidMeasureFunDef extends FunDefBase
Definition of the ValidMeasure MDX function.

Returns a valid measure in a virtual cube by forcing inapplicable dimensions to their top level.

Syntax:

ValidMeasure(<Tuple>)
Author:
kwalker, mpflug
  • Method Details

    • 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