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

Function GetStringView

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

Source from the content-addressed store, hash-verified

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

Calls 2

InvalidFunction · 0.50
GetStringMethod · 0.45

Tested by

no test coverage detected