java.lang.Object
org.elasticsearch.xpack.core.ml.job.results.ModelPlot
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentObject
Model Plot POJO.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, 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 ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ConstructingObjectParser<ModelPlot, Void> static final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final StringResult typestatic final ParseFieldstatic final ConstructingObjectParser<ModelPlot, Void> Fields 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) toXContent(XContentBuilder builder, 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
-
PARTITION_FIELD_NAME
-
PARTITION_FIELD_VALUE
-
OVER_FIELD_NAME
-
OVER_FIELD_VALUE
-
BY_FIELD_NAME
-
BY_FIELD_VALUE
-
MODEL_FEATURE
-
MODEL_LOWER
-
MODEL_UPPER
-
MODEL_MEDIAN
-
ACTUAL
-
BUCKET_SPAN
-
DETECTOR_INDEX
-
STRICT_PARSER
-
LENIENT_PARSER
-
-
Constructor Details
-
ModelPlot
-
ModelPlot
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- 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()
-