Class OrderByFragmentImpl
- java.lang.Object
-
- org.hibernate.metamodel.mapping.ordering.OrderByFragmentImpl
-
- All Implemented Interfaces:
OrderByFragment
public class OrderByFragmentImpl extends Object implements OrderByFragment
-
-
Constructor Summary
Constructors Constructor Description OrderByFragmentImpl(List<OrderingSpecification> fragmentSpecs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(QuerySpec ast, TableGroup tableGroup, SqlAstCreationState creationState)
Apply the ordering to the given SQL ASTList<OrderingSpecification>
getFragmentSpecs()
-
-
-
Constructor Detail
-
OrderByFragmentImpl
public OrderByFragmentImpl(List<OrderingSpecification> fragmentSpecs)
-
-
Method Detail
-
getFragmentSpecs
public List<OrderingSpecification> getFragmentSpecs()
-
apply
public void apply(QuerySpec ast, TableGroup tableGroup, SqlAstCreationState creationState)
Description copied from interface:OrderByFragment
Apply the ordering to the given SQL AST- Specified by:
apply
in interfaceOrderByFragment
- Parameters:
ast
- The SQL ASTtableGroup
- The TableGroup the order-by is applied "against"creationState
- The SQL AST creation state
-
-