Class DeleteOneOptions.Builder

java.lang.Object
com.datastax.astra.client.model.DeleteOneOptions.Builder
Enclosing class:
DeleteOneOptions

@Deprecated public static class DeleteOneOptions.Builder extends Object
Deprecated.
Builder for creating DeleteOneOptions instances with a fluent API.
  • Method Details

    • sort

      public static DeleteOneOptions sort(Sort... sort)
      Deprecated.
      Initializes the building process with sorting options.
      Parameters:
      sort - The sort criteria to be applied to the delete operation.
      Returns:
      A new DeleteOneOptions instance configured with the provided sort criteria.
    • vectorize

      public static DeleteOneOptions vectorize(String vectorize, Sort... sorts)
      Deprecated.
      Initializes the building process with vectorize options.
      Parameters:
      vectorize - The vectorize criteria to be applied to the findOne operation
      sorts - The sort criteria to be applied to the findOne operation.
      Returns:
      A new DeleteOneOptions instance configured with the provided vectorize criteria.
    • vector

      public static DeleteOneOptions vector(float[] vector, Sort... sorts)
      Deprecated.
      Initializes the building process with vector options.
      Parameters:
      vector - The vector criteria to be applied to the findOne operation
      sorts - The sort criteria to be applied to the findOne operation.
      Returns:
      A new DeleteOneOptions instance configured with the provided vector criteria.