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

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

  • Constructor Details

  • Method Details

    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • toXContent

      public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface 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