| 29 | namespace arrow::extension { |
| 30 | |
| 31 | std::string OpaqueType::ToString(bool show_metadata) const { |
| 32 | std::stringstream ss; |
| 33 | ss << "extension<" << this->extension_name() |
| 34 | << "[storage_type=" << storage_type_->ToString(show_metadata) |
| 35 | << ", type_name=" << type_name_ << ", vendor_name=" << vendor_name_ << "]>"; |
| 36 | return ss.str(); |
| 37 | } |
| 38 | |
| 39 | bool OpaqueType::ExtensionEquals(const ExtensionType& other) const { |
| 40 | if (extension_name() != other.extension_name()) { |
nothing calls this directly
no test coverage detected