Uses of Interface
org.hibernate.query.Order
Packages that use Order
Package
Description
Everything related to HQL/JPQL, native SQL, and criteria queries.
Support for SelectionSpecification
and MutationSpecification which
is similar in concept to criteria queries, but focused on ease-of-use and less verbosity.
Package for the SQM-backed Query implementation details
-
Uses of Order in org.hibernate.query
Methods in org.hibernate.query that return OrderModifier and TypeMethodDescriptionOrder.asc
(int element) An order where the result set is sorted by the select item in the given position with smaller values first.static <T> Order<T>
Order.asc
(SingularAttribute<T, ?> attribute) An order where an entity is sorted by the given attribute, with smaller values first.static <T> Order<T>
An order where an entity of the given class is sorted by the attribute with the given name, with smaller values first.Order.by
(int element, SortDirection direction) An order where the result set is sorted by the select item in the given position, in the given direction.Order.by
(int element, SortDirection direction, boolean ignoreCase) An order where the result set is sorted by the select item in the given position in the given direction, with the specified case-sensitivity.Order.by
(int element, SortDirection direction, Nulls nullPrecedence) An order where the result set is sorted by the select item in the given position in the given direction, with the specified precedence for null values.static <T> Order<T>
Order.by
(SingularAttribute<T, ?> attribute, SortDirection direction) An order where an entity is sorted by the given attribute, in the given direction.static <T> Order<T>
Order.by
(SingularAttribute<T, ?> attribute, SortDirection direction, boolean ignoreCase) An order where an entity is sorted by the given attribute, in the given direction, with the specified case-sensitivity.static <T> Order<T>
Order.by
(SingularAttribute<T, ?> attribute, SortDirection direction, Nulls nullPrecedence) An order where an entity is sorted by the given attribute, in the given direction, with the specified precedence for null values.static <T> Order<T>
Order.by
(Class<T> entityClass, String attributeName, SortDirection direction) An order where an entity of the given class is sorted by the attribute with the given name, in the given direction.static <T> Order<T>
Order.by
(Class<T> entityClass, String attributeName, SortDirection direction, boolean ignoreCase) An order where an entity of the given class is sorted by the attribute with the given name, in the given direction, with the specified case-sensitivity.static <T> Order<T>
Order.by
(Class<T> entityClass, String attributeName, SortDirection direction, Nulls nullPrecedence) An order where an entity of the given class is sorted by the attribute with the given name, in the given direction.Order.desc
(int element) An order where the result set is sorted by the select item in the given position with larger values first.static <T> Order<T>
Order.desc
(SingularAttribute<T, ?> attribute) An order where an entity is sorted by the given attribute, with larger values first.static <T> Order<T>
An order where an entity of the given class is sorted by the attribute with the given name, with larger values first.Order.ignoringCase()
Order.ignoringCaseIf
(boolean ignoreCase) An order based on this order, possibly without case-sensitivity.Order.reverse()
Order.reversedIf
(boolean reverse) An order based on this order, possibly reversed.Order.withNullsFirst()
Order.withNullsLast()
Methods in org.hibernate.query that return types with arguments of type OrderModifier and TypeMethodDescriptionKeyedPage.getKeyDefinition()
A key definition for key-based pagination.Reverse the direction of the given ordering listMethods in org.hibernate.query with parameters of type OrderModifier and TypeMethodDescription<R> KeyedPage<R>
Obtain a key-based specification of this page.Method parameters in org.hibernate.query with type arguments of type Order -
Uses of Order in org.hibernate.query.specification
Methods in org.hibernate.query.specification with parameters of type OrderModifier and TypeMethodDescriptionSets the ordering for this selection specification.Adds an ordering to the selection specification.Method parameters in org.hibernate.query.specification with type arguments of type Order -
Uses of Order in org.hibernate.query.specification.internal
Methods in org.hibernate.query.specification.internal with parameters of type OrderMethod parameters in org.hibernate.query.specification.internal with type arguments of type Order -
Uses of Order in org.hibernate.query.sqm.internal
Methods in org.hibernate.query.sqm.internal with parameters of type OrderModifier and TypeMethodDescriptionstatic SqmSortSpecification
SqmUtil.sortSpecification
(SqmSelectStatement<?> sqm, Order<?> order)