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
 void define(FunDef funDef)
          Defines a function.
 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 defineReserved(java.lang.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(java.lang.String keyword)
Defines a reserved word.

Parameters:
keyword - Reserved word
See Also:
FunTable.isReserved(java.lang.String)

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads