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

    Modifier and Type
    Method
    Description
    JpaSort.and(org.springframework.data.domain.Sort.Direction direction, jakarta.persistence.metamodel.Attribute<?,?>... attributes)
    Returns a new JpaSort with the given sorting criteria added to the current one.
    JpaSort.and(org.springframework.data.domain.Sort.Direction direction, JpaSort.Path<?,?>... paths)
    Returns a new JpaSort with the given sorting criteria added to the current one.
    JpaSort.andUnsafe(org.springframework.data.domain.Sort.Direction direction, String... properties)
    Returns a new JpaSort with the given sorting criteria added to the current one.
    static JpaSort
    JpaSort.of(jakarta.persistence.metamodel.Attribute<?,?>... attributes)
    Creates a new JpaSort for the given attributes with the default sort direction.
    static JpaSort
    JpaSort.of(org.springframework.data.domain.Sort.Direction direction, jakarta.persistence.metamodel.Attribute<?,?>... attributes)
    Creates a new JpaSort for the given direction and attributes.
    static JpaSort
    JpaSort.of(org.springframework.data.domain.Sort.Direction direction, JpaSort.Path<?,?>... paths)
    Creates a new JpaSort for the given direction and JpaSort.Paths.
    static JpaSort
    JpaSort.of(JpaSort.Path<?,?>... paths)
    Creates a new JpaSort instance with the given JpaSort.Paths.
    static JpaSort
    JpaSort.unsafe(String... properties)
    Creates new unsafe JpaSort based on given properties.
    static JpaSort
    JpaSort.unsafe(org.springframework.data.domain.Sort.Direction direction, String... properties)
    Creates new unsafe JpaSort based on given Sort.Direction and properties.
    static JpaSort
    JpaSort.unsafe(org.springframework.data.domain.Sort.Direction direction, List<String> properties)
    Creates new unsafe JpaSort based on given Sort.Direction and properties.