Skip to content

Commit ba8ef6c

Browse files
committed
Add_cached_execution_flag_to_statistics
1 parent 9890c26 commit ba8ef6c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

query_result.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const (
2020
INDICES_CREATED string = "Indices created"
2121
INDICES_DELETED string = "Indices deleted"
2222
INTERNAL_EXECUTION_TIME string = "internal execution time"
23+
CACHED_EXECUTION string = "Cached execution"
2324
)
2425

2526
type ResultSetColumnTypes int
@@ -364,3 +365,10 @@ func (qr *QueryResult) IndicesDeleted() int {
364365
func (qr *QueryResult) RunTime() int {
365366
return qr.getStat(INTERNAL_EXECUTION_TIME)
366367
}
368+
369+
func (qr *QueryResult) CachedExecution() int {
370+
return qr.getStat(CACHED_EXECUTION)
371+
}
372+
373+
374+

0 commit comments

Comments
 (0)