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

Method Get

cpp/src/arrow/util/key_value_metadata.cc:93–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93Result<std::string> KeyValueMetadata::Get(std::string_view key) const {
94 auto index = FindKey(key);
95 if (index < 0) {
96 return Status::KeyError(key);
97 } else {
98 return value(index);
99 }
100}
101
102Status KeyValueMetadata::Delete(int64_t index) {
103 keys_.erase(keys_.begin() + index);

Callers 9

TESTFunction · 0.45
MakeOutputSchemaMethod · 0.45
TestRleDecoderFunction · 0.45
TestBitPackedDecoderFunction · 0.45
ValidateRleBitPackedFunction · 0.45
CheckRoundTripFunction · 0.45
TESTFunction · 0.45
AssertGetFunction · 0.45
TESTFunction · 0.45

Calls 2

KeyErrorFunction · 0.85
valueFunction · 0.70

Tested by 8

TESTFunction · 0.36
TestRleDecoderFunction · 0.36
TestBitPackedDecoderFunction · 0.36
ValidateRleBitPackedFunction · 0.36
CheckRoundTripFunction · 0.36
TESTFunction · 0.36
AssertGetFunction · 0.36
TESTFunction · 0.36