public class OrderByFragmentRenderer extends GeneratedOrderByFragmentRenderer
Extension of the Antlr-generated tree walker for rendering the parsed order-by tree back to String form.
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, tokenNamesASCENDING, 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, sortSpecificationpublic OrderByFragmentRenderer(SessionFactoryImplementor sessionFactory)
protected void out(antlr.collections.AST ast)
out in class GeneratedOrderByFragmentRendererpublic void traceIn(String ruleName, antlr.collections.AST tree)
traceIn in class antlr.TreeParserpublic void traceOut(String ruleName, antlr.collections.AST tree)
traceOut in class antlr.TreeParserprotected String renderOrderByElement(String expression, String collation, String order, String nulls)
GeneratedOrderByFragmentRendererImplementation note: This is just a stub. OrderByFragmentRenderer contains the effective implementation.
renderOrderByElement in class GeneratedOrderByFragmentRendererCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.