| 91 | bool Matches(const DataType& type) const override { return type.id() == accepted_id_; } |
| 92 | |
| 93 | std::string ToString() const override { |
| 94 | std::stringstream ss; |
| 95 | ss << "Type::" << ::arrow::internal::ToString(accepted_id_); |
| 96 | return ss.str(); |
| 97 | } |
| 98 | |
| 99 | bool Equals(const TypeMatcher& other) const override { |
| 100 | if (this == &other) { |