|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectantlr.BaseAST
antlr.CommonAST
org.makumba.providers.query.oql.OQLAST
org.makumba.providers.query.oql.FunctionAST
public class FunctionAST
Analyser for OQL Functions
| Field Summary | |
|---|---|
static String[] |
allFunctions
All known functions. |
static String[] |
allNonParametricFunctions
|
static String[] |
allSingleParameterFunctions
|
static String[] |
dateToIntFunctions
date-to-int functions. |
static String[] |
dateToStringFunctions
date-to-String functions. |
(package private) OQLAST |
expr
|
static String[] |
intToStringFunctions
int-to-string functions. |
static String[] |
nonParametricDateFunctions
|
static String[] |
simpleStringFunctions
Simple string-to-string functions with one argument. |
static String[] |
stringToIntFunctions
string-to-int functions. |
| Fields inherited from class org.makumba.providers.query.oql.OQLAST |
|---|
extraInfo, makumbaType, tree |
| Fields inherited from class antlr.BaseAST |
|---|
down, right |
| Constructor Summary | |
|---|---|
FunctionAST()
|
|
| Method Summary | |
|---|---|
Object |
getMakumbaType()
|
static String |
printOptions(String[] functions)
|
void |
setExpr(OQLAST e)
|
String |
writeInSQLQuery(NameResolver nr)
|
| Methods inherited from class antlr.CommonAST |
|---|
getText, getType, initialize, initialize, initialize, setText, setType |
| Methods inherited from class antlr.BaseAST |
|---|
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getColumn, getFirstChild, getLine, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static String[] simpleStringFunctions
public static String[] intToStringFunctions
public static String[] stringToIntFunctions
public static String[] dateToIntFunctions
public static String[] dateToStringFunctions
public static String[] nonParametricDateFunctions
public static final String[] allNonParametricFunctions
public static final String[] allSingleParameterFunctions
public static final String[] allFunctions
OQLAST expr
| Constructor Detail |
|---|
public FunctionAST()
| Method Detail |
|---|
public void setExpr(OQLAST e)
public String writeInSQLQuery(NameResolver nr)
writeInSQLQuery in class OQLAST
public Object getMakumbaType()
throws antlr.RecognitionException
getMakumbaType in class OQLASTantlr.RecognitionExceptionpublic static String printOptions(String[] functions)
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||