Diff<MetaData.Custom>
, NamedDiff<MetaData.Custom>
, NamedWriteable
, Writeable
public 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.
|
getMinimalSupportedVersion
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
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