Class InvalidIndexEntry
- java.lang.Object
-
- com.apple.foundationdb.record.provider.foundationdb.indexes.InvalidIndexEntry
-
@API(EXPERIMENTAL) public class InvalidIndexEntry extends Object
An invalid index entry including the entry and the reason why it is invalid.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
InvalidIndexEntry.Reason
The reason why an index entry is invalid.static class
InvalidIndexEntry.Reasons
The reasons supported in the Record Layer.
-
Constructor Summary
Constructors Constructor Description InvalidIndexEntry(IndexEntry entry, InvalidIndexEntry.Reason reason)
Deprecated.in favor ofnewOrphan(IndexEntry)
ornewMissing(IndexEntry, FDBStoredRecord)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
IndexEntry
getEntry()
InvalidIndexEntry.Reason
getReason()
int
hashCode()
static InvalidIndexEntry
newMissing(IndexEntry entry, FDBStoredRecord<Message> record)
static InvalidIndexEntry
newOrphan(IndexEntry entry)
String
toString()
-
-
-
Constructor Detail
-
InvalidIndexEntry
@API(DEPRECATED) @Deprecated public InvalidIndexEntry(@Nonnull IndexEntry entry, @Nonnull InvalidIndexEntry.Reason reason)
Deprecated.in favor ofnewOrphan(IndexEntry)
ornewMissing(IndexEntry, FDBStoredRecord)
Construct an invalid index entry including the entry and the reason why it is invalid.- Parameters:
entry
- the invalid index entryreason
- the reason why this entry is invalid
-
-
Method Detail
-
newOrphan
public static InvalidIndexEntry newOrphan(@Nonnull IndexEntry entry)
-
newMissing
public static InvalidIndexEntry newMissing(@Nonnull IndexEntry entry, @Nonnull FDBStoredRecord<Message> record)
-
getEntry
@Nonnull public IndexEntry getEntry()
-
getReason
@Nonnull public InvalidIndexEntry.Reason getReason()
-
-