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, wait
getMinimalSupportedVersion
public void writeTo(StreamOutput out) throws java.io.IOException
Diff
writeTo
in interface Diff<MetaData.Custom>
writeTo
in interface Writeable
java.io.IOException
public IndexGraveyard apply(MetaData.Custom previous)
Diff
apply
in interface Diff<MetaData.Custom>
public java.util.List<IndexGraveyard.Tombstone> getAdded()
public int getRemovedCount()
public java.lang.String getWriteableName()
NamedWriteable
getWriteableName
in interface NamedWriteable