Top Description Fields Constructors Methods
org.hibernate.sql.ordering.antlr

public Class GeneratedOrderByFragmentRenderer

extends TreeParser
implements GeneratedOrderByFragmentRendererTokenTypes
Class Inheritance
All Implemented Interfaces
org.hibernate.sql.ordering.antlr.GeneratedOrderByFragmentRendererTokenTypes
Known Direct Subclasses
org.hibernate.sql.ordering.antlr.OrderByFragmentRenderer
Imports
antlr.TreeParser, .Token, .RecognitionException, .ANTLRException, .NoViableAltException, .MismatchedTokenException, .SemanticException, .ASTPair, antlr.collections.AST, antlr.collections.impl.BitSet, .ASTArray

Antlr grammar for rendering ORDER_BY trees as described by the OrderByFragmentParser
Authors
Steve Ebersole, Lukasz Antoniak (lukasz dot antoniak at gmail dot com)

Field Summary

Modifier and TypeField and Description
public static final String[]
private StringBuilder
Inherited from antlr.TreeParser:
_retTreeastFactoryASTNULLinputStatereturnASTtokenNamestraceDepth

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final String
pack-priv String
public final String
public final void
public final String
protected void
out(String text)

protected void
out(AST ast)

protected String
renderOrderByElement(String expression, String collation, String order, String nulls)

Implementation Note

This is just a stub.

public final void
public final String
public final void
Inherited from antlr.TreeParser:
getASTgetASTFactorygetTokenNamegetTokenNamesmatchmatchmatchNotpanicreportErrorreportErrorreportWarningsetASTFactorysetASTNodeClasssetASTNodeTypetraceIntraceIndenttraceOut

Field Detail

_tokenNamesback to summary
public static final String[] _tokenNames
bufferback to summary
private StringBuilder buffer

Constructor Detail

GeneratedOrderByFragmentRendererback to summary
public GeneratedOrderByFragmentRenderer()

Method Detail

collationSpecificationback to summary
public final String collationSpecification(AST _t) throws RecognitionException
getRenderedFragmentback to summary
pack-priv String getRenderedFragment()
nullOrderingback to summary
public final String nullOrdering(AST _t) throws RecognitionException
orderByFragmentback to summary
public final void orderByFragment(AST _t) throws RecognitionException
orderingSpecificationback to summary
public final String orderingSpecification(AST _t) throws RecognitionException
outback to summary
protected void out(String text)
outback to summary
protected void out(AST ast)
renderOrderByElementback to summary
protected String renderOrderByElement(String expression, String collation, String order, String nulls)

Implementation Note

This is just a stub. OrderByFragmentRenderer contains the effective implementation.

sortKeyback to summary
public final void sortKey(AST _t) throws RecognitionException
sortKeySpecificationback to summary
public final String sortKeySpecification(AST _t) throws RecognitionException
sortSpecificationback to summary
public final void sortSpecification(AST _t) throws RecognitionException