Class ModelSizeStats
java.lang.Object
org.elasticsearch.client.ml.job.process.ModelSizeStats
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class ModelSizeStats extends java.lang.Object implements ToXContentObject
Provide access to the C++ model size stats for the Java process.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModelSizeStats.Builderstatic classModelSizeStats.CategorizationStatusThe status of categorization for a job.static classModelSizeStats.MemoryStatusThe status of the memory monitored by the ResourceMonitor.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 ParseFieldBUCKET_ALLOCATION_FAILURES_COUNT_FIELDstatic ParseFieldCATEGORIZATION_STATUS_FIELDstatic ParseFieldCATEGORIZED_DOC_COUNT_FIELDstatic ParseFieldDEAD_CATEGORY_COUNT_FIELDstatic ParseFieldFREQUENT_CATEGORY_COUNT_FIELDstatic ParseFieldLOG_TIME_FIELDstatic ParseFieldMEMORY_STATUS_FIELDstatic ParseFieldMODEL_BYTES_EXCEEDED_FIELDstatic ParseFieldMODEL_BYTES_FIELDField Namesstatic ParseFieldMODEL_BYTES_MEMORY_LIMIT_FIELDstatic ConstructingObjectParser<ModelSizeStats.Builder,java.lang.Void>PARSERstatic ParseFieldRARE_CATEGORY_COUNT_FIELDstatic ParseFieldRESULT_TYPE_FIELDstatic java.lang.StringRESULT_TYPE_VALUEResult typestatic ParseFieldTIMESTAMP_FIELDstatic ParseFieldTOTAL_BY_FIELD_COUNT_FIELDstatic ParseFieldTOTAL_CATEGORY_COUNT_FIELDstatic ParseFieldTOTAL_OVER_FIELD_COUNT_FIELDstatic ParseFieldTOTAL_PARTITION_FIELD_COUNT_FIELD -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object other)Compare all the fields.longgetBucketAllocationFailuresCount()ModelSizeStats.CategorizationStatusgetCategorizationStatus()longgetCategorizedDocCount()longgetDeadCategoryCount()longgetFrequentCategoryCount()java.lang.StringgetJobId()java.util.DategetLogTime()The wall clock time at the point when this instance was created.ModelSizeStats.MemoryStatusgetMemoryStatus()longgetModelBytes()java.lang.LonggetModelBytesExceeded()java.lang.LonggetModelBytesMemoryLimit()longgetRareCategoryCount()java.util.DategetTimestamp()The timestamp of the last processed record when this instance was created.longgetTotalByFieldCount()longgetTotalCategoryCount()longgetTotalOverFieldCount()longgetTotalPartitionFieldCount()inthashCode()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)
-
Field Details
-
RESULT_TYPE_VALUE
public static final java.lang.String RESULT_TYPE_VALUEResult type- See Also:
- Constant Field Values
-
RESULT_TYPE_FIELD
-
MODEL_BYTES_FIELD
Field Names -
MODEL_BYTES_EXCEEDED_FIELD
-
MODEL_BYTES_MEMORY_LIMIT_FIELD
-
TOTAL_BY_FIELD_COUNT_FIELD
-
TOTAL_OVER_FIELD_COUNT_FIELD
-
TOTAL_PARTITION_FIELD_COUNT_FIELD
-
BUCKET_ALLOCATION_FAILURES_COUNT_FIELD
-
MEMORY_STATUS_FIELD
-
CATEGORIZED_DOC_COUNT_FIELD
-
TOTAL_CATEGORY_COUNT_FIELD
-
FREQUENT_CATEGORY_COUNT_FIELD
-
RARE_CATEGORY_COUNT_FIELD
-
DEAD_CATEGORY_COUNT_FIELD
-
CATEGORIZATION_STATUS_FIELD
-
LOG_TIME_FIELD
-
TIMESTAMP_FIELD
-
PARSER
-
-
Method Details
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
getJobId
public java.lang.String getJobId() -
getModelBytes
public long getModelBytes() -
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
-
getCategorizedDocCount
public long getCategorizedDocCount() -
getTotalCategoryCount
public long getTotalCategoryCount() -
getFrequentCategoryCount
public long getFrequentCategoryCount() -
getRareCategoryCount
public long getRareCategoryCount() -
getDeadCategoryCount
public long getDeadCategoryCount() -
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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)Compare all the fields.- Overrides:
equalsin classjava.lang.Object
-