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

Method Equals

cpp/src/arrow/compute/kernel.cc:99–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 }
98
99 bool Equals(const TypeMatcher& other) const override {
100 if (this == &other) {
101 return true;
102 }
103 auto casted = dynamic_cast<const SameTypeIdMatcher*>(&other);
104 if (casted == nullptr) {
105 return false;
106 }
107 return this->accepted_id_ == casted->accepted_id_;
108 }
109
110 private:
111 Type::type accepted_id_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected