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 itsFunTable.defineFunctions(mondrian.olap.FunTable.Builder)
method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
define(FunInfo funInfo)
Defines a function info that is not matchd by an actual function.void
define(Resolver resolver)
Defines a resolver that will resolve overloaded function calls to function definitions.void
define(FunDef funDef)
Defines a function.void
defineReserved(String keyword)
Defines a reserved word.
-
-
-
Method Detail
-
define
void define(FunDef funDef)
Defines a function.- Parameters:
funDef
- Function definition
-
define
void define(Resolver resolver)
Defines a resolver that will resolve overloaded function calls to function definitions.- Parameters:
resolver
- Function call resolver
-
define
void define(FunInfo funInfo)
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
void defineReserved(String keyword)
Defines a reserved word.- Parameters:
keyword
- Reserved word- See Also:
FunTable.isReserved(java.lang.String)
-
-