Class AsFunDef

  • All Implemented Interfaces:
    FunDef

    class AsFunDef
    extends FunDefBase
    Definition of the AS MDX operator.

    Using AS, you can define an alias for an MDX expression anywhere it appears in a query, and use that alias as you would a calculated yet.

    Since:
    Oct 7, 2009
    Author:
    jhyde
    • Field Detail

      • RESOLVER

        public static final Resolver 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