Class CollectionDeleteOneOptions

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

public class CollectionDeleteOneOptions extends BaseOptions<CollectionDeleteOneOptions>
Options to delete One document.
  • Constructor Details

    • CollectionDeleteOneOptions

      public CollectionDeleteOneOptions()
      Default constructor.
  • Method Details

    • sort

      public CollectionDeleteOneOptions 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