|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmondrian.olap.fun.FunTableImpl
public abstract class FunTableImpl
Abstract implementation of FunTable
.
The derived class must implement
FunTable.defineFunctions(mondrian.olap.FunTable.Builder)
to define
each function which will be recognized by this table. This method is called
from the constructor, after which point, no further functions can be added.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface mondrian.olap.FunTable |
---|
FunTable.Builder |
Constructor Summary | |
---|---|
protected |
FunTableImpl()
Creates a FunTableImpl. |
Method Summary | |
---|---|
java.util.List<FunInfo> |
getFunInfoList()
Returns a list of FunInfo objects. |
java.util.List<java.lang.String> |
getReservedWords()
Returns a list of words ( String ) which may not be used as
identifiers. |
java.util.List<Resolver> |
getResolvers()
Returns a list of Resolver objects. |
java.util.List<Resolver> |
getResolvers(java.lang.String name,
Syntax syntax)
Returns a list of resolvers for an operator with a given name and syntax. |
void |
init()
Initializes the function table. |
boolean |
isProperty(java.lang.String s)
Returns whether a string is a property-style (postfix) operator. |
boolean |
isReserved(java.lang.String s)
Returns whether a string is a reserved word. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface mondrian.olap.FunTable |
---|
defineFunctions |
Constructor Detail |
---|
protected FunTableImpl()
Method Detail |
---|
public final void init()
public java.util.List<java.lang.String> getReservedWords()
FunTable
String
) which may not be used as
identifiers.
getReservedWords
in interface FunTable
public boolean isReserved(java.lang.String s)
FunTable
isReserved
in interface FunTable
public java.util.List<Resolver> getResolvers()
FunTable
Resolver
objects.
getResolvers
in interface FunTable
public boolean isProperty(java.lang.String s)
FunTable
isProperty
in interface FunTable
public java.util.List<FunInfo> getFunInfoList()
FunTable
FunInfo
objects.
getFunInfoList
in interface FunTable
public java.util.List<Resolver> getResolvers(java.lang.String name, Syntax syntax)
FunTable
getResolvers
in interface FunTable
name
- Operator namesyntax
- Operator syntax
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |