Class Sort.TypedSort<T>
java.lang.Object
org.springframework.data.domain.Sort
org.springframework.data.domain.Sort.TypedSort<T>
- All Implemented Interfaces:
Serializable, Iterable<Sort.Order>, Supplier<Stream<Sort.Order>>, Streamable<Sort.Order>
- Enclosing class:
Sort
Deprecated.
Extension of Sort to use method handles to define properties to sort by.
- Since:
- 2.2
- Author:
- Oliver Gierke
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Sort
Sort.Direction, Sort.NullHandling, Sort.Order, Sort.TypedSort<T> -
Field Summary
Fields inherited from class Sort
DEFAULT_DIRECTION -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns a newSortwith the current setup but ascending order direction.<S> Sort.TypedSort<S> Deprecated.<S> Sort.TypedSort<S> by(MethodInvocationRecorder.Recorded.ToCollectionConverter<T, S> collectionProperty) Deprecated.<S> Sort.TypedSort<S> by(MethodInvocationRecorder.Recorded.ToMapConverter<T, S> mapProperty) Deprecated.Deprecated.Returns a newSortwith the current setup but descending order direction.booleanisEmpty()Deprecated.Returns whether the currentStreamableis empty.iterator()Deprecated.toString()Deprecated.Methods inherited from class Sort
and, by, by, by, by, by, by, doReverse, equals, getOrderFor, hashCode, isSorted, isUnsorted, reverse, sort, unsortedMethods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
by
Deprecated. -
by
public <S> Sort.TypedSort<S> by(MethodInvocationRecorder.Recorded.ToCollectionConverter<T, S> collectionProperty) Deprecated. -
by
Deprecated. -
ascending
-
descending
-
iterator
-
isEmpty
public boolean isEmpty()Deprecated.Description copied from interface:StreamableReturns whether the currentStreamableis empty.- Specified by:
isEmptyin interfaceStreamable<T>- Overrides:
isEmptyin classSort- Returns:
-
toString
-
Sort.by(org.springframework.data.core.TypedPropertyPath...)