Package 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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface mondrian.olap.FunTable
FunTable.Builder
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
defineFunctions(FunTable.Builder builder)
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
getFunInfoList, getReservedWords, getResolvers, getResolvers, init, isProperty, isReserved
-
-
-
-
Method Detail
-
instance
public static GlobalFunTable instance()
-
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
-
-