Top Description Methods
org.hibernate.metamodel.mapping.ordering

public Interface OrderByFragment

Known Direct Implementers
org.hibernate.metamodel.mapping.ordering.OrderByFragmentImpl
Imports
org.hibernate.sql.ast.spi.SqlAstCreationState, org.hibernate.sql.ast.tree.from.TableGroup, org.hibernate.sql.ast.tree.select.QuerySpec

Represents the translation result. Defines the ability to apply the indicated ordering to the SQL AST being built
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public void
apply(QuerySpec
The SQL AST
ast
,
TableGroup
The TableGroup the order-by is applied "against"
tableGroup
,
SqlAstCreationState
The SQL AST creation state
creationState
)

Apply the ordering to the given SQL AST

Method Detail

applyback to summary
public void apply(QuerySpec ast, TableGroup tableGroup, SqlAstCreationState creationState)

Apply the ordering to the given SQL AST

Parameters
ast:QuerySpec

The SQL AST

tableGroup:TableGroup

The TableGroup the order-by is applied "against"

creationState:SqlAstCreationState

The SQL AST creation state