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

Method Equals

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

Source from the content-addressed store, hash-verified

200 bool Matches(const DataType& type) const override { return is_primitive(type.id()); }
201
202 bool Equals(const TypeMatcher& other) const override {
203 if (this == &other) {
204 return true;
205 }
206 auto casted = dynamic_cast<const PrimitiveMatcher*>(&other);
207 return casted != nullptr;
208 }
209
210 std::string ToString() const override { return "primitive"; }
211};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected