Class UpdateOneOptions.Builder

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

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

    • upsert

      public static UpdateOneOptions upsert(boolean upsert)
      Deprecated.
      Create a new instance of UpdateOneOptions.
      Parameters:
      upsert - upsert flag
      Returns:
      new instance of UpdateOneOptions.
    • sort

      public static UpdateOneOptions 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 UpdateOneOptions instance configured with the provided sort criteria.
    • vectorize

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

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