Class ProfileResult

java.lang.Object
org.elasticsearch.search.profile.ProfileResult
All Implemented Interfaces:
Writeable, ToXContent, ToXContentObject

public final class ProfileResult
extends java.lang.Object
implements Writeable, ToXContentObject
This class is the internal representation of a profiled Query, corresponding to a single node in the query tree. It is built after the query has finished executing and is merely a structured representation, rather than the entity that collects the timing profile (see InternalProfiler for that) Each InternalProfileResult has a List of InternalProfileResults, which will contain "children" queries if applicable
  • Constructor Details

    • ProfileResult

      public ProfileResult​(java.lang.String type, java.lang.String description, java.util.Map<java.lang.String,​java.lang.Long> timings, java.util.List<ProfileResult> children)
    • ProfileResult

      public ProfileResult​(StreamInput in) throws java.io.IOException
      Read from a stream.
      Throws:
      java.io.IOException
  • Method Details