|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FunTable
List of all MDX functions.
A function table can resolve a function call, using a particular
Syntax
and set of arguments, to a
function definition (FunDef
).
Nested Class Summary | |
---|---|
static interface |
FunTable.Builder
Builder that assists with the construction of a function table by providing callbacks to define functions. |
Method Summary | |
---|---|
void |
defineFunctions(FunTable.Builder builder)
This method is called from the constructor, to define the set of functions and reserved words recognized. |
List<FunInfo> |
getFunInfoList()
Returns a list of FunInfo objects. |
List<String> |
getReservedWords()
Returns a list of words ( String ) which may not be used as
identifiers. |
List<Resolver> |
getResolvers()
Returns a list of Resolver objects. |
List<Resolver> |
getResolvers(String name,
Syntax syntax)
Returns a list of resolvers for an operator with a given name and syntax. |
boolean |
isProperty(String s)
Returns whether a string is a property-style (postfix) operator. |
boolean |
isReserved(String s)
Returns whether a string is a reserved word. |
Method Detail |
---|
boolean isReserved(String s)
boolean isProperty(String s)
List<String> getReservedWords()
String
) which may not be used as
identifiers.
List<Resolver> getResolvers()
Resolver
objects.
List<Resolver> getResolvers(String name, Syntax syntax)
name
- Operator namesyntax
- Operator syntax
List<FunInfo> getFunInfoList()
FunInfo
objects.
void defineFunctions(FunTable.Builder builder)
The implementing class calls FunTable.Builder
methods to declare
functions and reserved words.
Derived class can override this method to add more functions. It must call the base method.
builder
- Builder
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |