| 631 | std::string type_name() const override { return "filename"; } |
| 632 | |
| 633 | Result<std::shared_ptr<Schema>> Inspect( |
| 634 | const std::vector<std::string>& paths) override { |
| 635 | for (const auto& path : paths) { |
| 636 | std::vector<std::string> segments; |
| 637 | segments = |
| 638 | fs::internal::SplitAbstractPath(StripNonPrefix(path), kFilenamePartitionSep); |
| 639 | RETURN_NOT_OK(InspectPartitionSegments(segments, field_names_)); |
| 640 | } |
| 641 | return DoInspect(); |
| 642 | } |
| 643 | |
| 644 | Result<std::shared_ptr<Partitioning>> Finish( |
| 645 | const std::shared_ptr<Schema>& schema) const override { |
nothing calls this directly
no test coverage detected