| 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_; |
nothing calls this directly
no test coverage detected