public class SqlGeneratorBase extends antlr.TreeParser implements SqlTokenTypes
| Modifier and Type | Field and Description |
|---|---|
static String[] |
_tokenNames |
static antlr.collections.impl.BitSet |
_tokenSet_0 |
static antlr.collections.impl.BitSet |
_tokenSet_1 |
static antlr.collections.impl.BitSet |
_tokenSet_2 |
static antlr.collections.impl.BitSet |
_tokenSet_3 |
static antlr.collections.impl.BitSet |
_tokenSet_4 |
static antlr.collections.impl.BitSet |
_tokenSet_5 |
_retTree, astFactory, ASTNULL, inputState, returnAST, tokenNames, traceDepthAGGREGATE, ALIAS, ALIAS_REF, ALL, AND, ANY, AS, ASCENDING, AVG, BETWEEN, BOGUS, BOTH, CASE, CASE2, CLASS, CLOSE, CLOSE_BRACKET, COLON, COMMA, CONCAT, CONSTANT, CONSTRUCTOR, COUNT, DELETE, DESCENDING, DISTINCT, DIV, DOT, ELEMENTS, ELSE, EMPTY, END, ENTRY, EOF, EQ, ESCAPE, ESCqs, EXISTS, EXPONENT, EXPR_LIST, FALSE, FETCH, FILTER_ENTITY, FILTERS, FLOAT_SUFFIX, FROM, FROM_FRAGMENT, FULL, GE, GROUP, GT, HAVING, HEX_DIGIT, ID_LETTER, ID_START_LETTER, IDENT, IMPLIED_FROM, IN, IN_LIST, INDEX_OP, INDICES, INNER, INSERT, INTO, IS, IS_NOT_NULL, IS_NULL, JAVA_CONSTANT, JOIN, JOIN_FRAGMENT, KEY, LE, LEADING, LEFT, LEFT_OUTER, LIKE, LITERAL_ascending, LITERAL_by, LITERAL_descending, LT, MAX, MEMBER, METHOD_CALL, METHOD_NAME, MIN, MINUS, MOD, NAMED_PARAM, NE, NEW, NOT, NOT_BETWEEN, NOT_IN, NOT_LIKE, NULL, NULL_TREE_LOOKAHEAD, NUM_BIG_DECIMAL, NUM_BIG_INTEGER, NUM_DOUBLE, NUM_FLOAT, NUM_INT, NUM_LONG, OBJECT, OF, ON, OPEN, OPEN_BRACKET, OR, ORDER, ORDER_ELEMENT, OUTER, PARAM, PLUS, PROPERTIES, PROPERTY_REF, QUERY, QUOTED_STRING, RANGE, RESULT_VARIABLE_REF, RIGHT, RIGHT_OUTER, ROW_STAR, SELECT, SELECT_CLAUSE, SELECT_COLUMNS, SELECT_EXPR, SELECT_FROM, SET, SOME, SQL_NE, SQL_NODE, SQL_TOKEN, STAR, SUM, THEN, THETA_JOINS, TRAILING, TRUE, UNARY_MINUS, UNARY_PLUS, UNION, UPDATE, VALUE, VECTOR_EXPR, VERSIONED, WEIRD_IDENT, WHEN, WHERE, WITH, WS| Constructor and Description |
|---|
SqlGeneratorBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
additiveExpr(antlr.collections.AST _t) |
void |
addrExpr(antlr.collections.AST _t) |
void |
aggregate(antlr.collections.AST _t) |
void |
arguments(antlr.collections.AST _t) |
void |
arithmeticExpr(antlr.collections.AST _t) |
protected void |
beginFunctionTemplate(antlr.collections.AST m,
antlr.collections.AST i) |
void |
binaryComparisonExpression(antlr.collections.AST _t) |
void |
booleanExpr(antlr.collections.AST _t,
boolean parens) |
void |
booleanOp(antlr.collections.AST _t,
boolean parens) |
void |
caseExpr(antlr.collections.AST _t) |
protected void |
commaBetweenParameters(String comma) |
void |
comparisonExpr(antlr.collections.AST _t,
boolean parens) |
void |
conditionList(antlr.collections.AST _t) |
void |
constant(antlr.collections.AST _t) |
void |
count(antlr.collections.AST _t) |
void |
countExpr(antlr.collections.AST _t) |
void |
deleteStatement(antlr.collections.AST _t) |
void |
distinctOrAll(antlr.collections.AST _t) |
protected void |
endFunctionTemplate(antlr.collections.AST m) |
void |
exoticComparisonExpression(antlr.collections.AST _t) |
void |
expr(antlr.collections.AST _t) |
void |
filters(antlr.collections.AST _t) |
void |
from(antlr.collections.AST _t) |
protected void |
fromFragmentSeparator(antlr.collections.AST a) |
void |
fromTable(antlr.collections.AST _t) |
protected int |
getLastChar()
Returns the last character written to the output, or -1 if there isn't one.
|
protected StringBuilder |
getStringBuilder() |
void |
groupExprs(antlr.collections.AST _t) |
protected boolean |
hasText(antlr.collections.AST a) |
void |
inList(antlr.collections.AST _t) |
void |
insertStatement(antlr.collections.AST _t) |
void |
likeEscape(antlr.collections.AST _t) |
void |
mapComponentReference(antlr.collections.AST _t) |
void |
methodCall(antlr.collections.AST _t) |
void |
multiplicativeExpr(antlr.collections.AST _t) |
void |
nestedExpr(antlr.collections.AST _t) |
void |
nestedExprAfterMinusDiv(antlr.collections.AST _t) |
protected void |
nestedFromFragment(antlr.collections.AST d,
antlr.collections.AST parent) |
protected void |
nyi(antlr.collections.AST n) |
protected void |
optionalSpace()
Add a aspace if the previous token was not a space or a parenthesis.
|
void |
orderDirection(antlr.collections.AST _t) |
void |
orderExprs(antlr.collections.AST _t) |
protected void |
out(antlr.collections.AST n) |
protected void |
out(String s) |
void |
parameter(antlr.collections.AST _t) |
void |
parenSelect(antlr.collections.AST _t) |
void |
quantified(antlr.collections.AST _t) |
void |
selectAtom(antlr.collections.AST _t) |
void |
selectClause(antlr.collections.AST _t) |
void |
selectColumn(antlr.collections.AST _t) |
void |
selectExpr(antlr.collections.AST _t) |
void |
selectStatement(antlr.collections.AST _t) |
protected void |
separator(antlr.collections.AST n,
String sep) |
void |
setClause(antlr.collections.AST _t) |
void |
simpleExpr(antlr.collections.AST _t) |
void |
simpleExprList(antlr.collections.AST _t) |
void |
simpleOrTupleExpr(antlr.collections.AST _t) |
void |
sqlToken(antlr.collections.AST _t) |
void |
statement(antlr.collections.AST _t) |
void |
tableJoin(antlr.collections.AST _t,
antlr.collections.AST parent) |
void |
thetaJoins(antlr.collections.AST _t) |
void |
tupleExpr(antlr.collections.AST _t) |
void |
updateStatement(antlr.collections.AST _t) |
void |
whereClause(antlr.collections.AST _t) |
void |
whereClauseExpr(antlr.collections.AST _t) |
void |
whereExpr(antlr.collections.AST _t) |
public static final String[] _tokenNames
public static final antlr.collections.impl.BitSet _tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_3
public static final antlr.collections.impl.BitSet _tokenSet_4
public static final antlr.collections.impl.BitSet _tokenSet_5
protected void out(String s)
protected int getLastChar()
protected void optionalSpace()
protected void out(antlr.collections.AST n)
protected void separator(antlr.collections.AST n,
String sep)
protected boolean hasText(antlr.collections.AST a)
protected void fromFragmentSeparator(antlr.collections.AST a)
protected void nestedFromFragment(antlr.collections.AST d,
antlr.collections.AST parent)
protected StringBuilder getStringBuilder()
protected void nyi(antlr.collections.AST n)
protected void beginFunctionTemplate(antlr.collections.AST m,
antlr.collections.AST i)
protected void endFunctionTemplate(antlr.collections.AST m)
protected void commaBetweenParameters(String comma)
public final void statement(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void selectStatement(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void updateStatement(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void deleteStatement(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void insertStatement(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void selectClause(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void from(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void whereExpr(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void groupExprs(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void booleanExpr(antlr.collections.AST _t,
boolean parens)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void orderExprs(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void fromTable(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void setClause(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void whereClause(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void comparisonExpr(antlr.collections.AST _t,
boolean parens)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void whereClauseExpr(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void conditionList(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void expr(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void orderDirection(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void filters(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void thetaJoins(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void sqlToken(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void distinctOrAll(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void selectColumn(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void selectExpr(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void selectAtom(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void mapComponentReference(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void count(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void methodCall(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void aggregate(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void constant(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void arithmeticExpr(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void countExpr(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void simpleExpr(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void tableJoin(antlr.collections.AST _t,
antlr.collections.AST parent)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void booleanOp(antlr.collections.AST _t,
boolean parens)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void binaryComparisonExpression(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void exoticComparisonExpression(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void likeEscape(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void inList(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void quantified(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void parenSelect(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void simpleExprList(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void simpleOrTupleExpr(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void tupleExpr(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void addrExpr(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void parameter(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void additiveExpr(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void multiplicativeExpr(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void nestedExprAfterMinusDiv(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void caseExpr(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void nestedExpr(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionpublic final void arguments(antlr.collections.AST _t)
throws antlr.RecognitionException
antlr.RecognitionExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.