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

Function extension_rumgetbitmap_core

pg_documentdb/src/index_am/rum.c:1257–1271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1255
1256
1257int64
1258extension_rumgetbitmap_core(IndexScanDesc scan, TIDBitmap *tbm,
1259 IndexAmRoutine *coreRoutine)
1260{
1261 if (IsCompositeOpClass(scan->indexRelation))
1262 {
1263 DocumentDBRumIndexState *outerScanState =
1264 (DocumentDBRumIndexState *) scan->opaque;
1265 return coreRoutine->amgetbitmap(outerScanState->innerScan, tbm);
1266 }
1267 else
1268 {
1269 return coreRoutine->amgetbitmap(scan, tbm);
1270 }
1271}
1272
1273
1274static bool

Calls 1

IsCompositeOpClassFunction · 0.85

Tested by

no test coverage detected