mondrian.olap.fun
Class CustomizedFunctionTable
java.lang.Object
mondrian.olap.fun.FunTableImpl
mondrian.olap.fun.CustomizedFunctionTable
- All Implemented Interfaces:
- FunTable
public class CustomizedFunctionTable
- extends FunTableImpl
Interface to build a customized function table, selecting functions from the set of
supported functions in BuiltInFunTable instance.
- Author:
- Rushan Chen
-
-
Method Summary |
protected void |
defineFunctions()
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 |
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 |
supportedBuiltInFunctions
Set<String> supportedBuiltInFunctions
specialFunctions
Set<FunDef> specialFunctions
CustomizedFunctionTable
public CustomizedFunctionTable(Set<String> buildInFunctions)
CustomizedFunctionTable
public CustomizedFunctionTable(Set<String> buildInFunctions,
Set<FunDef> specialFunctions)
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