Enum Class CqlD4OpType
- All Implemented Interfaces:
Serializable,Comparable<CqlD4OpType>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic CqlD4OpTypeReturns the enum constant of this class with the specified name.static CqlD4OpType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
raw
-
simple
-
prepared
-
batch
-
verify
-
gremlin
-
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
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
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 nameNullPointerException- if the argument is null
-