Uses of Class
org.springframework.data.jpa.domain.JpaSort.Path
Package
Description
JPA specific support classes to implement domain classes.
-
Uses of JpaSort.Path in org.springframework.data.jpa.domain
Modifier and TypeMethodDescription<A extends jakarta.persistence.metamodel.Attribute<S,
U>, U>
JpaSort.Path<S,U> JpaSort.Path.dot
(A attribute) Collects the givenAttribute
and returning a newJpaSort.Path
pointing to the attribute type.<P extends jakarta.persistence.metamodel.PluralAttribute<S,
?, U>, U>
JpaSort.Path<S,U> JpaSort.Path.dot
(P attribute) Collects the givenPluralAttribute
and returning a newJpaSort.Path
pointing to the attribute type.static <A extends jakarta.persistence.metamodel.Attribute<T,
S>, T, S>
JpaSort.Path<T,S> JpaSort.path
(A attribute) Creates a newJpaSort.Path
for the givenAttribute
.static <P extends jakarta.persistence.metamodel.PluralAttribute<T,
?, S>, T, S>
JpaSort.Path<T,S> JpaSort.path
(P attribute) Creates a newJpaSort.Path
for the givenPluralAttribute
.Modifier and TypeMethodDescriptionJpaSort.and
(org.springframework.data.domain.Sort.Direction direction, JpaSort.Path<?, ?>... paths) Returns a newJpaSort
with the given sorting criteria added to the current one.static JpaSort
JpaSort.of
(org.springframework.data.domain.Sort.Direction direction, JpaSort.Path<?, ?>... paths) Creates a newJpaSort
for the given direction andJpaSort.Path
s.static JpaSort
JpaSort.of
(JpaSort.Path<?, ?>... paths) Creates a newJpaSort
instance with the givenJpaSort.Path
s.ModifierConstructorDescriptionJpaSort
(org.springframework.data.domain.Sort.Direction direction, JpaSort.Path<?, ?>... paths) Deprecated.JpaSort
(JpaSort.Path<?, ?>... paths) Deprecated.since 2.3, use {@link JpaSort#of(Path...))} instead.
JpaSort.of(Direction, Path...)
instead.