Class Cqld4FluentGraphOp

java.lang.Object
io.nosqlbench.adapter.cqld4.optypes.Cqld4FluentGraphOp
All Implemented Interfaces:
Cqld4BaseOp<com.datastax.dse.driver.api.core.graph.GraphResultSet>, CycleOp<com.datastax.dse.driver.api.core.graph.GraphResultSet>, OpResultSize, LongFunction<com.datastax.dse.driver.api.core.graph.GraphResultSet>

public class Cqld4FluentGraphOp extends Object implements Cqld4BaseOp<com.datastax.dse.driver.api.core.graph.GraphResultSet>, OpResultSize
  • Constructor Summary

    Constructors
    Constructor
    Description
    Cqld4FluentGraphOp(com.datastax.oss.driver.api.core.CqlSession session, com.datastax.dse.driver.api.core.graph.FluentGraphStatement stmt)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.datastax.dse.driver.api.core.graph.GraphResultSet
    apply(long value)
    Run an action for the given cycle.
    long
    Provide the result size for an operation.

    Methods inherited from class java.lang.Object

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

    • Cqld4FluentGraphOp

      public Cqld4FluentGraphOp(com.datastax.oss.driver.api.core.CqlSession session, com.datastax.dse.driver.api.core.graph.FluentGraphStatement stmt)
  • Method Details

    • apply

      public com.datastax.dse.driver.api.core.graph.GraphResultSet apply(long value)
      Description copied from interface: CycleOp

      Run an action for the given cycle.

      Specified by:
      apply in interface CycleOp<com.datastax.dse.driver.api.core.graph.GraphResultSet>
      Specified by:
      apply in interface LongFunction<com.datastax.dse.driver.api.core.graph.GraphResultSet>
      Parameters:
      value - The cycle value for which an operation is run
    • getResultSize

      public long getResultSize()
      Description copied from interface: OpResultSize
      Provide the result size for an operation. If this value is less than 0, it is disregarded by default, since some operations don't make sense to have a result size, and a zero-value would skew the results for other operations.
      Specified by:
      getResultSize in interface OpResultSize