java.lang.Object
org.elasticsearch.xpack.core.ml.job.process.autodetect.output.FlushAcknowledgement
All Implemented Interfaces:
Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class FlushAcknowledgement extends Object implements org.elasticsearch.xcontent.ToXContentObject, Writeable
Simple class to parse and store a flush ID.
  • Field Details

    • TYPE

      public static final org.elasticsearch.xcontent.ParseField TYPE
      Field Names
    • ID

      public static final org.elasticsearch.xcontent.ParseField ID
    • LAST_FINALIZED_BUCKET_END

      public static final org.elasticsearch.xcontent.ParseField LAST_FINALIZED_BUCKET_END
    • REFRESH_REQUIRED

      public static final org.elasticsearch.xcontent.ParseField REFRESH_REQUIRED
    • PARSER

      public static final org.elasticsearch.xcontent.ConstructingObjectParser<FlushAcknowledgement,Void> PARSER
  • Constructor Details

  • Method Details

    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • getId

      public String getId()
    • getLastFinalizedBucketEnd

      public Instant getLastFinalizedBucketEnd()
    • getRefreshRequired

      public boolean getRefreshRequired()
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object