Package mondrian.olap.fun
Class CustomizedFunctionTable
java.lang.Object
mondrian.olap.fun.FunTableImpl
mondrian.olap.fun.CustomizedFunctionTable
- All Implemented Interfaces:
FunTable
Interface to build a customized function table, selecting functions from the
set of supported functions in an instance of
BuiltinFunTable
.- Author:
- Rushan Chen
-
Nested Class Summary
Nested classes/interfaces inherited from interface mondrian.olap.FunTable
FunTable.Builder
-
Constructor Summary
ConstructorDescriptionCustomizedFunctionTable
(Set<String> builtinFunctions) CustomizedFunctionTable
(Set<String> builtinFunctions, Set<FunDef> specialFunctions) -
Method Summary
Modifier and TypeMethodDescriptionvoid
defineFunctions
(FunTable.Builder builder) This method is called from the constructor, to define the set of functions and reserved words recognized.Methods inherited from class mondrian.olap.fun.FunTableImpl
getFunInfoList, getReservedWords, getResolvers, getResolvers, init, isProperty, isReserved
-
Constructor Details
-
CustomizedFunctionTable
-
CustomizedFunctionTable
-
-
Method Details
-
defineFunctions
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
-