MCPcopy Create free account
hub / github.com/FoundationDB/fdb-document-layer / getIndexesSubspace

Method getIndexesSubspace

src/QLContext.actor.cpp:695–698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

693}
694
695Key UnboundCollectionContext::getIndexesSubspace() {
696 return metadataDirectory->key().withSuffix(
697 DataValue(DocLayerConstants::INDICES_KEY, DVTypeCode::STRING).encode_key_part());
698}
699
700Reference<UnboundQueryContext> UnboundCollectionContext::getIndexesContext() {
701 return Reference<UnboundQueryContext>(new UnboundQueryContext(DataKey()))->getSubContext(getIndexesSubspace());

Calls 2

DataValueClass · 0.85
encode_key_partMethod · 0.80

Tested by

no test coverage detected