Class CaseMatchFunDef

  • All Implemented Interfaces:
    FunDef

    class CaseMatchFunDef
    extends FunDefBase
    Definition of the matched CASE MDX operator. Syntax is:
    Case <Expression>
     When <Expression> Then <Expression>
     [...]
     [Else <Expression>]
     End
    .
    Since:
    Mar 23, 2006
    Author:
    jhyde
    See Also:
    CaseTestFunDef
    • Field Detail

      • Resolver

        static final mondrian.olap.fun.CaseMatchFunDef.ResolverImpl Resolver
    • Method Detail

      • 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