Module org.elasticsearch.xcore
Class StartDataFrameAnalyticsAction.TaskParams
java.lang.Object
org.elasticsearch.xpack.core.ml.action.StartDataFrameAnalyticsAction.TaskParams
- All Implemented Interfaces:
NamedWriteable,VersionedNamedWriteable,Writeable,PersistentTaskParams,ToXContent,ToXContentObject,MlTaskParams
- Enclosing class:
StartDataFrameAnalyticsAction
public static class StartDataFrameAnalyticsAction.TaskParams
extends Object
implements PersistentTaskParams, MlTaskParams
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfromXContent(XContentParser parser) getId()getMlId()The id of the ML config this task is executinginthashCode()booleantoXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragmentMethods inherited from interface org.elasticsearch.common.io.stream.VersionedNamedWriteable
supportsVersion
-
Field Details
-
VERSION_INTRODUCED
-
VERSION_DESTINATION_INDEX_MAPPINGS_CHANGED
-
PARSER
-
-
Constructor Details
-
TaskParams
-
TaskParams
- Throws:
IOException
-
-
Method Details
-
fromXContent
-
getId
-
getVersion
-
isAllowLazyStart
public boolean isAllowLazyStart() -
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable- Specified by:
getWriteableNamein interfaceVersionedNamedWriteable
-
getMinimalSupportedVersion
- Specified by:
getMinimalSupportedVersionin interfaceVersionedNamedWriteable
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
getMlId
Description copied from interface:MlTaskParamsThe id of the ML config this task is executing- Specified by:
getMlIdin interfaceMlTaskParams
-