Package mondrian.olap
Interface FunTable.Builder
-
- Enclosing interface:
- FunTable
public static interface FunTable.BuilderBuilder that assists with the construction of a function table by providing callbacks to define functions.An implementation of
FunTablemust 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 voiddefine(FunInfo funInfo)Defines a function info that is not matchd by an actual function.voiddefine(Resolver resolver)Defines a resolver that will resolve overloaded function calls to function definitions.voiddefine(FunDef funDef)Defines a function.voiddefineReserved(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)
-
-