public static final class IndexGraveyard.IndexGraveyardDiff extends java.lang.Object implements NamedDiff<MetaData.Custom>
Writeable.Reader<V>, Writeable.Writer<V>| Modifier and Type | Method and 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)
Writes the differences into the output stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMinimalSupportedVersionpublic void writeTo(StreamOutput out) throws java.io.IOException
DiffwriteTo in interface Diff<MetaData.Custom>writeTo in interface Writeablejava.io.IOExceptionpublic 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