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

Method GetKeyIDSet

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

Source from the content-addressed store, hash-verified

111}
112
113std::vector<std::string> FileSystemKeyMaterialStore::GetKeyIDSet() {
114 if (key_material_map_.empty()) {
115 LoadKeyMaterialMap();
116 }
117 std::vector<std::string> keys;
118 keys.reserve(key_material_map_.size());
119
120 for (const auto& kv : key_material_map_) {
121 keys.push_back(kv.first);
122 }
123 return keys;
124}
125
126void FileSystemKeyMaterialStore::MoveMaterialTo(
127 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