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.BuilderNested 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 -
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)
-
Field Details
-
Method Details
-
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
-
getTimestamp
public java.util.Date getTimestamp() -
getDescription
public java.lang.String getDescription() -
getSnapshotId
public java.lang.String getSnapshotId() -
getSnapshotDocCount
public int getSnapshotDocCount() -
getModelSizeStats
-
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
-