Package org.elasticsearch.client.ml
Class FlushJobResponse
java.lang.Object
org.elasticsearch.client.ml.FlushJobResponse
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent
,org.elasticsearch.xcontent.ToXContentObject
Response object containing flush acknowledgement and additional data
-
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<FlushJobResponse,
Void> Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static FlushJobResponse
fromXContent
(org.elasticsearch.xcontent.XContentParser parser) Provides the timestamp (in milliseconds-since-the-epoch) of the end of the last bucket that was processed.int
hashCode()
boolean
Was the job successfully flushed or notorg.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
-
FLUSHED
public static final org.elasticsearch.xcontent.ParseField FLUSHED -
LAST_FINALIZED_BUCKET_END
public static final org.elasticsearch.xcontent.ParseField LAST_FINALIZED_BUCKET_END -
PARSER
public static final org.elasticsearch.xcontent.ConstructingObjectParser<FlushJobResponse,Void> PARSER
-
-
Constructor Details
-
FlushJobResponse
-
-
Method Details
-
fromXContent
public static FlushJobResponse fromXContent(org.elasticsearch.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
isFlushed
public boolean isFlushed()Was the job successfully flushed or not -
getLastFinalizedBucketEnd
Provides the timestamp (in milliseconds-since-the-epoch) of the end of the last bucket that was processed. -
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
-