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 ParseField
MIN_VERSION
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 -
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()
Version
getMinVersion()
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)
-
Field Details
-
Method Details
-
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() -
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:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)Compare all the fields.- Overrides:
equals
in classjava.lang.Object
-