MCPcopy Create free account
hub / github.com/apache/impala / equals

Method equals

fe/src/main/java/org/apache/impala/analysis/Expr.java:1043–1046  ·  view source on GitHub ↗

Returns true if two expressions are equal. The equality comparison works on analyzed as well as unanalyzed exprs by ignoring implicit casts. If overridden by a subclass, also provide an appropriate implementation for hashCode.

(Object obj)

Source from the content-addressed store, hash-verified

1041 * also provide an appropriate implementation for hashCode.
1042 */
1043 @Override
1044 public final boolean equals(Object obj) {
1045 return obj instanceof Expr && matches((Expr) obj, SlotRef.SLOTREF_EQ_CMP);
1046 }
1047
1048 /**
1049 * Local hash code that ignores children.

Callers 15

convertToCNFMethod · 0.95
addConjunctsToNodeMethod · 0.95
pushdownConjunctsMethod · 0.95
analyzeNonStarItemMethod · 0.95
checkComposedFromMethod · 0.95
analyzeMethod · 0.45
localEqualsMethod · 0.45
checkConsistencyMethod · 0.45
isArrayPosRefMethod · 0.45

Calls 1

matchesMethod · 0.95

Tested by

no test coverage detected