Diff<MetaData.Custom>, NamedDiff<MetaData.Custom>, NamedWriteable, Writeablepublic static final class IndexGraveyard.IndexGraveyardDiff extends java.lang.Object implements NamedDiff<MetaData.Custom>
Writeable.Reader<V>, Writeable.Writer<V>| Modifier and Type | Method | Description |
|---|---|---|
IndexGraveyard |
apply(MetaData.Custom previous) |
Applies difference to the specified part and returns the resulted part
|
java.util.List<IndexGraveyard.Tombstone> |
getAdded() |
The index tombstones that were added between two states
|
int |
getRemovedCount() |
The number of index tombstones that were removed between two states
|
java.lang.String |
getWriteableName() |
Returns the name of the writeable object
|
void |
writeTo(StreamOutput out) |
Write this into the StreamOutput.
|
getMinimalSupportedVersionpublic void writeTo(StreamOutput out) throws java.io.IOException
Writeablepublic IndexGraveyard apply(MetaData.Custom previous)
Diffapply in interface Diff<MetaData.Custom>public java.util.List<IndexGraveyard.Tombstone> getAdded()
public int getRemovedCount()
public java.lang.String getWriteableName()
NamedWriteablegetWriteableName in interface NamedWriteable