Uses of Class
org.springframework.data.jpa.domain.JpaSort
Packages that use JpaSort
Package
Description
JPA specific support classes to implement domain classes.
-
Uses of JpaSort in org.springframework.data.jpa.domain
Methods in org.springframework.data.jpa.domain that return JpaSortModifier and TypeMethodDescriptionJpaSort.and(org.springframework.data.domain.Sort.Direction direction, jakarta.persistence.metamodel.Attribute<?, ?>... attributes) Returns a newJpaSortwith the given sorting criteria added to the current one.JpaSort.and(org.springframework.data.domain.Sort.Direction direction, JpaSort.Path<?, ?>... paths) Returns a newJpaSortwith the given sorting criteria added to the current one.Returns a newJpaSortwith the given sorting criteria added to the current one.static JpaSortJpaSort.of(jakarta.persistence.metamodel.Attribute<?, ?>... attributes) Creates a newJpaSortfor the given attributes with the default sort direction.static JpaSortJpaSort.of(org.springframework.data.domain.Sort.Direction direction, jakarta.persistence.metamodel.Attribute<?, ?>... attributes) Creates a newJpaSortfor the given direction and attributes.static JpaSortJpaSort.of(org.springframework.data.domain.Sort.Direction direction, JpaSort.Path<?, ?>... paths) Creates a newJpaSortfor the given direction andJpaSort.Paths.static JpaSortJpaSort.of(JpaSort.Path<?, ?>... paths) Creates a newJpaSortinstance with the givenJpaSort.Paths.static JpaSortCreates new unsafeJpaSortbased on given properties.static JpaSortCreates new unsafeJpaSortbased on givenSort.Directionand properties.static JpaSortCreates new unsafeJpaSortbased on givenSort.Directionand properties.