Class MemberOrderKeyFunDef.CalcImpl

java.lang.Object
mondrian.calc.impl.AbstractCalc
mondrian.olap.fun.MemberOrderKeyFunDef.CalcImpl
All Implemented Interfaces:
Calc
Enclosing class:
MemberOrderKeyFunDef

public static class MemberOrderKeyFunDef.CalcImpl extends AbstractCalc
  • Constructor Details

    • CalcImpl

      public CalcImpl(Exp exp, MemberCalc memberCalc)
      Creates a Calc
      Parameters:
      exp - Source expression
      memberCalc - Compiled expression to calculate member
  • Method Details

    • evaluate

      public OrderKey evaluate(Evaluator evaluator)
      Description copied from interface: Calc
      Evaluates this expression.
      Parameters:
      evaluator - Provides dimensional context in which to evaluate this expression
      Returns:
      Result of expression evaluation
    • getName

      protected String getName()
      Description copied from class: AbstractCalc
      Returns the name of this expression type, used when serializing an expression to a string.

      The default implementation tries to extract a name from a function call, if any, then prints the last part of the class name.

      Overrides:
      getName in class AbstractCalc