java.lang.Object
org.springframework.data.domain.Sort
org.springframework.data.cassandra.core.query.VectorSort
- All Implemented Interfaces:
Serializable,Iterable<Sort.Order>,Supplier<Stream<Sort.Order>>,Streamable<Sort.Order>
Sort option for queries that applies vector sorting.
- Since:
- 4.5
- Author:
- Mark Paluch
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.domain.Sort
Sort.Direction, Sort.NullHandling, Sort.Order, Sort.TypedSort<T extends Object> -
Field Summary
Fields inherited from class org.springframework.data.domain.Sort
DEFAULT_DIRECTION -
Constructor Summary
ConstructorsConstructorDescriptionVectorSort(String column, Object vector) VectorSort(List<Sort.Order> orders, Object vector) -
Method Summary
Modifier and TypeMethodDescriptionstatic VectorSortCreates a newVectorSortfor the given attributes with the default sort direction.static VectorSortCreates a newVectorSortfor the given attributes with the default sort direction.static VectorSortCreates a newVectorSortfor the given attributes with the default sort direction.static VectorSortCreates a newVectorSortfor the given attributes with the default sort direction.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, spliterator
-
Constructor Details
-
VectorSort
-
VectorSort
-
-
Method Details
-
ann
public static VectorSort ann(String column, com.datastax.oss.driver.api.core.data.CqlVector<? extends Number> vector) Creates a newVectorSortfor the given attributes with the default sort direction. -
ann
Creates a newVectorSortfor the given attributes with the default sort direction. -
ann
Creates a newVectorSortfor the given attributes with the default sort direction. -
ann
Creates a newVectorSortfor the given attributes with the default sort direction. -
getVector
-