Class ModelSizeStats

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

public class ModelSizeStats
extends java.lang.Object
implements org.elasticsearch.common.xcontent.ToXContentObject
Provide access to the C++ model size stats for the Java process.
  • Field Details

    • RESULT_TYPE_VALUE

      public static final java.lang.String RESULT_TYPE_VALUE
      Result type
      See Also:
      Constant Field Values
    • RESULT_TYPE_FIELD

      public static final org.elasticsearch.common.ParseField RESULT_TYPE_FIELD
    • MODEL_BYTES_FIELD

      public static final org.elasticsearch.common.ParseField MODEL_BYTES_FIELD
      Field Names
    • PEAK_MODEL_BYTES_FIELD

      public static final org.elasticsearch.common.ParseField PEAK_MODEL_BYTES_FIELD
    • MODEL_BYTES_EXCEEDED_FIELD

      public static final org.elasticsearch.common.ParseField MODEL_BYTES_EXCEEDED_FIELD
    • MODEL_BYTES_MEMORY_LIMIT_FIELD

      public static final org.elasticsearch.common.ParseField MODEL_BYTES_MEMORY_LIMIT_FIELD
    • TOTAL_BY_FIELD_COUNT_FIELD

      public static final org.elasticsearch.common.ParseField TOTAL_BY_FIELD_COUNT_FIELD
    • TOTAL_OVER_FIELD_COUNT_FIELD

      public static final org.elasticsearch.common.ParseField TOTAL_OVER_FIELD_COUNT_FIELD
    • TOTAL_PARTITION_FIELD_COUNT_FIELD

      public static final org.elasticsearch.common.ParseField TOTAL_PARTITION_FIELD_COUNT_FIELD
    • BUCKET_ALLOCATION_FAILURES_COUNT_FIELD

      public static final org.elasticsearch.common.ParseField BUCKET_ALLOCATION_FAILURES_COUNT_FIELD
    • MEMORY_STATUS_FIELD

      public static final org.elasticsearch.common.ParseField MEMORY_STATUS_FIELD
    • ASSIGNMENT_MEMORY_BASIS_FIELD

      public static final org.elasticsearch.common.ParseField ASSIGNMENT_MEMORY_BASIS_FIELD
    • CATEGORIZED_DOC_COUNT_FIELD

      public static final org.elasticsearch.common.ParseField CATEGORIZED_DOC_COUNT_FIELD
    • TOTAL_CATEGORY_COUNT_FIELD

      public static final org.elasticsearch.common.ParseField TOTAL_CATEGORY_COUNT_FIELD
    • FREQUENT_CATEGORY_COUNT_FIELD

      public static final org.elasticsearch.common.ParseField FREQUENT_CATEGORY_COUNT_FIELD
    • RARE_CATEGORY_COUNT_FIELD

      public static final org.elasticsearch.common.ParseField RARE_CATEGORY_COUNT_FIELD
    • DEAD_CATEGORY_COUNT_FIELD

      public static final org.elasticsearch.common.ParseField DEAD_CATEGORY_COUNT_FIELD
    • FAILED_CATEGORY_COUNT_FIELD

      public static final org.elasticsearch.common.ParseField FAILED_CATEGORY_COUNT_FIELD
    • CATEGORIZATION_STATUS_FIELD

      public static final org.elasticsearch.common.ParseField CATEGORIZATION_STATUS_FIELD
    • LOG_TIME_FIELD

      public static final org.elasticsearch.common.ParseField LOG_TIME_FIELD
    • TIMESTAMP_FIELD

      public static final org.elasticsearch.common.ParseField TIMESTAMP_FIELD
    • PARSER

      public static final org.elasticsearch.common.xcontent.ConstructingObjectParser<ModelSizeStats.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:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      java.io.IOException
    • getJobId

      public java.lang.String getJobId()
    • getModelBytes

      public long getModelBytes()
    • getPeakModelBytes

      public java.lang.Long getPeakModelBytes()
    • getModelBytesExceeded

      public java.lang.Long getModelBytesExceeded()
    • getModelBytesMemoryLimit

      public java.lang.Long getModelBytesMemoryLimit()
    • getTotalByFieldCount

      public long getTotalByFieldCount()
    • getTotalPartitionFieldCount

      public long getTotalPartitionFieldCount()
    • getTotalOverFieldCount

      public long getTotalOverFieldCount()
    • getBucketAllocationFailuresCount

      public long getBucketAllocationFailuresCount()
    • getMemoryStatus

      public ModelSizeStats.MemoryStatus getMemoryStatus()
    • getAssignmentMemoryBasis

      @Nullable public ModelSizeStats.AssignmentMemoryBasis getAssignmentMemoryBasis()
    • getCategorizedDocCount

      public long getCategorizedDocCount()
    • getTotalCategoryCount

      public long getTotalCategoryCount()
    • getFrequentCategoryCount

      public long getFrequentCategoryCount()
    • getRareCategoryCount

      public long getRareCategoryCount()
    • getDeadCategoryCount

      public long getDeadCategoryCount()
    • getFailedCategoryCount

      public long getFailedCategoryCount()
    • getCategorizationStatus

      public ModelSizeStats.CategorizationStatus getCategorizationStatus()
    • getTimestamp

      public java.util.Date getTimestamp()
      The timestamp of the last processed record when this instance was created.
      Returns:
      The record time
    • getLogTime

      public java.util.Date getLogTime()
      The wall clock time at the point when this instance was created.
      Returns:
      The wall clock time
    • hashCode

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

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