Class JpaSort.Path<T,S>
java.lang.Object
org.springframework.data.jpa.domain.JpaSort.Path<T,S>
- Enclosing class:
JpaSort
Value object to abstract a collection of
Attributes.- Author:
- Oliver Gierke
-
Method Summary
Modifier and TypeMethodDescription<A extends jakarta.persistence.metamodel.Attribute<S,U>, U>
JpaSort.Path<S, U> dot(A attribute) Collects the givenAttributeand returning a newJpaSort.Pathpointing to the attribute type.<P extends jakarta.persistence.metamodel.PluralAttribute<S,?, U>, U>
JpaSort.Path<S, U> dot(P attribute) Collects the givenPluralAttributeand returning a newJpaSort.Pathpointing to the attribute type.toString()
-
Method Details
-
dot
@Contract("_ -> new") @CheckReturnValue public <A extends jakarta.persistence.metamodel.Attribute<S,U>, U> JpaSort.Path<S,U> dot(A attribute) Collects the givenAttributeand returning a newJpaSort.Pathpointing to the attribute type.- Parameters:
attribute- must not be null.- Returns:
-
dot
@Contract("_ -> new") @CheckReturnValue public <P extends jakarta.persistence.metamodel.PluralAttribute<S,?, JpaSort.Path<S,U>, U> U> dot(P attribute) Collects the givenPluralAttributeand returning a newJpaSort.Pathpointing to the attribute type.- Parameters:
attribute- must not be null.- Returns:
-
toString
-