Class CollectionFindOneAndDeleteOptions

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

public class CollectionFindOneAndDeleteOptions extends BaseOptions<CollectionFindOneAndDeleteOptions>
Options to find one and delete.
  • Constructor Details

    • CollectionFindOneAndDeleteOptions

      public CollectionFindOneAndDeleteOptions()
      Default constructor.
  • Method Details

    • sort

      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
    • projection

      Adding this on top of projection(Projection[] p) to allow for a more fluent API.
      Parameters:
      p - projection options
      Returns:
      current command
    • getProjectionArray

      public Projection[] getProjectionArray()
      Adding this on top of sort(Sort[] s) to allow for a more fluent API.
      Returns:
      project