Skip to content

Commit

Permalink
added javadoc for CursorStats.documentLookups and CursorStats.seeks
Browse files Browse the repository at this point in the history
  • Loading branch information
rashtao committed Oct 25, 2024
1 parent 0e8682a commit d9d8e61
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions core/src/main/java/com/arangodb/entity/CursorStats.java
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ public Long getPeakMemoryUsage() {
return peakMemoryUsage;
}

/**
* @return The number of real document lookups caused by late materialization as well as `IndexNode`s that had to
* load document attributes not covered by the index. This is how many documents had to be fetched from storage
* after an index scan that initially covered the attribute access for these documents.
*/
public Integer getDocumentLookups() {
return documentLookups;
}
Expand All @@ -160,6 +165,9 @@ public Integer getIntermediateCommits() {
return intermediateCommits;
}

/**
* @return The number of seek calls done by RocksDB iterators for merge joins (`JoinNode` in the execution plan).
*/
public Integer getSeeks() {
return seeks;
}
Expand Down

0 comments on commit d9d8e61

Please sign in to comment.