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
ConstructorsModifierConstructorDescriptionprotected
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
Modifier and TypeMethodDescriptionlong
dbHits()
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
records()
Returns the number of records this part of the plan produced.long
time()
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, 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()Description copied from interface:ProfiledPlan
Returns the number of times this part of the plan touched the underlying data stores.- Specified by:
dbHits
in interfaceProfiledPlan
- Returns:
- the number of times this part of the plan touched the underlying data stores
-
records
public long records()Description copied from interface:ProfiledPlan
Returns the number of records this part of the plan produced.- Specified by:
records
in interfaceProfiledPlan
- Returns:
- the number of records this part of the plan produced
-
hasPageCacheStats
public boolean hasPageCacheStats()Description copied from interface:ProfiledPlan
Returns whether the number page cache hits and misses and the ratio was recorded.- Specified by:
hasPageCacheStats
in interfaceProfiledPlan
- Returns:
- if the number page cache hits and misses and the ratio was recorded
-
pageCacheHits
public long pageCacheHits()Description copied from interface:ProfiledPlan
Returns the number of page cache hits caused by executing the associated execution step.- Specified by:
pageCacheHits
in interfaceProfiledPlan
- Returns:
- the number of page cache hits caused by executing the associated execution step
-
pageCacheMisses
public long pageCacheMisses()Description copied from interface:ProfiledPlan
Returns the number of page cache misses caused by executing the associated execution step.- Specified by:
pageCacheMisses
in interfaceProfiledPlan
- Returns:
- the number of page cache misses caused by executing the associated execution step
-
pageCacheHitRatio
public double pageCacheHitRatio()Description copied from interface:ProfiledPlan
Returns the ratio of page cache hits to total number of lookups or 0 if no data is available.- 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()Description copied from interface:ProfiledPlan
Returns the amount of time spent in the associated execution step.- Specified by:
time
in interfaceProfiledPlan
- Returns:
- the amount of time spent in the associated execution step
-