Class NamedSetCurrentFunDef

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

public class NamedSetCurrentFunDef extends FunDefBase
Definition of the <Named Set>.Current MDX builtin function.
Since:
Oct 19, 2008
Author:
jhyde
  • Method Details

    • createCall

      public Exp createCall(Validator validator, Exp[] args)
      Description copied from interface: FunDef
      Creates an expression which represents a call to this function with a given set of arguments. The result is usually a ResolvedFunCall but not always.
      Specified by:
      createCall in interface FunDef
      Overrides:
      createCall in class FunDefBase
    • 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