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

Method GetView

cpp/src/arrow/array/builder_binary.h:381–385  ·  view source on GitHub ↗

Temporary access to a value. This view becomes invalid on the next modifying operation.

Source from the content-addressed store, hash-verified

379 ///
380 /// This view becomes invalid on the next modifying operation.
381 std::string_view GetView(int64_t i) const {
382 offset_type value_length;
383 const uint8_t* value_data = GetValue(i, &value_length);
384 return std::string_view(reinterpret_cast<const char*>(value_data), value_length);
385 }
386
387 // Cannot make this a static attribute because of linking issues
388 static constexpr int64_t memory_limit() {

Callers

nothing calls this directly

Calls 1

GetValueFunction · 0.70

Tested by

no test coverage detected