Class ModelSnapshot
java.lang.Object
org.elasticsearch.client.ml.job.process.ModelSnapshot
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentObject
public class ModelSnapshot
extends java.lang.Object
implements org.elasticsearch.common.xcontent.ToXContentObject
ModelSnapshot Result POJO
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModelSnapshot.Builder -
Field Summary
Fields Modifier and Type Field Description static org.elasticsearch.common.ParseFieldDESCRIPTIONstatic org.elasticsearch.common.ParseFieldLATEST_RECORD_TIMEstatic org.elasticsearch.common.ParseFieldLATEST_RESULT_TIMEstatic org.elasticsearch.common.ParseFieldMIN_VERSIONstatic org.elasticsearch.common.xcontent.ObjectParser<ModelSnapshot.Builder,java.lang.Void>PARSERstatic org.elasticsearch.common.ParseFieldQUANTILESstatic org.elasticsearch.common.ParseFieldRETAINstatic org.elasticsearch.common.ParseFieldSNAPSHOT_DOC_COUNTstatic org.elasticsearch.common.ParseFieldSNAPSHOT_IDstatic org.elasticsearch.common.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()org.elasticsearch.VersiongetMinVersion()ModelSizeStatsgetModelSizeStats()QuantilesgetQuantiles()booleangetRetain()intgetSnapshotDocCount()java.lang.StringgetSnapshotId()java.util.DategetTimestamp()inthashCode()org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
-
Field Details
-
TIMESTAMP
public static final org.elasticsearch.common.ParseField TIMESTAMPField Names -
DESCRIPTION
public static final org.elasticsearch.common.ParseField DESCRIPTION -
SNAPSHOT_DOC_COUNT
public static final org.elasticsearch.common.ParseField SNAPSHOT_DOC_COUNT -
LATEST_RECORD_TIME
public static final org.elasticsearch.common.ParseField LATEST_RECORD_TIME -
LATEST_RESULT_TIME
public static final org.elasticsearch.common.ParseField LATEST_RESULT_TIME -
QUANTILES
public static final org.elasticsearch.common.ParseField QUANTILES -
RETAIN
public static final org.elasticsearch.common.ParseField RETAIN -
MIN_VERSION
public static final org.elasticsearch.common.ParseField MIN_VERSION -
SNAPSHOT_ID
public static final org.elasticsearch.common.ParseField SNAPSHOT_ID -
PARSER
public static final org.elasticsearch.common.xcontent.ObjectParser<ModelSnapshot.Builder,java.lang.Void> PARSER
-
-
Method Details
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Specified by:
toXContentin interfaceorg.elasticsearch.common.xcontent.ToXContent- Throws:
java.io.IOException
-
getJobId
public java.lang.String getJobId() -
getMinVersion
public org.elasticsearch.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
-
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
-