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

Method Print

cpp/src/arrow/pretty_print.cc:622–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620 }
621
622 Status Print() {
623 for (int i = 0; i < schema_.num_fields(); ++i) {
624 if (i > 0) {
625 Newline();
626 Indent();
627 } else {
628 Indent();
629 }
630 RETURN_NOT_OK(PrintField(*schema_.field(i)));
631 }
632
633 if (options_.show_schema_metadata && schema_.metadata() != nullptr) {
634 PrintMetadata("-- schema metadata --", *schema_.metadata());
635 }
636 Flush();
637 return Status::OK();
638 }
639
640 private:
641 const Schema& schema_;

Callers

nothing calls this directly

Calls 5

FlushFunction · 0.85
OKFunction · 0.70
num_fieldsMethod · 0.45
fieldMethod · 0.45
metadataMethod · 0.45

Tested by

no test coverage detected