Class MultiTermVectorsItemResponse

org.elasticsearch.action.termvectors.MultiTermVectorsItemResponse
All Implemented Interfaces:
Writeable

public class MultiTermVectorsItemResponse extends implements Writeable
A single multi get response.
  • Constructor Details

  • Method Details

    • getIndex

      public  getIndex()
      The index name of the document.
    • getType

      public  getType()
      The type of the document.
    • getId

      public  getId()
      The id of the document.
    • isFailed

      public boolean isFailed()
      Is this a failed execution?
    • getResponse

      public TermVectorsResponse getResponse()
      The actual get response, null if its a failure.
    • getFailure

      public MultiTermVectorsResponse.Failure getFailure()
      The failure if relevant.
    • writeTo

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