java.lang.Object
org.elasticsearch.xpack.core.ml.MlMetadata
- All Implemented Interfaces:
Diffable<Metadata.Custom>,Metadata.Custom,NamedDiffable<Metadata.Custom>,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 MlMetadatastatic final org.elasticsearch.xcontent.ObjectParser<MlMetadata.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 TypeMethodDescriptioncontext()diff(Metadata.Custom previousState) booleanstatic MlMetadatagetMlMetadata(ClusterState state) inthashCode()booleanbooleanfinal StringtoString()Iterator<? extends org.elasticsearch.xcontent.ToXContent> toXContentChunked(org.elasticsearch.xcontent.ToXContent.Params ignored) 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.Custom
isRestorable
-
Field Details
-
TYPE
- See Also:
-
UPGRADE_MODE
public static final org.elasticsearch.xcontent.ParseField UPGRADE_MODE -
RESET_MODE
public static final org.elasticsearch.xcontent.ParseField RESET_MODE -
EMPTY_METADATA
-
LENIENT_PARSER
-
-
Constructor Details
-
MlMetadata
- Throws:
IOException
-
-
Method Details
-
isUpgradeMode
public boolean isUpgradeMode() -
isResetMode
public boolean isResetMode() -
getMinimalSupportedVersion
- Specified by:
getMinimalSupportedVersionin interfaceVersionedNamedWriteable
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable- Specified by:
getWriteableNamein interfaceVersionedNamedWriteable
-
context
- Specified by:
contextin interfaceMetadata.Custom
-
diff
- Specified by:
diffin interfaceDiffable<Metadata.Custom>
-
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() -
getMlMetadata
-