69171 {
69173
69174 if (matchers.size() != entries.size()) {
69175 return false;
69176 }
69177
69178 for (
idx_t i = 0; i < matchers.size(); i++) {
69179 if (!matchers[i]->Match(entries[i], bindings)) {
69180 return false;
69181 }
69182 }
69183 return true;
69185 if (entries.size() < matchers.size()) {
69186 return false;
69187 }
69188
69189 for (
idx_t i = 0; i < matchers.size(); i++) {
69190 if (!matchers[i]->Match(entries[i], bindings)) {
69191 return false;
69192 }
69193 }
69194 return true;
69195 } else {
69197
69198 return false;
69199 }
else if (policy ==
Policy::SOME && matchers.size() > entries.size()) {
69200
69201
69202 return false;
69203 }
69204
69205
69206
69207 unordered_set<idx_t> excluded_entries;
69208 if (!MatchRecursive(matchers, entries, bindings, excluded_entries)) {
69209 return false;
69210 }
69211 return true;
69212 }
69213 }
@ UNORDERED
All entries have to be matched, but the order of the matches does not matter.
Definition duckdb.cpp:69123
@ SOME
Only some entries have to be matched, the order of the matches does not matter.
Definition duckdb.cpp:69125
@ ORDERED
All entries have to be matched, and the matches have to be ordered.
Definition duckdb.cpp:69121
@ SOME_ORDERED
Only some entries have to be matched. The order of the matches does matter.
Definition duckdb.cpp:69127