@API(value=EXPERIMENTAL) public class InvalidIndexEntry extends Object
Modifier and Type | Class and 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 and Description |
---|
InvalidIndexEntry(IndexEntry entry,
InvalidIndexEntry.Reason reason)
Deprecated.
in favor of
newOrphan(IndexEntry) or newMissing(IndexEntry, FDBStoredRecord) |
Modifier and Type | Method and 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() |
@API(value=DEPRECATED) @Deprecated public InvalidIndexEntry(@Nonnull IndexEntry entry, @Nonnull InvalidIndexEntry.Reason reason)
newOrphan(IndexEntry)
or newMissing(IndexEntry, FDBStoredRecord)
entry
- the invalid index entryreason
- the reason why this entry is invalidpublic static InvalidIndexEntry newOrphan(@Nonnull IndexEntry entry)
public static InvalidIndexEntry newMissing(@Nonnull IndexEntry entry, @Nonnull FDBStoredRecord<Message> record)
@Nonnull public IndexEntry getEntry()
@Nonnull public InvalidIndexEntry.Reason getReason()