java.lang.Object
org.neo4j.driver.internal.summary.InternalPlan<ProfiledPlan>
org.neo4j.driver.internal.summary.InternalProfiledPlan
- All Implemented Interfaces:
Plan,ProfiledPlan
-
Field Summary
FieldsModifier 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
ConstructorsModifierConstructorDescriptionprotectedInternalProfiledPlan(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
Modifier and TypeMethodDescriptionlongdbHits()Returns the number of times this part of the plan touched the underlying data stores.booleanReturns whether the number page cache hits and misses and the ratio was recorded.doubleReturns the ratio of page cache hits to total number of lookups or 0 if no data is available.longReturns the number of page cache hits caused by executing the associated execution step.longReturns the number of page cache misses caused by executing the associated execution step.longrecords()Returns the number of records this part of the plan produced.longtime()Returns the amount of time spent in the associated execution step.Methods inherited from class org.neo4j.driver.internal.summary.InternalPlan
arguments, children, equals, hashCode, identifiers, operatorType, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.neo4j.driver.summary.Plan
arguments, identifiers, operatorTypeMethods 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()Description copied from interface:ProfiledPlanReturns the number of times this part of the plan touched the underlying data stores.- Specified by:
dbHitsin interfaceProfiledPlan- Returns:
- the number of times this part of the plan touched the underlying data stores
-
records
public long records()Description copied from interface:ProfiledPlanReturns the number of records this part of the plan produced.- Specified by:
recordsin interfaceProfiledPlan- Returns:
- the number of records this part of the plan produced
-
hasPageCacheStats
public boolean hasPageCacheStats()Description copied from interface:ProfiledPlanReturns whether the number page cache hits and misses and the ratio was recorded.- Specified by:
hasPageCacheStatsin interfaceProfiledPlan- Returns:
- if the number page cache hits and misses and the ratio was recorded
-
pageCacheHits
public long pageCacheHits()Description copied from interface:ProfiledPlanReturns the number of page cache hits caused by executing the associated execution step.- Specified by:
pageCacheHitsin interfaceProfiledPlan- Returns:
- the number of page cache hits caused by executing the associated execution step
-
pageCacheMisses
public long pageCacheMisses()Description copied from interface:ProfiledPlanReturns the number of page cache misses caused by executing the associated execution step.- Specified by:
pageCacheMissesin interfaceProfiledPlan- Returns:
- the number of page cache misses caused by executing the associated execution step
-
pageCacheHitRatio
public double pageCacheHitRatio()Description copied from interface:ProfiledPlanReturns the ratio of page cache hits to total number of lookups or 0 if no data is available.- Specified by:
pageCacheHitRatioin interfaceProfiledPlan- Returns:
- the ratio of page cache hits to total number of lookups or 0 if no data is available
-
time
public long time()Description copied from interface:ProfiledPlanReturns the amount of time spent in the associated execution step.- Specified by:
timein interfaceProfiledPlan- Returns:
- the amount of time spent in the associated execution step
-