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

Method GetScanOptions

cpp/src/arrow/dataset/scanner.cc:998–1004  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

996}
997
998Result<std::shared_ptr<ScanOptions>> ScannerBuilder::GetScanOptions() {
999 if (!scan_options_->projection.IsBound()) {
1000 RETURN_NOT_OK(Project(scan_options_->dataset_schema->field_names()));
1001 }
1002
1003 return scan_options_;
1004}
1005
1006Result<std::shared_ptr<Scanner>> ScannerBuilder::Finish() {
1007 ARROW_ASSIGN_OR_RAISE(auto scan_options, GetScanOptions());

Callers

nothing calls this directly

Calls 2

IsBoundMethod · 0.80
field_namesMethod · 0.80

Tested by

no test coverage detected