Class MultiTermVectorsResponse

All Implemented Interfaces:
java.lang.Iterable<MultiTermVectorsItemResponse>, Writeable, org.elasticsearch.common.util.concurrent.RefCounted, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject

public class MultiTermVectorsResponse
extends ActionResponse
implements java.lang.Iterable<MultiTermVectorsItemResponse>, org.elasticsearch.common.xcontent.ToXContentObject
  • Constructor Details

    • MultiTermVectorsResponse

      public MultiTermVectorsResponse​(MultiTermVectorsItemResponse[] responses)
    • MultiTermVectorsResponse

      public MultiTermVectorsResponse​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details

    • getResponses

      public MultiTermVectorsItemResponse[] getResponses()
    • iterator

      public java.util.Iterator<MultiTermVectorsItemResponse> iterator()
      Specified by:
      iterator in interface java.lang.Iterable<MultiTermVectorsItemResponse>
    • 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
    • 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
      Throws:
      java.io.IOException