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, traceDepth
AGGREGATE, ALIAS, ALIAS_REF, ALL, AND, ANY, AS, ASCENDING, AVG, BETWEEN, BOGUS, BOTH, CASE, CASE2, CAST, 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, FIRST, 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, LAST, 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, NULLS, 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, 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) |
protected void |
betweenFunctionArguments() |
void |
binaryComparisonExpression(antlr.collections.AST _t) |
void |
booleanExpr(antlr.collections.AST _t,
boolean parens) |
void |
booleanOp(antlr.collections.AST _t,
boolean parens) |
protected void |
captureExpressionFinish() |
protected void |
captureExpressionStart() |
void |
caseExpr(antlr.collections.AST _t) |
void |
castExpression(antlr.collections.AST _t) |
void |
castTargetType(antlr.collections.AST _t) |
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) |
String |
nullOrdering(antlr.collections.AST _t) |
void |
nullPrecedence(antlr.collections.AST _t) |
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) |
protected String |
renderOrderByElement(String expression,
String order,
String nulls)
Implementation note: This is just a stub.
|
protected String |
resetCapture() |
void |
selectAtom(antlr.collections.AST _t) |
void |
selectBooleanExpr(antlr.collections.AST _t,
boolean parens) |
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 betweenFunctionArguments()
protected void captureExpressionStart()
protected void captureExpressionFinish()
protected String resetCapture()
protected String renderOrderByElement(String expression, String order, String nulls)
public final void statement(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void selectStatement(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void updateStatement(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void deleteStatement(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void insertStatement(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void selectClause(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void from(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void whereExpr(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void groupExprs(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void booleanExpr(antlr.collections.AST _t, boolean parens) throws antlr.RecognitionException
antlr.RecognitionException
public final void orderExprs(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void fromTable(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void setClause(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void whereClause(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void comparisonExpr(antlr.collections.AST _t, boolean parens) throws antlr.RecognitionException
antlr.RecognitionException
public final void whereClauseExpr(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void conditionList(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void expr(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void orderDirection(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final String nullOrdering(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void nullPrecedence(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void filters(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void thetaJoins(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void sqlToken(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void distinctOrAll(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void selectColumn(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void selectExpr(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void selectAtom(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void mapComponentReference(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void count(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void methodCall(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void aggregate(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void constant(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void arithmeticExpr(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void selectBooleanExpr(antlr.collections.AST _t, boolean parens) throws antlr.RecognitionException
antlr.RecognitionException
public final void parameter(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void countExpr(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void simpleExpr(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void tableJoin(antlr.collections.AST _t, antlr.collections.AST parent) throws antlr.RecognitionException
antlr.RecognitionException
public final void booleanOp(antlr.collections.AST _t, boolean parens) throws antlr.RecognitionException
antlr.RecognitionException
public final void binaryComparisonExpression(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void exoticComparisonExpression(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void likeEscape(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void inList(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void quantified(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void parenSelect(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void simpleExprList(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void simpleOrTupleExpr(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void tupleExpr(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void addrExpr(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void additiveExpr(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void multiplicativeExpr(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void nestedExprAfterMinusDiv(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void caseExpr(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void nestedExpr(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void arguments(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void castExpression(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
public final void castTargetType(antlr.collections.AST _t) throws antlr.RecognitionException
antlr.RecognitionException
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.