MCPcopy Create free account
hub / github.com/apache/arrow / GetKeyIDSet

Method GetKeyIDSet

cpp/src/parquet/encryption/file_system_key_material_store.cc:111–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111std::vector<std::string> FileSystemKeyMaterialStore::GetKeyIDSet() {
112 if (key_material_map_.empty()) {
113 LoadKeyMaterialMap();
114 }
115 std::vector<std::string> keys;
116 keys.reserve(key_material_map_.size());
117
118 for (const auto& kv : key_material_map_) {
119 keys.push_back(kv.first);
120 }
121 return keys;
122}
123
124void FileSystemKeyMaterialStore::MoveMaterialTo(
125 std::shared_ptr<FileKeyMaterialStore> target_key_store) {

Callers 1

RotateMasterKeysMethod · 0.80

Calls 4

push_backMethod · 0.80
emptyMethod · 0.45
reserveMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected