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

Method GetValue

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

Return the pointer to the given elements bytes XXX should GetValue(int64_t i) return a string_view?

Source from the content-addressed store, hash-verified

57 /// Return the pointer to the given elements bytes
58 // XXX should GetValue(int64_t i) return a string_view?
59 const uint8_t* GetValue(int64_t i, offset_type* out_length) const {
60 const offset_type pos = raw_value_offsets_[i];
61 *out_length = raw_value_offsets_[i + 1] - pos;
62 return raw_data_ + pos;
63 }
64
65 /// \brief Get binary value as a string_view
66 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected