MCPcopy Create free account
hub / github.com/apache/calcite / equalsDeep

Method equalsDeep

core/src/main/java/org/apache/calcite/sql/SqlNode.java:302–302  ·  view source on GitHub ↗

Returns whether this node is structurally equivalent to another node. Some examples: 1 + 2 is structurally equivalent to 1 + 2 1 + 2 + 3 is structurally equivalent to (1 + 2) + 3, but not to 1 + (2 + 3), because the '+' operator is left-associative

(@Nullable SqlNode node, Litmus litmus)

Source from the content-addressed store, hash-verified

300 * </ul>
301 */
302 public abstract boolean equalsDeep(@Nullable SqlNode node, Litmus litmus);
303
304 @Deprecated // to be removed before 2.0
305 public final boolean equalsDeep(@Nullable SqlNode node, boolean fail) {

Callers 6

matchesSafelyMethod · 0.95
check_Method · 0.95
convertOrderItemMethod · 0.95
validateWindowClauseMethod · 0.95
equalDeepMethod · 0.45

Calls

no outgoing calls

Tested by 3

matchesSafelyMethod · 0.76
check_Method · 0.76