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

Method GetView

cpp/src/arrow/array/builder_binary.h:383–387  ·  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

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

Callers

nothing calls this directly

Calls 1

GetValueFunction · 0.70

Tested by

no test coverage detected