Module org.elasticsearch.xcore
Class TransformMetadata.TransformMetadataDiff
java.lang.Object
org.elasticsearch.xpack.core.transform.TransformMetadata.TransformMetadataDiff
- All Implemented Interfaces:
Diff<Metadata.Custom>,NamedDiff<Metadata.Custom>,NamedWriteable,Writeable
- Enclosing class:
TransformMetadata
public static class TransformMetadata.TransformMetadataDiff
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) Merge the diff with the transform metadata.voidwriteTo(StreamOutput out)
-
Constructor Details
-
TransformMetadataDiff
- Throws:
IOException
-
-
Method Details
-
apply
Merge the diff with the transform metadata.- Specified by:
applyin interfaceDiff<Metadata.Custom>- Parameters:
part- The current transform metadata.- Returns:
- The new transform metadata.
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable
-
getMinimalSupportedVersion
- Specified by:
getMinimalSupportedVersionin interfaceNamedDiff<Metadata.Custom>
-