Class BuiltinFunTable

  • All Implemented Interfaces:
    FunTable

    public class BuiltinFunTable
    extends FunTableImpl
    BuiltinFunTable contains a list of all built-in MDX functions.

    Note: Boolean expressions return Boolean.TRUE, Boolean.FALSE or null. null is returned if the expression can not be evaluated because some values have not been loaded from database yet.

    Since:
    26 February, 2002
    Author:
    jhyde
    • Constructor Detail

      • BuiltinFunTable

        protected BuiltinFunTable()
        Creates a function table containing all of the builtin MDX functions. This method should only be called from instance.
    • Method Detail

      • defineFunctions

        public void defineFunctions​(FunTable.Builder builder)
        Description copied from interface: FunTable
        This method is called from the constructor, to define the set of functions and reserved words recognized.

        The implementing class calls FunTable.Builder methods to declare functions and reserved words.

        Derived class can override this method to add more functions. It must call the base method.

        Parameters:
        builder - Builder
      • instance

        public static BuiltinFunTable instance()
        Returns the singleton, creating if necessary.
        Returns:
        the singleton