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

Function ExplainCompositeScan

pg_documentdb/src/index_am/rum.c:1900–1917  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1898
1899
1900void
1901ExplainCompositeScan(IndexScanDesc scan, ExplainState *es)
1902{
1903 if (!IsCompositeOpClass(scan->indexRelation))
1904 {
1905 return;
1906 }
1907
1908 if (scan->indexRelation->rd_opcoptions != NULL)
1909 {
1910 const char *keyString = SerializeCompositeIndexKeyForExplain(
1911 scan->indexRelation->rd_opcoptions[0]);
1912 ExplainPropertyText("indexKey", keyString, es);
1913 }
1914
1915 ExplainWriterFuncs writerFuncs = GetForExplain();
1916 ExplainCompositeScanCore(scan, es, &writerFuncs);
1917}
1918
1919
1920void

Callers 1

ExplainIndexScanStateFunction · 0.85

Calls 4

IsCompositeOpClassFunction · 0.85
GetForExplainFunction · 0.85
ExplainCompositeScanCoreFunction · 0.85

Tested by

no test coverage detected