Package mondrian.olap.fun
Class BuiltinFunTable
- java.lang.Object
-
- mondrian.olap.fun.FunTableImpl
-
- mondrian.olap.fun.BuiltinFunTable
-
- All Implemented Interfaces:
FunTable
public class BuiltinFunTable extends FunTableImpl
BuiltinFunTablecontains a list of all built-in MDX functions.Note: Boolean expressions return
Boolean.TRUE,Boolean.FALSEor 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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface mondrian.olap.FunTable
FunTable.Builder
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuiltinFunTable()Creates a function table containing all of the builtin MDX functions.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefineFunctions(FunTable.Builder builder)This method is called from the constructor, to define the set of functions and reserved words recognized.static BuiltinFunTableinstance()Returns the singleton, creating if necessary.-
Methods inherited from class mondrian.olap.fun.FunTableImpl
getFunInfoList, getReservedWords, getResolvers, getResolvers, init, isProperty, isReserved
-
-
-
-
Constructor Detail
-
BuiltinFunTable
protected BuiltinFunTable()
Creates a function table containing all of the builtin MDX functions. This method should only be called frominstance.
-
-
Method Detail
-
defineFunctions
public void defineFunctions(FunTable.Builder builder)
Description copied from interface:FunTableThis method is called from the constructor, to define the set of functions and reserved words recognized.The implementing class calls
FunTable.Buildermethods 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
-
-