|
|
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).
|
◆ ComparisonExpressionMatcher()
| duckdb::ComparisonExpressionMatcher::ComparisonExpressionMatcher |
( |
| ) |
|
|
inline |
69420 }
SetMatcher::Policy policy
The set matcher matching policy to use.
Definition duckdb.cpp:69424
@ INVALID
Not initialized.
Definition duckdb.cpp:69129
◆ 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.
315153 {
315155 return false;
315156 }
315157 auto &expr = expr_p.Cast<BoundComparisonExpression>();
315158 vector<reference<Expression>> expressions;
315159 expressions.push_back(*expr.left);
315160 expressions.push_back(*expr.right);
315161 return SetMatcher::Match(
matchers, expressions, bindings,
policy);
315162}
vector< unique_ptr< ExpressionMatcher > > matchers
The matchers for the child expressions.
Definition duckdb.cpp:69422
virtual bool Match(Expression &expr, vector< reference< Expression > > &bindings)
Definition duckdb.cpp:315124
The documentation for this class was generated from the following file: