Class SuggestProfilesResponse

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

public class SuggestProfilesResponse extends ActionResponse implements org.elasticsearch.xcontent.ToXContentObject
  • Constructor Details

    • SuggestProfilesResponse

      public SuggestProfilesResponse(SuggestProfilesResponse.ProfileHit[] profileHits, long tookInMillis, org.apache.lucene.search.TotalHits totalHits)
  • Method Details

    • getProfileHits

      public SuggestProfilesResponse.ProfileHit[] getProfileHits()
    • getTookInMillis

      public long getTookInMillis()
    • getTotalHits

      public org.apache.lucene.search.TotalHits getTotalHits()
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • 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