Class Sort
java.lang.Object
org.springframework.data.domain.Sort
com.redis.om.spring.repository.query.Sort
- All Implemented Interfaces:
Serializable,Iterable<org.springframework.data.domain.Sort.Order>,Supplier<Stream<org.springframework.data.domain.Sort.Order>>,org.springframework.data.util.Streamable<org.springframework.data.domain.Sort.Order>
public class Sort
extends org.springframework.data.domain.Sort
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.domain.Sort
org.springframework.data.domain.Sort.Direction, org.springframework.data.domain.Sort.NullHandling, org.springframework.data.domain.Sort.Order, org.springframework.data.domain.Sort.TypedSort<T extends Object> -
Field Summary
Fields inherited from class org.springframework.data.domain.Sort
DEFAULT_DIRECTION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.data.domain.Sortby(org.springframework.data.domain.Sort.Direction direction, MetamodelField<?, ?>... fields) Methods inherited from class org.springframework.data.domain.Sort
and, ascending, by, by, by, by, descending, doReverse, equals, getOrderFor, hashCode, isEmpty, isSorted, isUnsorted, iterator, reverse, sort, toString, unsortedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.springframework.data.util.Streamable
and, and, and, and, filter, flatMap, get, map, stream, toList, toSet
-
Constructor Details
-
Sort
-
-
Method Details
-
by
public static org.springframework.data.domain.Sort by(org.springframework.data.domain.Sort.Direction direction, MetamodelField<?, ?>... fields) - Parameters:
direction- must not be null.fields- must not be null.- Returns:
- a Spring Sort object
-