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>

public class VectorSort extends Sort
Sort option for queries that applies vector sorting.
Since:
4.5
Author:
Mark Paluch
See Also:
  • Constructor Details

  • Method Details

    • ann

      public static VectorSort ann(String column, com.datastax.oss.driver.api.core.data.CqlVector<? extends Number> vector)
      Creates a new VectorSort for the given attributes with the default sort direction.
    • ann

      public static VectorSort ann(String column, float... vector)
      Creates a new VectorSort for the given attributes with the default sort direction.
    • ann

      public static VectorSort ann(String column, double... vector)
      Creates a new VectorSort for the given attributes with the default sort direction.
    • ann

      public static VectorSort ann(String column, Vector vector)
      Creates a new VectorSort for the given attributes with the default sort direction.
    • getVector

      public Object getVector()