|
|
vector< unique_ptr< ExpressionMatcher > > | matchers |
| | The matchers for the child expressions.
|
|
SetMatcher::Policy | policy |
| | The set matcher matching policy to use.
|
|
ExpressionClass | expr_class |
| | The ExpressionClass of the to-be-matched expression. ExpressionClass::INVALID for ANY.
|
|
unique_ptr< ExpressionTypeMatcher > | expr_type |
| | Matcher for the ExpressionType of the operator (nullptr for ANY).
|
|
unique_ptr< TypeMatcher > | type |
| | Matcher for the return_type of the expression (nullptr for ANY).
|
◆ InClauseExpressionMatcher()
| duckdb::InClauseExpressionMatcher::InClauseExpressionMatcher |
( |
| ) |
|
|
inline |
69441 : ExpressionMatcher(ExpressionClass::BOUND_OPERATOR) {
69442 }
◆ Match()
Checks if the given expression matches this ExpressionMatcher. If it does, the expression is appended to the bindings list and true is returned. Otherwise, false is returned.
Reimplemented from duckdb::ExpressionMatcher.
315175 {
315177 return false;
315178 }
315179 auto &expr = expr_p.Cast<BoundOperatorExpression>();
315180 if (expr.GetExpressionType() != ExpressionType::COMPARE_IN ||
315181 expr.GetExpressionType() == ExpressionType::COMPARE_NOT_IN) {
315182 return false;
315183 }
315184 return SetMatcher::Match(
matchers, expr.children, bindings,
policy);
315185}
virtual bool Match(Expression &expr, vector< reference< Expression > > &bindings)
Definition duckdb.cpp:315124
SetMatcher::Policy policy
The set matcher matching policy to use.
Definition duckdb.cpp:69446
vector< unique_ptr< ExpressionMatcher > > matchers
The matchers for the child expressions.
Definition duckdb.cpp:69444
The documentation for this class was generated from the following file: