Enum Class CqlD4OpType

java.lang.Object
java.lang.Enum<CqlD4OpType>
io.nosqlbench.adapter.cqld4.opmappers.CqlD4OpType
All Implemented Interfaces:
Serializable, Comparable<CqlD4OpType>, Constable

public enum CqlD4OpType extends Enum<CqlD4OpType>
  • Enum Constant Details

    • raw

      public static final CqlD4OpType raw
    • simple

      public static final CqlD4OpType simple
    • prepared

      public static final CqlD4OpType prepared
    • batch

      public static final CqlD4OpType batch
    • verify

      public static final CqlD4OpType verify
    • gremlin

      public static final CqlD4OpType gremlin
    • fluent

      public static final CqlD4OpType fluent
      uses [[com.datastax.dse.driver.api.core.graph.FluentGraphStatement]] This mode is the recommended mode for gremlin execution. It uses the fluent API on the client side. The fluent syntax is compiled and cached as bytecode within a per-thread execution environment (for each op template). For each cycle, the bindings are rendered, injected into that execution environment, and then the bytecode is executed to render the current operation, which is then sent to the server. Although this is arguably more involved, the result is quite efficient and provides the closes idiomatic experience **AND** the best performance. This is the mode that is recommended for all graph usage.
  • Method Details

    • values

      public static CqlD4OpType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CqlD4OpType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null