public abstract class FunTableImpl extends Object implements FunTable
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.
FunTable.Builder
Modifier | Constructor and Description |
---|---|
protected |
FunTableImpl()
Creates a FunTableImpl.
|
Modifier and Type | Method and Description |
---|---|
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.
|
void |
init()
Initializes the function table.
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
defineFunctions
public final void init()
public List<String> getReservedWords()
FunTable
String
) which may not be used as
identifiers.getReservedWords
in interface FunTable
public boolean isReserved(String s)
FunTable
isReserved
in interface FunTable
public List<Resolver> getResolvers()
FunTable
Resolver
objects.getResolvers
in interface FunTable
public boolean isProperty(String s)
FunTable
isProperty
in interface FunTable
public List<FunInfo> getFunInfoList()
FunTable
FunInfo
objects.getFunInfoList
in interface FunTable
public List<Resolver> getResolvers(String name, Syntax syntax)
FunTable
getResolvers
in interface FunTable
name
- Operator namesyntax
- Operator syntaxCopyright © 2020 Hitachi Vantara. All rights reserved.