Uses of Enum Class
org.hibernate.query.SortDirection
Packages that use SortDirection
Package
Description
Everything related to HQL/JPQL, native SQL, and criteria queries.
The JPA-standard criteria query API defines all the operations needed express
any query written in standard JPQL.
SPI for extending
HibernateCriteriaBuilder
with additional functionality by registering a Service
.This package defines a semantic model of HQL queries.
Package for the SQM-backed Query implementation details
Nodes representing common table expressions (CTE) in the SQM tree.
Nodes representing
select
statements in the SQM tree.Package defining support for creating and consuming a SQL AST.
Support for common table expressions (CTE) in a SQL tree.
AST nodes representing
select
statements in a SQL tree.-
Uses of SortDirection in org.hibernate.metamodel.mapping.internal
Methods in org.hibernate.metamodel.mapping.internal with parameters of type SortDirectionModifier and TypeMethodDescriptionvoid
AbstractDomainPath.apply
(ModelPart referenceModelPart, QuerySpec ast, TableGroup tableGroup, String collation, String modelPartName, SortDirection sortOrder, NullPrecedence nullPrecedence, SqlAstCreationState creationState) void
AbstractDomainPath.apply
(QuerySpec ast, TableGroup tableGroup, String collation, String modelPartName, SortDirection sortOrder, NullPrecedence nullPrecedence, SqlAstCreationState creationState) -
Uses of SortDirection in org.hibernate.metamodel.mapping.ordering.ast
Methods in org.hibernate.metamodel.mapping.ordering.ast that return SortDirectionMethods in org.hibernate.metamodel.mapping.ordering.ast with parameters of type SortDirectionModifier and TypeMethodDescriptionvoid
ColumnReference.apply
(QuerySpec ast, TableGroup tableGroup, String collation, String modelPartName, SortDirection sortOrder, NullPrecedence nullPrecedence, SqlAstCreationState creationState) void
FunctionExpression.apply
(QuerySpec ast, TableGroup tableGroup, String collation, String modelPartName, SortDirection sortOrder, NullPrecedence nullPrecedence, SqlAstCreationState creationState) void
OrderingExpression.apply
(QuerySpec ast, TableGroup tableGroup, String collation, String modelPartName, SortDirection sortOrder, NullPrecedence nullPrecedence, SqlAstCreationState creationState) Apply the SQL AST sort-specifications associated with this ordering-expressionvoid
SelfRenderingOrderingExpression.apply
(QuerySpec ast, TableGroup tableGroup, String collation, String modelPartName, SortDirection sortOrder, NullPrecedence nullPrecedence, SqlAstCreationState creationState) void
OrderingSpecification.setSortOrder
(SortDirection sortOrder) -
Uses of SortDirection in org.hibernate.query
Methods in org.hibernate.query that return SortDirectionModifier and TypeMethodDescriptionOrder.getDirection()
static SortDirection
SortDirection.reverse()
static SortDirection
Returns the enum constant of this class with the specified name.static SortDirection[]
SortDirection.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.hibernate.query with parameters of type SortDirectionModifier and TypeMethodDescriptionOrder.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.boolean
NullPrecedence.isDefaultOrdering
(SortDirection sortOrder, NullOrdering nullOrdering) Deprecated, for removal: This API element is subject to removal in a future version.No longer called -
Uses of SortDirection in org.hibernate.query.criteria
Methods in org.hibernate.query.criteria that return SortDirectionModifier and TypeMethodDescriptionJpaOrder.getSortDirection()
The direction, ascending or descending, in which to sortJpaSearchOrder.getSortOrder()
Methods in org.hibernate.query.criteria with parameters of type SortDirectionModifier and TypeMethodDescription<T> JpaExpression<T>
HibernateCriteriaBuilder.mode
(Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> JpaExpression<T>
HibernateCriteriaBuilder.mode
(JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> JpaExpression<T>
HibernateCriteriaBuilder.mode
(JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) Create amode
ordered set-aggregate function expression.<T> JpaExpression<T>
HibernateCriteriaBuilder.mode
(JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> JpaExpression<T>
HibernateCriteriaBuilder.percentileCont
(Expression<? extends Number> argument, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> JpaExpression<T>
HibernateCriteriaBuilder.percentileCont
(Expression<? extends Number> argument, JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> JpaExpression<T>
HibernateCriteriaBuilder.percentileCont
(Expression<? extends Number> argument, JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) Create apercentile_cont
ordered set-aggregate function expression.<T> JpaExpression<T>
HibernateCriteriaBuilder.percentileCont
(Expression<? extends Number> argument, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> JpaExpression<T>
HibernateCriteriaBuilder.percentileDisc
(Expression<? extends Number> argument, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> JpaExpression<T>
HibernateCriteriaBuilder.percentileDisc
(Expression<? extends Number> argument, JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> JpaExpression<T>
HibernateCriteriaBuilder.percentileDisc
(Expression<? extends Number> argument, JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) Create apercentile_disc
ordered set-aggregate function expression.<T> JpaExpression<T>
HibernateCriteriaBuilder.percentileDisc
(Expression<? extends Number> argument, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) HibernateCriteriaBuilder.search
(JpaCteCriteriaAttribute cteAttribute, SortDirection sortOrder) Create a search ordering based on the sort order of the value of the CTE attribute.HibernateCriteriaBuilder.search
(JpaCteCriteriaAttribute cteAttribute, SortDirection sortOrder, NullPrecedence nullPrecedence) Create a search ordering based on the sort order and null precedence of the value of the CTE attribute.HibernateCriteriaBuilder.sort
(JpaExpression<?> sortExpression, SortDirection sortOrder) HibernateCriteriaBuilder.sort
(JpaExpression<?> sortExpression, SortDirection sortOrder, Nulls nullPrecedence) HibernateCriteriaBuilder.sort
(JpaExpression<?> sortExpression, SortDirection sortOrder, Nulls nullPrecedence, boolean ignoreCase) default JpaOrder
HibernateCriteriaBuilder.sort
(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) Deprecated.default JpaOrder
HibernateCriteriaBuilder.sort
(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence, boolean ignoreCase) Deprecated. -
Uses of SortDirection in org.hibernate.query.criteria.spi
Methods in org.hibernate.query.criteria.spi with parameters of type SortDirectionModifier and TypeMethodDescription<T> JpaExpression<T>
HibernateCriteriaBuilderDelegate.mode
(Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> JpaExpression<T>
HibernateCriteriaBuilderDelegate.mode
(JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> JpaExpression<T>
HibernateCriteriaBuilderDelegate.mode
(JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> JpaExpression<T>
HibernateCriteriaBuilderDelegate.mode
(JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> JpaExpression<T>
HibernateCriteriaBuilderDelegate.percentileCont
(Expression<? extends Number> argument, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> JpaExpression<T>
HibernateCriteriaBuilderDelegate.percentileCont
(Expression<? extends Number> argument, JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> JpaExpression<T>
HibernateCriteriaBuilderDelegate.percentileCont
(Expression<? extends Number> argument, JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> JpaExpression<T>
HibernateCriteriaBuilderDelegate.percentileCont
(Expression<? extends Number> argument, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> JpaExpression<T>
HibernateCriteriaBuilderDelegate.percentileDisc
(Expression<? extends Number> argument, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> JpaExpression<T>
HibernateCriteriaBuilderDelegate.percentileDisc
(Expression<? extends Number> argument, JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> JpaExpression<T>
HibernateCriteriaBuilderDelegate.percentileDisc
(Expression<? extends Number> argument, JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> JpaExpression<T>
HibernateCriteriaBuilderDelegate.percentileDisc
(Expression<? extends Number> argument, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) HibernateCriteriaBuilderDelegate.search
(JpaCteCriteriaAttribute cteAttribute, SortDirection sortOrder) HibernateCriteriaBuilderDelegate.search
(JpaCteCriteriaAttribute cteAttribute, SortDirection sortOrder, NullPrecedence nullPrecedence) HibernateCriteriaBuilderDelegate.sort
(JpaExpression<?> sortExpression, SortDirection sortOrder) HibernateCriteriaBuilderDelegate.sort
(JpaExpression<?> sortExpression, SortDirection sortOrder, Nulls nullPrecedence) HibernateCriteriaBuilderDelegate.sort
(JpaExpression<?> sortExpression, SortDirection sortOrder, Nulls nullPrecedence, boolean ignoreCase) HibernateCriteriaBuilderDelegate.sort
(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) HibernateCriteriaBuilderDelegate.sort
(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence, boolean ignoreCase) -
Uses of SortDirection in org.hibernate.query.internal
Methods in org.hibernate.query.internal with parameters of type SortDirectionModifier and TypeMethodDescriptionstatic boolean
NullPrecedenceHelper.isDefaultOrdering
(Nulls precedence, SortDirection sortOrder, NullOrdering nullOrdering) Is this null precedence the default for the given sort order and null ordering. -
Uses of SortDirection in org.hibernate.query.sqm
Methods in org.hibernate.query.sqm with parameters of type SortDirectionModifier and TypeMethodDescriptionNodeBuilder.sort
(JpaExpression<?> sortExpression, SortDirection sortOrder) NodeBuilder.sort
(JpaExpression<?> sortExpression, SortDirection sortOrder, Nulls nullPrecedence) NodeBuilder.sort
(JpaExpression<?> sortExpression, SortDirection sortOrder, Nulls nullPrecedence, boolean ignoreCase) default SqmSortSpecification
NodeBuilder.sort
(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) default SqmSortSpecification
NodeBuilder.sort
(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence, boolean ignoreCase) -
Uses of SortDirection in org.hibernate.query.sqm.internal
Methods in org.hibernate.query.sqm.internal with parameters of type SortDirectionModifier and TypeMethodDescription<T> SqmExpression<T>
SqmCriteriaNodeBuilder.mode
(Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> SqmExpression<T>
SqmCriteriaNodeBuilder.mode
(JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> SqmExpression<T>
SqmCriteriaNodeBuilder.mode
(JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> SqmExpression<T>
SqmCriteriaNodeBuilder.mode
(JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> SqmExpression<T>
SqmCriteriaNodeBuilder.percentileCont
(Expression<? extends Number> argument, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> SqmExpression<T>
SqmCriteriaNodeBuilder.percentileCont
(Expression<? extends Number> argument, JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> SqmExpression<T>
SqmCriteriaNodeBuilder.percentileCont
(Expression<? extends Number> argument, JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> SqmExpression<T>
SqmCriteriaNodeBuilder.percentileCont
(Expression<? extends Number> argument, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> SqmExpression<T>
SqmCriteriaNodeBuilder.percentileDisc
(Expression<? extends Number> argument, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> SqmExpression<T>
SqmCriteriaNodeBuilder.percentileDisc
(Expression<? extends Number> argument, JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> SqmExpression<T>
SqmCriteriaNodeBuilder.percentileDisc
(Expression<? extends Number> argument, JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> SqmExpression<T>
SqmCriteriaNodeBuilder.percentileDisc
(Expression<? extends Number> argument, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) SqmCriteriaNodeBuilder.search
(JpaCteCriteriaAttribute sortExpression, SortDirection sortOrder) SqmCriteriaNodeBuilder.search
(JpaCteCriteriaAttribute sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) SqmCriteriaNodeBuilder.sort
(JpaExpression<?> sortExpression, SortDirection sortOrder) SqmCriteriaNodeBuilder.sort
(JpaExpression<?> sortExpression, SortDirection sortOrder, Nulls nullPrecedence) SqmCriteriaNodeBuilder.sort
(JpaExpression<?> sortExpression, SortDirection sortOrder, Nulls nullPrecedence, boolean ignoreCase) -
Uses of SortDirection in org.hibernate.query.sqm.tree.cte
Methods in org.hibernate.query.sqm.tree.cte that return SortDirectionConstructors in org.hibernate.query.sqm.tree.cte with parameters of type SortDirectionModifierConstructorDescriptionSqmSearchClauseSpecification
(SqmCteTableColumn cteColumn, SortDirection sortOrder, NullPrecedence nullPrecedence) -
Uses of SortDirection in org.hibernate.query.sqm.tree.select
Methods in org.hibernate.query.sqm.tree.select that return SortDirectionConstructors in org.hibernate.query.sqm.tree.select with parameters of type SortDirectionModifierConstructorDescriptionSqmSortSpecification
(SqmExpression sortExpression, SortDirection sortOrder) SqmSortSpecification
(SqmExpression sortExpression, SortDirection sortOrder, Nulls nullPrecedence) SqmSortSpecification
(SqmExpression sortExpression, SortDirection sortOrder, Nulls nullPrecedence, boolean ignoreCase) SqmSortSpecification
(SqmExpression sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) Deprecated. -
Uses of SortDirection in org.hibernate.sql.ast.spi
Methods in org.hibernate.sql.ast.spi with parameters of type SortDirectionModifier and TypeMethodDescriptionprotected void
AbstractSqlAstTranslator.visitSortSpecification
(Expression sortExpression, SortDirection sortOrder, Nulls nullPrecedence, boolean ignoreCase) -
Uses of SortDirection in org.hibernate.sql.ast.tree.cte
Methods in org.hibernate.sql.ast.tree.cte that return SortDirectionConstructors in org.hibernate.sql.ast.tree.cte with parameters of type SortDirectionModifierConstructorDescriptionSearchClauseSpecification
(CteColumn cteColumn, SortDirection sortOrder, Nulls nullPrecedence) SearchClauseSpecification
(CteColumn cteColumn, SortDirection sortOrder, NullPrecedence nullPrecedence) Deprecated. -
Uses of SortDirection in org.hibernate.sql.ast.tree.select
Methods in org.hibernate.sql.ast.tree.select that return SortDirectionConstructors in org.hibernate.sql.ast.tree.select with parameters of type SortDirectionModifierConstructorDescriptionSortSpecification
(Expression sortExpression, SortDirection sortOrder) SortSpecification
(Expression sortExpression, SortDirection sortOrder, Nulls nullPrecedence) SortSpecification
(Expression sortExpression, SortDirection sortOrder, Nulls nullPrecedence, boolean ignoreCase) SortSpecification
(Expression sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) Deprecated.