Class OpenPointInTimeResponse

All Implemented Interfaces:
Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject, org.elasticsearch.core.RefCounted

public final class OpenPointInTimeResponse extends ActionResponse implements org.elasticsearch.common.xcontent.ToXContentObject
  • Constructor Details

    • OpenPointInTimeResponse

      public OpenPointInTimeResponse(String pointInTimeId)
    • OpenPointInTimeResponse

      public OpenPointInTimeResponse(StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details

    • writeTo

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

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

      public String getPointInTimeId()
    • fromXContent

      public static OpenPointInTimeResponse fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws IOException
      Throws:
      IOException