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(Sort.Direction direction, jakarta.persistence.metamodel.Attribute<?, ?>... attributes) Returns a newJpaSortwith the given sorting criteria added to the current one.JpaSort.and(Sort.Direction direction, JpaSort.Path<?, ?>... paths) Returns a newJpaSortwith the given sorting criteria added to the current one.JpaSort.andUnsafe(Sort.Direction direction, String... properties) 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(Sort.Direction direction, jakarta.persistence.metamodel.Attribute<?, ?>... attributes) Creates a newJpaSortfor the given direction and attributes.static JpaSortJpaSort.of(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 JpaSortJpaSort.unsafe(Sort.Direction direction, String... properties) Creates new unsafeJpaSortbased on givenSort.Directionand properties.static JpaSortJpaSort.unsafe(Sort.Direction direction, List<String> properties) Creates new unsafeJpaSortbased on givenSort.Directionand properties.