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

Method View

cpp/src/arrow/chunked_array.cc:245–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245Result<std::shared_ptr<ChunkedArray>> ChunkedArray::View(
246 const std::shared_ptr<DataType>& type) const {
247 ArrayVector out_chunks(this->num_chunks());
248 for (int i = 0; i < this->num_chunks(); ++i) {
249 ARROW_ASSIGN_OR_RAISE(out_chunks[i], chunks_[i]->View(type));
250 }
251 return std::make_shared<ChunkedArray>(std::move(out_chunks), type);
252}
253
254std::string ChunkedArray::ToString() const {
255 std::stringstream ss;

Callers

nothing calls this directly

Calls 2

ARROW_ASSIGN_OR_RAISEFunction · 0.50
num_chunksMethod · 0.45

Tested by

no test coverage detected