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

Method Get

cpp/src/arrow/flight/server_tracing_middleware.cc:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 : incoming_headers_(incoming_headers) {}
62
63 otel::nostd::string_view Get(otel::nostd::string_view key) const noexcept override {
64 std::string_view arrow_key(key.data(), key.size());
65 auto it = incoming_headers_.find(arrow_key);
66 if (it == incoming_headers_.end()) return "";
67 std::string_view result = it->second;
68 return {result.data(), result.size()};
69 }
70
71 void Set(otel::nostd::string_view, otel::nostd::string_view) noexcept override {}
72

Callers

nothing calls this directly

Calls 4

dataMethod · 0.45
sizeMethod · 0.45
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected