Package org.neo4j.graphdb
Interface ExecutionPlanDescription.ProfilerStatistics
- Enclosing interface:
- ExecutionPlanDescription
public static interface ExecutionPlanDescription.ProfilerStatistics
Instances describe statistics from the profiler of a particular step in the execution plan.
-
Method Details
-
hasRows
boolean hasRows()- Returns:
- if the number of rows was recorded.
-
getRows
long getRows()- Returns:
- number of rows processed by the associated execution step
- Throws:
IllegalStateException
- if no time was recorded.
-
hasDbHits
boolean hasDbHits()- Returns:
- if the number of DB hits was recorded.
-
getDbHits
long getDbHits()- Returns:
- number of database hits (potential disk accesses) caused by executing the associated execution step
- Throws:
IllegalStateException
- if no time was recorded.
-
hasPageCacheStats
boolean hasPageCacheStats()- Returns:
- if the number page cache hits and misses and the ratio was recorded.
-
getPageCacheHits
long getPageCacheHits()- Returns:
- number of page cache hits caused by executing the associated execution step
- Throws:
IllegalStateException
- if no time was recorded.
-
getPageCacheMisses
long getPageCacheMisses()- Returns:
- number of page cache misses caused by executing the associated execution step
- Throws:
IllegalStateException
- if no time was recorded.
-
getPageCacheHitRatio
default double getPageCacheHitRatio()- Returns:
- the ratio of page cache hits to total number of lookups or 0 if no data is available
- Throws:
IllegalStateException
- if no time was recorded.
-
hasTime
boolean hasTime()- Returns:
- if the time was recorded.
-
getTime
long getTime()- Returns:
- amount of time spent in the associated execution step.
- Throws:
IllegalStateException
- if no time was recorded.
-