Enum InvalidIndexEntry.Reasons
- java.lang.Object
-
- java.lang.Enum<InvalidIndexEntry.Reasons>
-
- com.apple.foundationdb.record.provider.foundationdb.indexes.InvalidIndexEntry.Reasons
-
- All Implemented Interfaces:
InvalidIndexEntry.Reason
,Serializable
,Comparable<InvalidIndexEntry.Reasons>
- Enclosing class:
- InvalidIndexEntry
public static enum InvalidIndexEntry.Reasons extends Enum<InvalidIndexEntry.Reasons> implements InvalidIndexEntry.Reason
The reasons supported in the Record Layer.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
Get the description of the reason for user displays.static InvalidIndexEntry.Reasons
valueOf(String name)
Returns the enum constant of this type with the specified name.static InvalidIndexEntry.Reasons[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface com.apple.foundationdb.record.provider.foundationdb.indexes.InvalidIndexEntry.Reason
name
-
-
-
-
Enum Constant Detail
-
ORPHAN
public static final InvalidIndexEntry.Reasons ORPHAN
-
MISSING
public static final InvalidIndexEntry.Reasons MISSING
-
-
Method Detail
-
values
public static InvalidIndexEntry.Reasons[] 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 (InvalidIndexEntry.Reasons c : InvalidIndexEntry.Reasons.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InvalidIndexEntry.Reasons 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
-
description
public String description()
Description copied from interface:InvalidIndexEntry.Reason
Get the description of the reason for user displays.- Specified by:
description
in interfaceInvalidIndexEntry.Reason
- Returns:
- the user-visible description
-
-