MCPcopy Create free account
hub / github.com/documentdb/documentdb / ExplainRegularIndexScanToWriter

Function ExplainRegularIndexScanToWriter

pg_documentdb/src/index_am/rum.c:1932–1941  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1930
1931
1932void
1933ExplainRegularIndexScanToWriter(IndexScanDesc scan, pgbson_writer *writer)
1934{
1935 if (IsBsonRegularIndexAm(scan->indexRelation->rd_rel->relam))
1936 {
1937 /* See if there's a hook to explain more in this index */
1938 ExplainWriterFuncs writerFuncs = GetForBsonWriter();
1939 TryExplainByIndexAm(scan, &writerFuncs, writer);
1940 }
1941}
1942
1943
1944void

Callers 1

WriteIndexExecutionStatsFunction · 0.85

Calls 3

IsBsonRegularIndexAmFunction · 0.85
GetForBsonWriterFunction · 0.85
TryExplainByIndexAmFunction · 0.85

Tested by

no test coverage detected