public static final class IndexGraveyard.IndexGraveyardDiff extends java.lang.Object implements Diff<MetaData.Custom>
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
|
void |
writeTo(StreamOutput out)
Writes the differences into the output stream
|
public void writeTo(StreamOutput out) throws java.io.IOException
Diff
writeTo
in interface Diff<MetaData.Custom>
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()