public enum CompactionState extends Enum<CompactionState>
| Enum Constant and Description |
|---|
ABORTED |
DID_NOT_INITIATE |
FAILED |
INITIATED |
READY_FOR_CLEANING |
REFUSED |
SUCCEEDED |
WORKING |
| Modifier and Type | Method and Description |
|---|---|
static CompactionState |
fromSqlConst(char sqlConst) |
static CompactionState |
fromSqlConst(String sqlConst) |
static CompactionState |
fromString(String inputValue) |
String |
getSqlConst() |
String |
toString() |
static CompactionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompactionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompactionState INITIATED
public static final CompactionState WORKING
public static final CompactionState READY_FOR_CLEANING
public static final CompactionState FAILED
public static final CompactionState SUCCEEDED
public static final CompactionState DID_NOT_INITIATE
public static final CompactionState REFUSED
public static final CompactionState ABORTED
public static CompactionState[] values()
for (CompactionState c : CompactionState.values()) System.out.println(c);
public static CompactionState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<CompactionState>public String getSqlConst()
public static CompactionState fromSqlConst(char sqlConst)
public static CompactionState fromSqlConst(String sqlConst)
public static CompactionState fromString(String inputValue)
Copyright © 2024 The Apache Software Foundation. All rights reserved.