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

Method GetString

cpp/src/arrow/array/array_binary.h:90–90  ·  view source on GitHub ↗

\brief Get binary value as a std::string \param i the value index \return the value copied into a std::string

Source from the content-addressed store, hash-verified

88 /// \param i the value index
89 /// \return the value copied into a std::string
90 std::string GetString(int64_t i) const { return std::string(GetView(i)); }
91
92 /// Note that this buffer does not account for any slice offset
93 std::shared_ptr<Buffer> value_offsets() const { return data_->buffers[1]; }

Callers 4

TESTFunction · 0.45
TestGetStringMethod · 0.45
TestSliceGetStringMethod · 0.45
VisitMethod · 0.45

Calls 1

GetViewFunction · 0.70

Tested by 3

TESTFunction · 0.36
TestGetStringMethod · 0.36
TestSliceGetStringMethod · 0.36