Class TableFindOneOptions

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

public class TableFindOneOptions extends BaseOptions<TableFindOneOptions>
List Options for a FindOne command.
  • Constructor Details

    • TableFindOneOptions

      public TableFindOneOptions()
      Default constructor.
  • Method Details

    • sort

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

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

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

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