AliasMetaData
, ClusterBlocks
, DiscoveryNodes
, IndexRoutingTable
, IndexTemplateMetaData
, MappingMetaData
, PipelineConfiguration
, StoredScriptSource
public abstract class AbstractDiffable<T extends Diffable<T>> extends java.lang.Object implements Diffable<T>
Writeable.Reader<V>, Writeable.Writer<V>
Constructor | Description |
---|---|
AbstractDiffable() |
Modifier and Type | Method | Description |
---|---|---|
Diff<T> |
diff(T previousState) |
Returns serializable object representing differences between this and previousState
|
T |
get() |
|
static <T extends Diffable<T>> |
readDiffFrom(Writeable.Reader<T> reader,
StreamInput in) |
public Diff<T> diff(T previousState)
Diffable
public static <T extends Diffable<T>> Diff<T> readDiffFrom(Writeable.Reader<T> reader, StreamInput in) throws java.io.IOException
java.io.IOException
public T get()