Class DataApiDeleteOneOp

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

public class DataApiDeleteOneOp extends DataApiBaseOp
  • Field Summary

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

    db, logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    DataApiDeleteOneOp(com.datastax.astra.client.Database db, com.datastax.astra.client.Collection collection, com.datastax.astra.client.model.Filter filter, com.datastax.astra.client.model.DeleteOneOptions 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

    • DataApiDeleteOneOp

      public DataApiDeleteOneOp(com.datastax.astra.client.Database db, com.datastax.astra.client.Collection collection, com.datastax.astra.client.model.Filter filter, com.datastax.astra.client.model.DeleteOneOptions 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