Class DataApiFindOneAndDeleteOp

java.lang.Object
io.nosqlbench.adapter.dataapi.ops.DataApiBaseOp
io.nosqlbench.adapter.dataapi.ops.DataApiFindOneAndDeleteOp
All Implemented Interfaces:
CycleOp<Object>, LongFunction<Object>

public class DataApiFindOneAndDeleteOp extends DataApiBaseOp
  • Field Summary

    Fields inherited from class io.nosqlbench.adapter.dataapi.ops.DataApiBaseOp

    db, logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    DataApiFindOneAndDeleteOp(com.datastax.astra.client.Database db, com.datastax.astra.client.Collection<com.datastax.astra.client.model.Document> collection, com.datastax.astra.client.model.Filter filter, com.datastax.astra.client.model.FindOneAndDeleteOptions options)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(long value)
    Run an action for the given cycle.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DataApiFindOneAndDeleteOp

      public DataApiFindOneAndDeleteOp(com.datastax.astra.client.Database db, com.datastax.astra.client.Collection<com.datastax.astra.client.model.Document> collection, com.datastax.astra.client.model.Filter filter, com.datastax.astra.client.model.FindOneAndDeleteOptions options)
  • Method Details

    • apply

      public Object apply(long value)
      Description copied from interface: CycleOp

      Run an action for the given cycle.

      Parameters:
      value - The cycle value for which an operation is run