MCPcopy Create free account
hub / github.com/FoundationDB/fdb-document-layer / simplify

Method simplify

src/QLPredicate.actor.cpp:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54Reference<IPredicate> AnyPredicate::simplify() {
55 Reference<IPredicate> s = pred->simplify();
56 if (s->getTypeCode() == IPredicate::NONE)
57 return s;
58 return ref(new AnyPredicate(expr, s));
59}
60
61Reference<IPredicate> IPredicate::simplify_not() {
62 return ref(new NotPredicate(Reference<IPredicate>::addRef(this)));

Callers 4

planQueryFunction · 0.45
simplify_andMethod · 0.45
simplify_notMethod · 0.45
push_downMethod · 0.45

Calls 6

refFunction · 0.85
emptyMethod · 0.80
simplify_notMethod · 0.80
getTypeCodeMethod · 0.45
sizeMethod · 0.45
compareMethod · 0.45

Tested by

no test coverage detected