Enum Class AckTruncateMessage.LocationResult
java.lang.Object
java.lang.Enum<AckTruncateMessage.LocationResult>
com.illumon.iris.db.tables.dataimport.logtailer.AckTruncateMessage.LocationResult
- All Implemented Interfaces:
Serializable
,Comparable<AckTruncateMessage.LocationResult>
,java.lang.constant.Constable
- Enclosing class:
- AckTruncateMessage
public static enum AckTruncateMessage.LocationResult
extends Enum<AckTruncateMessage.LocationResult>
Truncate or delete result for a single table location.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe location was deletedthe operation was evaluated but not performedThe location cannot be deleted because it has not been truncated, or the truncation or deletion failed for some reasonThe location was skipped because it was found on disk, but is unknown to the table location provider.The location was truncated -
Method Summary
Modifier and TypeMethodDescriptionbyte
Returns the enum constant of this class with the specified name.static AckTruncateMessage.LocationResult[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DRY_RUN
the operation was evaluated but not performed -
TRUNCATED
The location was truncated -
FAILED
The location cannot be deleted because it has not been truncated, or the truncation or deletion failed for some reason -
SKIPPED
The location was skipped because it was found on disk, but is unknown to the table location provider. -
DELETED
The location was deleted
-
-
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
-
getWireValue
public byte getWireValue()
-