Package org.apache.cassandra.net
Enum Class ParamType
- All Implemented Interfaces:
Serializable,Comparable<ParamType>,Constable
Type names and serializers for various parameters that can be put in
Message params map.
It should be safe to add new params without bumping messaging version - Message serializer
will skip over any params it doesn't recognise.
Please don't add boolean params here. Extend and use MessageFlag instead.
Do not re-use old, nor fill gaps in the sequence of, ids. New IDs must be higher.-
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
-
Enum Constant Details
-
FORWARD_TO
-
RESPOND_TO
-
TRACE_SESSION
-
TRACE_TYPE
-
TOMBSTONE_FAIL
-
TOMBSTONE_WARNING
-
LOCAL_READ_SIZE_FAIL
-
LOCAL_READ_SIZE_WARN
-
ROW_INDEX_READ_SIZE_FAIL
-
ROW_INDEX_READ_SIZE_WARN
-
CUSTOM_MAP
-
SNAPSHOT_RANGES
-
TOO_MANY_REFERENCED_INDEXES_WARN
-
TOO_MANY_REFERENCED_INDEXES_FAIL
-
-
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
-