java.lang.Object
org.neo4j.driver.internal.summary.InternalPlan<ProfiledPlan>
org.neo4j.driver.internal.summary.InternalProfiledPlan
- All Implemented Interfaces:
Plan
,ProfiledPlan
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Function<Value,
ProfiledPlan> Builds a regular plan without profiling information - eg.Fields inherited from class org.neo4j.driver.internal.summary.InternalPlan
EXPLAIN_PLAN_FROM_VALUE
-
Constructor Summary
ModifierConstructorDescriptionprotected
InternalProfiledPlan
(String operatorType, Map<String, Value> arguments, List<String> identifiers, List<ProfiledPlan> children, long dbHits, long records, long pageCacheHits, long pageCacheMisses, double pageCacheHitRatio, long time) -
Method Summary
Methods inherited from class org.neo4j.driver.internal.summary.InternalPlan
arguments, children, equals, hashCode, identifiers, operatorType, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.neo4j.driver.summary.Plan
arguments, identifiers, operatorType
Methods inherited from interface org.neo4j.driver.summary.ProfiledPlan
children
-
Field Details
-
PROFILED_PLAN_FROM_VALUE
Builds a regular plan without profiling information - eg. a plan that came as a result of an `EXPLAIN` query
-
-
Constructor Details
-
InternalProfiledPlan
-
-
Method Details
-
dbHits
public long dbHits()- Specified by:
dbHits
in interfaceProfiledPlan
- Returns:
- the number of times this part of the plan touched the underlying data stores
-
records
public long records()- Specified by:
records
in interfaceProfiledPlan
- Returns:
- the number of records this part of the plan produced
-
hasPageCacheStats
public boolean hasPageCacheStats()- Specified by:
hasPageCacheStats
in interfaceProfiledPlan
- Returns:
- if the number page cache hits and misses and the ratio was recorded.
-
pageCacheHits
public long pageCacheHits()- Specified by:
pageCacheHits
in interfaceProfiledPlan
- Returns:
- number of page cache hits caused by executing the associated execution step
-
pageCacheMisses
public long pageCacheMisses()- Specified by:
pageCacheMisses
in interfaceProfiledPlan
- Returns:
- number of page cache misses caused by executing the associated execution step
-
pageCacheHitRatio
public double pageCacheHitRatio()- Specified by:
pageCacheHitRatio
in interfaceProfiledPlan
- Returns:
- the ratio of page cache hits to total number of lookups or 0 if no data is available
-
time
public long time()- Specified by:
time
in interfaceProfiledPlan
- Returns:
- amount of time spent in the associated execution step.
-