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

Function GetString

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

Source from the content-addressed store, hash-verified

220 using c_type = BinaryViewType::c_type;
221
222 explicit BinaryViewArray(std::shared_ptr<ArrayData> data);
223
224 BinaryViewArray(std::shared_ptr<DataType> type, int64_t length,
225 std::shared_ptr<Buffer> views, BufferVector data_buffers,
226 std::shared_ptr<Buffer> null_bitmap = NULLPTR,
227 int64_t null_count = kUnknownNullCount, int64_t offset = 0);
228
229 // For API compatibility with BinaryArray etc.
230 std::string_view GetView(int64_t i) const;
231 std::string GetString(int64_t i) const { return std::string{GetView(i)}; }
232
233 const auto& values() const { return data_->buffers[1]; }
234 const c_type* raw_values() const { return raw_values_; }

Callers 2

CreateTestFileMethod · 0.85
TEST_FFunction · 0.85

Calls 1

GetViewFunction · 0.70

Tested by 2

CreateTestFileMethod · 0.68
TEST_FFunction · 0.68