mondrian.olap.fun
Class GlobalFunTable
java.lang.Object
mondrian.olap.fun.FunTableImpl
mondrian.olap.fun.GlobalFunTable
- All Implemented Interfaces:
- FunTable
public class GlobalFunTable
- extends FunTableImpl
Global function table contains builtin functions and global user-defined functions.
- Author:
- Gang Chen
-
-
Method Summary |
protected void |
defineFunctions()
This method is called from the constructor, to define the set of
functions and reserved words recognized. |
static GlobalFunTable |
instance()
|
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 |
instance
public static GlobalFunTable instance()
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