Package org.elasticsearch.client.ml
Class ForecastJobResponse
java.lang.Object
org.elasticsearch.client.ml.ForecastJobResponse
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent
,org.elasticsearch.xcontent.ToXContentObject
public class ForecastJobResponse
extends Object
implements org.elasticsearch.xcontent.ToXContentObject
Forecast response object
-
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.Params
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ConstructingObjectParser<ForecastJobResponse,
Void> Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static ForecastJobResponse
fromXContent
(org.elasticsearch.xcontent.XContentParser parser) The created forecast IDint
hashCode()
boolean
Forecast creating acknowledgementorg.elasticsearch.xcontent.XContentBuilder
toXContent
(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
ACKNOWLEDGED
public static final org.elasticsearch.xcontent.ParseField ACKNOWLEDGED -
FORECAST_ID
public static final org.elasticsearch.xcontent.ParseField FORECAST_ID -
PARSER
public static final org.elasticsearch.xcontent.ConstructingObjectParser<ForecastJobResponse,Void> PARSER
-
-
Constructor Details
-
ForecastJobResponse
-
-
Method Details
-
fromXContent
public static ForecastJobResponse fromXContent(org.elasticsearch.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
isAcknowledged
public boolean isAcknowledged()Forecast creating acknowledgement- Returns:
true
indicates success,false
otherwise
-
getForecastId
The created forecast ID -
hashCode
public int hashCode() -
equals
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContent
in interfaceorg.elasticsearch.xcontent.ToXContent
- Throws:
IOException
-