Class ModelSnapshot

java.lang.Object
org.elasticsearch.client.ml.job.process.ModelSnapshot
All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class ModelSnapshot extends Object implements org.elasticsearch.xcontent.ToXContentObject
ModelSnapshot Result POJO
  • Field Details

    • TIMESTAMP

      public static final org.elasticsearch.xcontent.ParseField TIMESTAMP
      Field Names
    • DESCRIPTION

      public static final org.elasticsearch.xcontent.ParseField DESCRIPTION
    • SNAPSHOT_DOC_COUNT

      public static final org.elasticsearch.xcontent.ParseField SNAPSHOT_DOC_COUNT
    • LATEST_RECORD_TIME

      public static final org.elasticsearch.xcontent.ParseField LATEST_RECORD_TIME
    • LATEST_RESULT_TIME

      public static final org.elasticsearch.xcontent.ParseField LATEST_RESULT_TIME
    • QUANTILES

      public static final org.elasticsearch.xcontent.ParseField QUANTILES
    • RETAIN

      public static final org.elasticsearch.xcontent.ParseField RETAIN
    • MIN_VERSION

      public static final org.elasticsearch.xcontent.ParseField MIN_VERSION
    • SNAPSHOT_ID

      public static final org.elasticsearch.xcontent.ParseField SNAPSHOT_ID
    • PARSER

      public static final org.elasticsearch.xcontent.ObjectParser<ModelSnapshot.Builder,Void> PARSER
  • Method Details

    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException
    • getJobId

      public String getJobId()
    • getMinVersion

      public org.elasticsearch.Version getMinVersion()
    • getTimestamp

      public Date getTimestamp()
    • getDescription

      public String getDescription()
    • getSnapshotId

      public String getSnapshotId()
    • getSnapshotDocCount

      public int getSnapshotDocCount()
    • getModelSizeStats

      public ModelSizeStats getModelSizeStats()
    • getQuantiles

      public Quantiles getQuantiles()
    • getRetain

      public boolean getRetain()
    • getLatestRecordTimeStamp

      public Date getLatestRecordTimeStamp()
    • getLatestResultTimeStamp

      public Date getLatestResultTimeStamp()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Compare all the fields.
      Overrides:
      equals in class Object