Class ReplaceOneOptions

java.lang.Object
com.datastax.astra.client.model.CommandOptions<ReplaceOneOptions>
com.datastax.astra.client.model.ReplaceOneOptions

public class ReplaceOneOptions extends CommandOptions<ReplaceOneOptions>
Options for the replaceOne operation.
  • Constructor Details

    • ReplaceOneOptions

      public ReplaceOneOptions()
      Default constructor.
  • Method Details

    • upsert

      public ReplaceOneOptions upsert(Boolean upsert)
      Upsert flag.
      Parameters:
      upsert - upsert flag
      Returns:
      current command.