Module org.elasticsearch.xcore
Class TransformMetadata
java.lang.Object
org.elasticsearch.xpack.core.transform.TransformMetadata
- All Implemented Interfaces:
Diffable<Metadata.ProjectCustom>,Metadata.MetadataCustom<Metadata.ProjectCustom>,Metadata.ProjectCustom,NamedDiffable<Metadata.ProjectCustom>,NamedWriteable,VersionedNamedWriteable,Writeable,ChunkedToXContent
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TransformMetadatastatic final ObjectParser<TransformMetadata.Builder, Void> static final ParseFieldstatic final Stringstatic final ParseFieldFields inherited from interface org.elasticsearch.common.xcontent.ChunkedToXContent
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()context()diff(Metadata.ProjectCustom previousState) booleanstatic TransformMetadatagetTransformMetadata(ClusterState state) Deprecated, for removal: This API element is subject to removal in a future version.inthashCode()booleanstatic booleanisUpgradeMode(ClusterState state) Deprecated, for removal: This API element is subject to removal in a future version.static booleanisUpgradeMode(ProjectMetadata project) booleanfinal StringtoString()Iterator<? extends ToXContent> toXContentChunked(ToXContent.Params ignored) static TransformMetadatatransformMetadata(ClusterState state, ProjectId projectId) Deprecated, for removal: This API element is subject to removal in a future version.static TransformMetadatatransformMetadata(ProjectMetadata project) static TransformMetadatatransformMetadata(ProjectState projectState) Deprecated, for removal: This API element is subject to removal in a future version.voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.common.xcontent.ChunkedToXContent
isFragment, toXContentChunked, toXContentChunkedV8Methods inherited from interface org.elasticsearch.cluster.metadata.Metadata.MetadataCustom
isRestorableMethods inherited from interface org.elasticsearch.common.io.stream.VersionedNamedWriteable
supportsVersion
-
Field Details
-
TYPE
- See Also:
-
RESET_MODE
-
UPGRADE_MODE
-
EMPTY_METADATA
-
LENIENT_PARSER
-
-
Constructor Details
-
TransformMetadata
- Throws:
IOException
-
-
Method Details
-
resetMode
public boolean resetMode() -
isUpgradeMode
public boolean isUpgradeMode() -
getMinimalSupportedVersion
- Specified by:
getMinimalSupportedVersionin interfaceVersionedNamedWriteable
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable- Specified by:
getWriteableNamein interfaceVersionedNamedWriteable
-
context
- Specified by:
contextin interfaceMetadata.MetadataCustom<Metadata.ProjectCustom>
-
diff
- Specified by:
diffin interfaceDiffable<Metadata.ProjectCustom>
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContentChunked
- Specified by:
toXContentChunkedin interfaceChunkedToXContent
-
equals
-
toString
-
hashCode
public int hashCode() -
builder
-
getTransformMetadata
@Deprecated(forRemoval=true) public static TransformMetadata getTransformMetadata(ClusterState state) Deprecated, for removal: This API element is subject to removal in a future version. -
transformMetadata
@Deprecated(forRemoval=true) public static TransformMetadata transformMetadata(@Nullable ClusterState state, @Nullable ProjectId projectId) Deprecated, for removal: This API element is subject to removal in a future version. -
transformMetadata
@Deprecated(forRemoval=true) public static TransformMetadata transformMetadata(@Nullable ProjectState projectState) Deprecated, for removal: This API element is subject to removal in a future version. -
transformMetadata
-
isUpgradeMode
Deprecated, for removal: This API element is subject to removal in a future version. -
isUpgradeMode
-
transformMetadata(ProjectMetadata)