java.lang.Object
org.elasticsearch.xpack.core.ml.job.config.JobUpdate
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentObject
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested 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
FieldsModifier and TypeFieldDescriptionstatic final ParseFieldstatic final ParseFieldstatic final ConstructingObjectParser<JobUpdate.Builder, Void> Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetJobId()inthashCode()booleanmergeWithJob(Job source, ByteSizeValue maxModelMemoryLimit) Updatessourcewith the new values in this object returning a newJob.toString()toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
DETECTORS
-
CLEAR_JOB_FINISH_TIME
-
PARSER
-
-
Constructor Details
-
JobUpdate
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getJobId
-
getGroups
-
getDescription
-
getDetectorUpdates
-
getModelPlotConfig
-
getAnalysisLimits
-
getRenormalizationWindowDays
-
getBackgroundPersistInterval
-
getModelSnapshotRetentionDays
-
getDailyModelSnapshotRetentionAfterDays
-
getResultsRetentionDays
-
getCategorizationFilters
-
getPerPartitionCategorizationConfig
-
getCustomSettings
-
getModelSnapshotId
-
getModelSnapshotMinVersion
-
getJobVersion
-
getClearJobFinishTime
-
getAllowLazyOpen
-
isAutodetectProcessUpdate
public boolean isAutodetectProcessUpdate() -
getBlocked
-
getModelPruneWindow
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
toString
-
getUpdateFields
-
mergeWithJob
Updatessourcewith the new values in this object returning a newJob.- Parameters:
source- Source job to be updatedmaxModelMemoryLimit- The maximum model memory allowed- Returns:
- A new job equivalent to
sourceupdated.
-
equals
-
hashCode
public int hashCode()
-