Class ModelSnapshot
- java.lang.Object
-
- org.elasticsearch.client.ml.job.process.ModelSnapshot
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class ModelSnapshot extends java.lang.Object implements ToXContentObject
ModelSnapshot Result POJO
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModelSnapshot.Builder-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
Fields Modifier and Type Field Description static ParseFieldDESCRIPTIONstatic ParseFieldLATEST_RECORD_TIMEstatic ParseFieldLATEST_RESULT_TIMEstatic ParseFieldMIN_VERSIONstatic ObjectParser<ModelSnapshot.Builder,java.lang.Void>PARSERstatic ParseFieldQUANTILESstatic ParseFieldRETAINstatic ParseFieldSNAPSHOT_DOC_COUNTstatic ParseFieldSNAPSHOT_IDstatic ParseFieldTIMESTAMPField Names-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object other)Compare all the fields.java.lang.StringgetDescription()java.lang.StringgetJobId()java.util.DategetLatestRecordTimeStamp()java.util.DategetLatestResultTimeStamp()VersiongetMinVersion()ModelSizeStatsgetModelSizeStats()QuantilesgetQuantiles()booleangetRetain()intgetSnapshotDocCount()java.lang.StringgetSnapshotId()java.util.DategetTimestamp()inthashCode()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Field Detail
-
TIMESTAMP
public static final ParseField TIMESTAMP
Field Names
-
DESCRIPTION
public static final ParseField DESCRIPTION
-
SNAPSHOT_DOC_COUNT
public static final ParseField SNAPSHOT_DOC_COUNT
-
LATEST_RECORD_TIME
public static final ParseField LATEST_RECORD_TIME
-
LATEST_RESULT_TIME
public static final ParseField LATEST_RESULT_TIME
-
QUANTILES
public static final ParseField QUANTILES
-
RETAIN
public static final ParseField RETAIN
-
MIN_VERSION
public static final ParseField MIN_VERSION
-
SNAPSHOT_ID
public static final ParseField SNAPSHOT_ID
-
PARSER
public static final ObjectParser<ModelSnapshot.Builder,java.lang.Void> PARSER
-
-
Method Detail
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
getJobId
public java.lang.String getJobId()
-
getMinVersion
public Version getMinVersion()
-
getTimestamp
public java.util.Date getTimestamp()
-
getDescription
public java.lang.String getDescription()
-
getSnapshotId
public java.lang.String getSnapshotId()
-
getSnapshotDocCount
public int getSnapshotDocCount()
-
getModelSizeStats
public ModelSizeStats getModelSizeStats()
-
getQuantiles
public Quantiles getQuantiles()
-
getRetain
public boolean getRetain()
-
getLatestRecordTimeStamp
public java.util.Date getLatestRecordTimeStamp()
-
getLatestResultTimeStamp
public java.util.Date getLatestResultTimeStamp()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
Compare all the fields.- Overrides:
equalsin classjava.lang.Object
-
-