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

Method Read

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

Source from the content-addressed store, hash-verified

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