java.lang.Object
org.elasticsearch.xpack.core.ml.job.results.Forecast
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentObject
Model Forecast 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 ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final StringResult typestatic final ParseFieldstatic final ConstructingObjectParser<Forecast, Void> Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongintdoubledoubledoublegetId()getJobId()inthashCode()voidsetByFieldName(String byFieldName) voidsetByFieldValue(String byFieldValue) voidsetForecastLower(double forecastLower) voidsetForecastPrediction(double forecastPrediction) voidsetForecastUpper(double forecastUpper) voidsetModelFeature(String modelFeature) 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
-
FORECAST_ID
-
PARTITION_FIELD_NAME
-
PARTITION_FIELD_VALUE
-
BY_FIELD_NAME
-
BY_FIELD_VALUE
-
MODEL_FEATURE
-
FORECAST_LOWER
-
FORECAST_UPPER
-
FORECAST_PREDICTION
-
BUCKET_SPAN
-
DETECTOR_INDEX
-
STRICT_PARSER
-
-
Constructor Details
-
Forecast
-
Forecast
- 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
-
getForecastId
-
getId
-
getTimestamp
-
getBucketSpan
public long getBucketSpan() -
getPartitionFieldName
-
setPartitionFieldName
-
getDetectorIndex
public int getDetectorIndex() -
getPartitionFieldValue
-
setPartitionFieldValue
-
getByFieldName
-
setByFieldName
-
getByFieldValue
-
setByFieldValue
-
getModelFeature
-
setModelFeature
-
getForecastLower
public double getForecastLower() -
setForecastLower
public void setForecastLower(double forecastLower) -
getForecastUpper
public double getForecastUpper() -
setForecastUpper
public void setForecastUpper(double forecastUpper) -
getForecastPrediction
public double getForecastPrediction() -
setForecastPrediction
public void setForecastPrediction(double forecastPrediction) -
equals
-
hashCode
public int hashCode()
-