mondrian.olap.fun
Class BuiltinFunTable

java.lang.Object
  extended by mondrian.olap.fun.FunTableImpl
      extended by mondrian.olap.fun.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
 

Field Summary
 
Fields inherited from class mondrian.olap.fun.FunTableImpl
funInfoList, mapNameToResolvers, resolverList
 
Constructor Summary
protected BuiltinFunTable()
          Creates a function table containing all of the builtin MDX functions.
 
Method Summary
protected  void defineFunctions()
          This method is called from the constructor, to define the set of functions and reserved words recognized.
static BuiltinFunTable instance()
          Returns the singleton, creating if necessary.
 
Methods inherited from class mondrian.olap.fun.FunTableImpl
addFunInfo, define, define, defineProperty, defineReserved, getDef, getFunInfoList, getReservedWords, getResolvers, init, isProperty, isReserved, makeResolverKey, organizeFunctions, requiresExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

protected void defineFunctions()
Description copied from class: FunTableImpl
This method is called from the constructor, to define the set of functions and reserved words recognized.

Each function is declared by calling FunTableImpl.define(mondrian.olap.FunDef). Each reserved word is declared by calling FunTableImpl.defineReserved(String).

Derived class can override this method to add more functions.

Specified by:
defineFunctions in class FunTableImpl

instance

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

Returns:
the singleton

SourceForge.net_Logo