public class OrderByFragmentRenderer extends GeneratedOrderByFragmentRenderer
out(antlr.collections.AST)
is the sole semantic action here and it is used to utilize our
split between text (tree debugging text) and "renderable text" (text to use during rendering)._tokenNames
_retTree, astFactory, ASTNULL, inputState, returnAST, tokenNames
ASCENDING, CLOSE_PAREN, COLLATE, COLUMN_REF, COMMA, DESCENDING, DOT, EOF, ESCqs, EXPONENT, EXPR_LIST, FIRST, FLOAT_SUFFIX, HARD_QUOTE, HEX_DIGIT, ID_LETTER, ID_START_LETTER, IDENT, IDENT_LIST, LAST, LITERAL_ascending, LITERAL_descending, NULL_ORDER, NULL_TREE_LOOKAHEAD, NULLS, NUM_DOUBLE, NUM_FLOAT, NUM_INT, NUM_LONG, OPEN_PAREN, ORDER_BY, ORDER_SPEC, QUOTED_STRING, SORT_KEY, SORT_SPEC, WS
Constructor and Description |
---|
OrderByFragmentRenderer(SessionFactoryImplementor sessionFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
out(antlr.collections.AST ast) |
protected String |
renderOrderByElement(String expression,
String collation,
String order,
String nulls)
Implementation note: This is just a stub.
|
void |
traceIn(String ruleName,
antlr.collections.AST tree) |
void |
traceOut(String ruleName,
antlr.collections.AST tree) |
collationSpecification, nullOrdering, orderByFragment, orderingSpecification, out, sortKey, sortKeySpecification, sortSpecification
public OrderByFragmentRenderer(SessionFactoryImplementor sessionFactory)
protected void out(antlr.collections.AST ast)
out
in class GeneratedOrderByFragmentRenderer
public void traceIn(String ruleName, antlr.collections.AST tree)
traceIn
in class antlr.TreeParser
public void traceOut(String ruleName, antlr.collections.AST tree)
traceOut
in class antlr.TreeParser
protected String renderOrderByElement(String expression, String collation, String order, String nulls)
GeneratedOrderByFragmentRenderer
renderOrderByElement
in class GeneratedOrderByFragmentRenderer
Copyright © 2017 JBoss by Red Hat. All rights reserved.