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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final StringResult typestatic final org.elasticsearch.xcontent.ParseFieldFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongintgetId()getJobId()doubledoubledoubleinthashCode()voidvoidsetByFieldName(String byFieldName) voidsetByFieldValue(String byFieldValue) voidsetModelFeature(String modelFeature) voidsetModelLower(double modelLower) voidsetModelMedian(double modelMedian) voidsetModelUpper(double modelUpper) voidsetOverFieldName(String overFieldName) voidsetOverFieldValue(String overFieldValue) voidsetPartitionFieldName(String partitionFieldName) voidsetPartitionFieldValue(String partitionFieldValue) org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
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
-
LENIENT_PARSER
-
-
Constructor Details
-
ModelPlot
-
ModelPlot
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
getJobId
-
getId
-
getTimestamp
-
getBucketSpan
public long getBucketSpan() -
getDetectorIndex
public int getDetectorIndex() -
getPartitionFieldName
-
setPartitionFieldName
-
getPartitionFieldValue
-
setPartitionFieldValue
-
getOverFieldName
-
setOverFieldName
-
getOverFieldValue
-
setOverFieldValue
-
getByFieldName
-
setByFieldName
-
getByFieldValue
-
setByFieldValue
-
getModelFeature
-
setModelFeature
-
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
-
setActual
-
equals
-
hashCode
public int hashCode()
-