Class InternalQueryProfile

java.lang.Object
org.neo4j.driver.internal.summary.InternalPlan<QueryProfile>
org.neo4j.driver.internal.summary.InternalQueryProfile
All Implemented Interfaces:
Plan, QueryProfile

public final class InternalQueryProfile extends InternalPlan<QueryProfile> implements QueryProfile
  • Field Details

    • PROFILE_FROM_VALUE

      public static final Function<Value, QueryProfile> PROFILE_FROM_VALUE
      Builds a regular plan without profiling information - eg. a plan that came as a result of an `EXPLAIN` query
  • Method Details

    • dbHits

      public OptionalLong dbHits()
      Description copied from interface: QueryProfile
      Returns the number of times this part of the plan touched the underlying data stores if it was recorded.
      Specified by:
      dbHits in interface QueryProfile
      Returns:
      the number of times this part of the plan touched the underlying data stores if it was recorded
    • rows

      public OptionalLong rows()
      Description copied from interface: QueryProfile
      Returns the number of rows processed by the associated execution step if it was recorded.
      Specified by:
      rows in interface QueryProfile
      Returns:
      the number of rows processed by the associated execution step if it was recorded
    • pageCacheHits

      public OptionalLong pageCacheHits()
      Description copied from interface: QueryProfile
      Returns the number of page cache hits caused by executing the associated execution step if it was recorded.
      Specified by:
      pageCacheHits in interface QueryProfile
      Returns:
      the number of page cache hits caused by executing the associated execution step if it was recorded
    • pageCacheMisses

      public OptionalLong pageCacheMisses()
      Description copied from interface: QueryProfile
      Returns the number of page cache misses caused by executing the associated execution step if it was recorded.
      Specified by:
      pageCacheMisses in interface QueryProfile
      Returns:
      the number of page cache misses caused by executing the associated execution step if it was recorded
    • pageCacheHitRatio

      public OptionalDouble pageCacheHitRatio()
      Description copied from interface: QueryProfile
      Returns the ratio of page cache hits to total number of lookups if it was recorded.
      Specified by:
      pageCacheHitRatio in interface QueryProfile
      Returns:
      the ratio of page cache hits to total number of lookups if it was recorded
    • time

      public Optional<Duration> time()
      Description copied from interface: QueryProfile
      Returns the amount of time spent in the associated execution step if it was recorded.
      Specified by:
      time in interface QueryProfile
      Returns:
      the amount of time spent in the associated execution step if it was recorded