java.lang.Object
com.datastax.astra.client.core.options.BaseOptions<UpdateOneOptions>
com.datastax.astra.client.collections.commands.options.UpdateOneOptions
All Implemented Interfaces:
Cloneable

public class UpdateOneOptions extends BaseOptions<UpdateOneOptions>
Options for the updateOne operation
  • Constructor Details

    • UpdateOneOptions

      public UpdateOneOptions()
      Default constructor.
  • Method Details

    • sort

      public UpdateOneOptions sort(Sort... s)
      Adding this on top of sort(Sort[] s) to allow for a more fluent API.
      Parameters:
      s - sort options
      Returns:
      current command
    • getSortArray

      public Sort[] getSortArray()
      Get the sort options.
      Returns:
      sort options