MCPcopy Create free account
hub / github.com/apache/datafusion / contains

Method contains

datafusion/optimizer/src/join_key_set.rs:51–54  ·  view source on GitHub ↗

Return true if the set contains a join pair where left = right or right = left

(&self, left: &Expr, right: &Expr)

Source from the content-addressed store, hash-verified

49 /// Return true if the set contains a join pair
50 /// where left = right or right = left
51 pub fn contains(&self, left: &Expr, right: &Expr) -> bool {
52 self.inner.contains(&ExprPair::new(left, right))
53 || self.inner.contains(&ExprPair::new(right, left))
54 }
55
56 /// Insert the join key `(left = right)` into the set if join pair `(right =
57 /// left)` is not already in the set

Callers 15

has_all_column_refsFunction · 0.45
insertMethod · 0.45
insert_ownedMethod · 0.45
insert_intersectionMethod · 0.45
is_deterministic_ofFunction · 0.45
rewriteMethod · 0.45
f_upMethod · 0.45
collect_missing_exprsMethod · 0.45
remove_join_expressionsFunction · 0.45
f_upMethod · 0.45

Calls 1

newFunction · 0.85

Tested by

no test coverage detected