Module org.elasticsearch.server
Package org.elasticsearch.upgrades
Class FeatureMigrationResults.ResultsDiff
java.lang.Object
org.elasticsearch.upgrades.FeatureMigrationResults.ResultsDiff
- All Implemented Interfaces:
Diff<Metadata.Custom>,NamedDiff<Metadata.Custom>,NamedWriteable,Writeable
- Enclosing class:
- FeatureMigrationResults
public static class FeatureMigrationResults.ResultsDiff
extends Object
implements NamedDiff<Metadata.Custom>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(Metadata.Custom part) Applies difference to the specified part and returns the resulted partThe minimal version of the recipient this custom object can be sent toReturns the name of the writeable objectvoidwriteTo(StreamOutput out) Write this into the StreamOutput.
-
Constructor Details
-
ResultsDiff
-
ResultsDiff
- Throws:
IOException
-
-
Method Details
-
apply
Description copied from interface:DiffApplies difference to the specified part and returns the resulted part- Specified by:
applyin interfaceDiff<Metadata.Custom>
-
getWriteableName
Description copied from interface:NamedWriteableReturns the name of the writeable object- Specified by:
getWriteableNamein interfaceNamedWriteable
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getMinimalSupportedVersion
Description copied from interface:NamedDiffThe minimal version of the recipient this custom object can be sent to- Specified by:
getMinimalSupportedVersionin interfaceNamedDiff<Metadata.Custom>
-