@API(value=STABLE) public enum IndexOrphanBehavior extends Enum<IndexOrphanBehavior>
Enum Constant and Description |
---|
ERROR
Throw an exception when an orphaned entry is hit.
|
RETURN
Return the index entry but with no record associated with it.
|
SKIP
Silently ignore the index entry.
|
Modifier and Type | Method and Description |
---|---|
static IndexOrphanBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexOrphanBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexOrphanBehavior ERROR
public static final IndexOrphanBehavior SKIP
public static final IndexOrphanBehavior RETURN
public static IndexOrphanBehavior[] values()
for (IndexOrphanBehavior c : IndexOrphanBehavior.values()) System.out.println(c);
public static IndexOrphanBehavior 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 null