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

Method SetData

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

Protected method for constructors

Source from the content-addressed store, hash-verified

133
134 // Protected method for constructors
135 void SetData(const std::shared_ptr<ArrayData>& data) {
136 this->Array::SetData(data);
137 raw_value_offsets_ = data->GetValuesSafe<offset_type>(1);
138 raw_data_ = data->GetValuesSafe<uint8_t>(2, /*offset=*/0);
139 }
140
141 const offset_type* raw_value_offsets_ = NULLPTR;
142 const uint8_t* raw_data_ = NULLPTR;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected