java.lang.Object
org.elasticsearch.xpack.core.ml.job.results.ModelPlot
All Implemented Interfaces:
Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class ModelPlot extends Object implements org.elasticsearch.xcontent.ToXContentObject, Writeable
Model Plot POJO.
  • Field Details

    • RESULT_TYPE_VALUE

      public static final String RESULT_TYPE_VALUE
      Result type
      See Also:
    • RESULTS_FIELD

      public static final org.elasticsearch.xcontent.ParseField RESULTS_FIELD
    • PARTITION_FIELD_NAME

      public static final org.elasticsearch.xcontent.ParseField PARTITION_FIELD_NAME
    • PARTITION_FIELD_VALUE

      public static final org.elasticsearch.xcontent.ParseField PARTITION_FIELD_VALUE
    • OVER_FIELD_NAME

      public static final org.elasticsearch.xcontent.ParseField OVER_FIELD_NAME
    • OVER_FIELD_VALUE

      public static final org.elasticsearch.xcontent.ParseField OVER_FIELD_VALUE
    • BY_FIELD_NAME

      public static final org.elasticsearch.xcontent.ParseField BY_FIELD_NAME
    • BY_FIELD_VALUE

      public static final org.elasticsearch.xcontent.ParseField BY_FIELD_VALUE
    • MODEL_FEATURE

      public static final org.elasticsearch.xcontent.ParseField MODEL_FEATURE
    • MODEL_LOWER

      public static final org.elasticsearch.xcontent.ParseField MODEL_LOWER
    • MODEL_UPPER

      public static final org.elasticsearch.xcontent.ParseField MODEL_UPPER
    • MODEL_MEDIAN

      public static final org.elasticsearch.xcontent.ParseField MODEL_MEDIAN
    • ACTUAL

      public static final org.elasticsearch.xcontent.ParseField ACTUAL
    • BUCKET_SPAN

      public static final org.elasticsearch.xcontent.ParseField BUCKET_SPAN
    • DETECTOR_INDEX

      public static final org.elasticsearch.xcontent.ParseField DETECTOR_INDEX
    • STRICT_PARSER

      public static final org.elasticsearch.xcontent.ConstructingObjectParser<ModelPlot,Void> STRICT_PARSER
    • LENIENT_PARSER

      public static final org.elasticsearch.xcontent.ConstructingObjectParser<ModelPlot,Void> LENIENT_PARSER
  • Constructor Details

  • Method Details

    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • 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()
    • getId

      public String getId()
    • getTimestamp

      public Date getTimestamp()
    • getBucketSpan

      public long getBucketSpan()
    • getDetectorIndex

      public int getDetectorIndex()
    • getPartitionFieldName

      public String getPartitionFieldName()
    • setPartitionFieldName

      public void setPartitionFieldName(String partitionFieldName)
    • getPartitionFieldValue

      public String getPartitionFieldValue()
    • setPartitionFieldValue

      public void setPartitionFieldValue(String partitionFieldValue)
    • getOverFieldName

      public String getOverFieldName()
    • setOverFieldName

      public void setOverFieldName(String overFieldName)
    • getOverFieldValue

      public String getOverFieldValue()
    • setOverFieldValue

      public void setOverFieldValue(String overFieldValue)
    • getByFieldName

      public String getByFieldName()
    • setByFieldName

      public void setByFieldName(String byFieldName)
    • getByFieldValue

      public String getByFieldValue()
    • setByFieldValue

      public void setByFieldValue(String byFieldValue)
    • getModelFeature

      public String getModelFeature()
    • setModelFeature

      public void setModelFeature(String modelFeature)
    • getModelLower

      public double getModelLower()
    • setModelLower

      public void setModelLower(double modelLower)
    • getModelUpper

      public double getModelUpper()
    • setModelUpper

      public void setModelUpper(double modelUpper)
    • getModelMedian

      public double getModelMedian()
    • setModelMedian

      public void setModelMedian(double modelMedian)
    • getActual

      public Double getActual()
    • setActual

      public void setActual(Double actual)
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object