Enum SemanticAttributes.DbCassandraConsistencyLevelValues
- java.lang.Object
-
- java.lang.Enum<SemanticAttributes.DbCassandraConsistencyLevelValues>
-
- io.opentelemetry.semconv.trace.attributes.SemanticAttributes.DbCassandraConsistencyLevelValues
-
- All Implemented Interfaces:
Serializable
,Comparable<SemanticAttributes.DbCassandraConsistencyLevelValues>
- Enclosing class:
- SemanticAttributes
public static enum SemanticAttributes.DbCassandraConsistencyLevelValues extends Enum<SemanticAttributes.DbCassandraConsistencyLevelValues>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
ALL.ANY
ANY.EACH_QUORUM
EACH_QUORUM.LOCAL_ONE
LOCAL_ONE.LOCAL_QUORUM
LOCAL_QUORUM.LOCAL_SERIAL
LOCAL_SERIAL.ONE
ONE.QUORUM
QUORUM.SERIAL
SERIAL.THREE
THREE.TWO
TWO.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static SemanticAttributes.DbCassandraConsistencyLevelValues
valueOf(String name)
Returns the enum constant of this type with the specified name.static SemanticAttributes.DbCassandraConsistencyLevelValues[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final SemanticAttributes.DbCassandraConsistencyLevelValues ALL
ALL.
-
EACH_QUORUM
public static final SemanticAttributes.DbCassandraConsistencyLevelValues EACH_QUORUM
EACH_QUORUM.
-
QUORUM
public static final SemanticAttributes.DbCassandraConsistencyLevelValues QUORUM
QUORUM.
-
LOCAL_QUORUM
public static final SemanticAttributes.DbCassandraConsistencyLevelValues LOCAL_QUORUM
LOCAL_QUORUM.
-
ONE
public static final SemanticAttributes.DbCassandraConsistencyLevelValues ONE
ONE.
-
TWO
public static final SemanticAttributes.DbCassandraConsistencyLevelValues TWO
TWO.
-
THREE
public static final SemanticAttributes.DbCassandraConsistencyLevelValues THREE
THREE.
-
LOCAL_ONE
public static final SemanticAttributes.DbCassandraConsistencyLevelValues LOCAL_ONE
LOCAL_ONE.
-
ANY
public static final SemanticAttributes.DbCassandraConsistencyLevelValues ANY
ANY.
-
SERIAL
public static final SemanticAttributes.DbCassandraConsistencyLevelValues SERIAL
SERIAL.
-
LOCAL_SERIAL
public static final SemanticAttributes.DbCassandraConsistencyLevelValues LOCAL_SERIAL
LOCAL_SERIAL.
-
-
Method Detail
-
values
public static SemanticAttributes.DbCassandraConsistencyLevelValues[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SemanticAttributes.DbCassandraConsistencyLevelValues c : SemanticAttributes.DbCassandraConsistencyLevelValues.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SemanticAttributes.DbCassandraConsistencyLevelValues valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public String getValue()
-
-