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 class
ModelSnapshot.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 ParseField
DESCRIPTION
static ParseField
LATEST_RECORD_TIME
static ParseField
LATEST_RESULT_TIME
static ObjectParser<ModelSnapshot.Builder,java.lang.Void>
PARSER
static ParseField
QUANTILES
static ParseField
RETAIN
static ParseField
SNAPSHOT_DOC_COUNT
static ParseField
SNAPSHOT_ID
static ParseField
TIMESTAMP
Field Names-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object other)
Compare all the fields.java.lang.String
getDescription()
java.lang.String
getJobId()
java.util.Date
getLatestRecordTimeStamp()
java.util.Date
getLatestResultTimeStamp()
ModelSizeStats
getModelSizeStats()
Quantiles
getQuantiles()
boolean
getRetain()
int
getSnapshotDocCount()
java.lang.String
getSnapshotId()
java.util.Date
getTimestamp()
int
hashCode()
XContentBuilder
toXContent(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
-
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:
toXContent
in interfaceToXContent
- Throws:
java.io.IOException
-
getJobId
public java.lang.String getJobId()
-
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:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
Compare all the fields.- Overrides:
equals
in classjava.lang.Object
-
-