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

Function describeIndex

src/MetadataManager.actor.cpp:46–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46std::string describeIndex(std::vector<std::pair<std::string, int>> indexKeys) {
47 std::string ret = "index: ";
48 for (const auto& indexKey : indexKeys) {
49 ret += format("{%s:%d}, ", indexKey.first.c_str(), indexKey.second);
50 }
51 ret.resize(ret.length() - 2);
52 return ret;
53}
54
55IndexInfo::IndexStatus indexStatus(const bson::BSONObj& indexObj) {
56 const char* statusField = indexObj.getStringField(DocLayerConstants::STATUS_FIELD);

Callers 1

indexInfoFromObjMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected