MCPcopy Create free account
hub / github.com/apache/arrow / operator==

Method operator==

cpp/src/gandiva/expression_cache_key.h:82–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 size_t Hash() const { return hash_code_; }
81
82 bool operator==(const ExpressionCacheKey& other) const {
83 if (hash_code_ != other.hash_code_) {
84 return false;
85 }
86
87 if (!(schema_->Equals(*other.schema_, true))) {
88 return false;
89 }
90
91 if (configuration_ != other.configuration_) {
92 return false;
93 }
94
95 if (mode_ != other.mode_) {
96 return false;
97 }
98
99 if (expressions_as_strings_ != other.expressions_as_strings_) {
100 return false;
101 }
102
103 if (uniquifier_ != other.uniquifier_) {
104 return false;
105 }
106
107 return true;
108 }
109
110 bool operator!=(const ExpressionCacheKey& other) const { return !(*this == other); }
111

Callers

nothing calls this directly

Calls 1

EqualsMethod · 0.45

Tested by

no test coverage detected