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

Method Matches

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

Source from the content-addressed store, hash-verified

124 : accepted_unit_(accepted_unit) {}
125
126 bool Matches(const DataType& type) const override {
127 if (type.id() != ArrowType::type_id) {
128 return false;
129 }
130 const auto& time_type = checked_cast<const ArrowType&>(type);
131 return time_type.unit() == accepted_unit_;
132 }
133
134 bool Equals(const TypeMatcher& other) const override {
135 if (this == &other) {

Callers

nothing calls this directly

Calls 2

idMethod · 0.45
unitMethod · 0.45

Tested by

no test coverage detected