Class ClosePointInTimeRequest

All Implemented Interfaces:
Writeable, org.elasticsearch.common.util.concurrent.RefCounted, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject, TaskAwareRequest

public class ClosePointInTimeRequest
extends ActionRequest
implements org.elasticsearch.common.xcontent.ToXContentObject
  • Constructor Details

    • ClosePointInTimeRequest

      public ClosePointInTimeRequest​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException
    • ClosePointInTimeRequest

      public ClosePointInTimeRequest​(java.lang.String id)
  • Method Details

    • getId

      public java.lang.String getId()
    • validate

      Specified by:
      validate in class ActionRequest
    • writeTo

      public void writeTo​(StreamOutput out) throws java.io.IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Overrides:
      writeTo in class ActionRequest
      Throws:
      java.io.IOException
    • toXContent

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      java.io.IOException
    • fromXContent

      public static ClosePointInTimeRequest fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException
      Throws:
      java.io.IOException