Module org.elasticsearch.xcore
Class TransformMetadata.TransformMetadataDiff
java.lang.Object
org.elasticsearch.xpack.core.transform.TransformMetadata.TransformMetadataDiff
- All Implemented Interfaces:
Diff<Metadata.ProjectCustom>,NamedDiff<Metadata.ProjectCustom>,NamedWriteable,Writeable
- Enclosing class:
TransformMetadata
public static class TransformMetadata.TransformMetadataDiff
extends Object
implements NamedDiff<Metadata.ProjectCustom>
-
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.ProjectCustom part) Merge the diff with the transform metadata.voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.cluster.NamedDiff
supportsVersion
-
Constructor Details
-
TransformMetadataDiff
- Throws:
IOException
-
-
Method Details
-
apply
Merge the diff with the transform metadata.- Specified by:
applyin interfaceDiff<Metadata.ProjectCustom>- 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.ProjectCustom>
-