Interface ProfiledPlan

All Superinterfaces:
Plan
All Known Implementing Classes:
InternalProfiledPlan

public interface ProfiledPlan extends Plan
This is the same as a regular Plan - except this plan has been executed, meaning it also contains detailed information about how much work each step of the plan incurred on the database.
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    As noted in the class-level javadoc, a plan is a tree, where each child is another plan.
    long
    Returns the number of times this part of the plan touched the underlying data stores.
    boolean
    Returns whether the number page cache hits and misses and the ratio was recorded.
    double
    Returns the ratio of page cache hits to total number of lookups or 0 if no data is available.
    long
    Returns the number of page cache hits caused by executing the associated execution step.
    long
    Returns the number of page cache misses caused by executing the associated execution step.
    long
    Returns the number of records this part of the plan produced.
    long
    Returns the amount of time spent in the associated execution step.

    Methods inherited from interface org.neo4j.driver.summary.Plan

    arguments, identifiers, operatorType
  • Method Details

    • dbHits

      long dbHits()
      Returns the number of times this part of the plan touched the underlying data stores.
      Returns:
      the number of times this part of the plan touched the underlying data stores
    • records

      long records()
      Returns the number of records this part of the plan produced.
      Returns:
      the number of records this part of the plan produced
    • hasPageCacheStats

      boolean hasPageCacheStats()
      Returns whether the number page cache hits and misses and the ratio was recorded.
      Returns:
      if the number page cache hits and misses and the ratio was recorded
    • pageCacheHits

      long pageCacheHits()
      Returns the number of page cache hits caused by executing the associated execution step.
      Returns:
      the number of page cache hits caused by executing the associated execution step
    • pageCacheMisses

      long pageCacheMisses()
      Returns the number of page cache misses caused by executing the associated execution step.
      Returns:
      the number of page cache misses caused by executing the associated execution step
    • pageCacheHitRatio

      double pageCacheHitRatio()
      Returns the ratio of page cache hits to total number of lookups or 0 if no data is available.
      Returns:
      the ratio of page cache hits to total number of lookups or 0 if no data is available
    • time

      long time()
      Returns the amount of time spent in the associated execution step.
      Returns:
      the amount of time spent in the associated execution step
    • children

      List<ProfiledPlan> children()
      Description copied from interface: Plan
      As noted in the class-level javadoc, a plan is a tree, where each child is another plan. The children are where this part of the plan gets its input records - unless this is an operator that introduces new records on its own.
      Specified by:
      children in interface Plan
      Returns:
      zero or more child plans