Class CaseTestFunDef

  • All Implemented Interfaces:
    FunDef

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

      • Resolver

        static final mondrian.olap.fun.CaseTestFunDef.ResolverImpl Resolver
    • Constructor Detail

      • CaseTestFunDef

        public CaseTestFunDef​(FunDef dummyFunDef)
    • 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