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 org.elasticsearch.xcontent.ObjectParser<TransformMetadata.Builder, Void> static final org.elasticsearch.xcontent.ParseFieldstatic final Stringstatic final org.elasticsearch.xcontent.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()booleanfinal StringtoString()Iterator<? extends org.elasticsearch.xcontent.ToXContent> toXContentChunked(org.elasticsearch.xcontent.ToXContent.Params ignored) static TransformMetadatatransformMetadata(ClusterState state, ProjectId projectId) static TransformMetadatatransformMetadata(ProjectState projectState) booleanstatic booleanupgradeMode(ClusterState state) 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
public static final org.elasticsearch.xcontent.ParseField RESET_MODE -
UPGRADE_MODE
public static final org.elasticsearch.xcontent.ParseField UPGRADE_MODE -
EMPTY_METADATA
-
LENIENT_PARSER
public static final org.elasticsearch.xcontent.ObjectParser<TransformMetadata.Builder,Void> LENIENT_PARSER
-
-
Constructor Details
-
TransformMetadata
- Throws:
IOException
-
-
Method Details
-
resetMode
public boolean resetMode() -
upgradeMode
public boolean upgradeMode() -
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
public Iterator<? extends org.elasticsearch.xcontent.ToXContent> toXContentChunked(org.elasticsearch.xcontent.ToXContent.Params ignored) - 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
public static TransformMetadata transformMetadata(@Nullable ClusterState state, @Nullable ProjectId projectId) -
transformMetadata
-
upgradeMode
-
transformMetadata(ClusterState, ProjectId)