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

Method Read

cpp/src/arrow/ipc/feather.cc:342–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340 }
341
342 Status Read(std::shared_ptr<Table>* out) override {
343 std::vector<std::shared_ptr<ChunkedArray>> columns;
344 for (int i = 0; i < static_cast<int>(metadata_->columns()->size()); ++i) {
345 columns.emplace_back();
346 RETURN_NOT_OK(GetColumn(i, &columns.back()));
347 }
348 *out = Table::Make(this->schema(), std::move(columns), this->num_rows());
349 return Status::OK();
350 }
351
352 Status Read(const std::vector<int>& indices, std::shared_ptr<Table>* out) override {
353 std::vector<std::shared_ptr<Field>> fields;

Callers

nothing calls this directly

Calls 15

schemaMethod · 0.95
num_rowsMethod · 0.95
columnsMethod · 0.80
emplace_backMethod · 0.80
backMethod · 0.80
push_backMethod · 0.80
schemaFunction · 0.70
GetColumnFunction · 0.50
MakeFunction · 0.50
OKFunction · 0.50
InvalidFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected