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

Function GetStringView

cpp/src/arrow/integration/json_internal.cc:111–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111Result<std::string_view> GetStringView(const rj::Value& str) {
112 if (!str.IsString()) {
113 return Status::Invalid("field was not a string");
114 }
115 return std::string_view{str.GetString(), str.GetStringLength()};
116}
117
118class SchemaWriter {
119 public:

Calls 2

InvalidFunction · 0.50
GetStringMethod · 0.45

Tested by

no test coverage detected