Package mondrian.olap
Interface FunTable.Builder
- Enclosing interface:
- FunTable
public static interface FunTable.Builder
Builder that assists with the construction of a function table by
providing callbacks to define functions.
An implementation of FunTable must register all
of its functions and operators by making callbacks during its
FunTable.defineFunctions(mondrian.olap.FunTable.Builder)
method.
-
Method Summary
Modifier and TypeMethodDescriptionvoidDefines a function info that is not matchd by an actual function.voidDefines a resolver that will resolve overloaded function calls to function definitions.voidDefines a function.voiddefineReserved(String keyword) Defines a reserved word.
-
Method Details
-
define
Defines a function.- Parameters:
funDef- Function definition
-
define
Defines a resolver that will resolve overloaded function calls to function definitions.- Parameters:
resolver- Function call resolver
-
define
Defines a function info that is not matchd by an actual function. The function will be implemented via implicit conversions, but we still want the function info to appear in the metadata.- Parameters:
funInfo- Function info
-
defineReserved
Defines a reserved word.- Parameters:
keyword- Reserved word- See Also:
-