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

Method equalTo

core/src/main/java/org/apache/calcite/util/ArrowSet.java:255–262  ·  view source on GitHub ↗
(ArrowSet other)

Source from the content-addressed store, hash-verified

253 }
254
255 public boolean equalTo(ArrowSet other) {
256 for (Arrow arrow : arrowSet) {
257 if (!other.implies(arrow.getDeterminants(), arrow.getDependents())) {
258 return false;
259 }
260 }
261 return true;
262 }
263
264 @Override public String toString() {
265 StringBuilder sb = new StringBuilder();

Callers 15

testFDEqualToMethod · 0.95
checkResultUnorderedMethod · 0.80
checkParseAndConvertMethod · 0.80
testValidateFailsMethod · 0.80
testPlanMethod · 0.80
checkUnionPruningMethod · 0.80
testSortPlanMethod · 0.80

Calls 3

getDeterminantsMethod · 0.80
getDependentsMethod · 0.80
impliesMethod · 0.45

Tested by 15

testFDEqualToMethod · 0.76
checkResultUnorderedMethod · 0.64
checkParseAndConvertMethod · 0.64
testValidateFailsMethod · 0.64
testPlanMethod · 0.64
checkUnionPruningMethod · 0.64
testSortPlanMethod · 0.64