MCPcopy Create free account
hub / github.com/apache/datafusion / binary_expr

Function binary_expr

datafusion/expr/src/expr_fn.rs:173–175  ·  view source on GitHub ↗

Return a new expression `left right`

(left: Expr, op: Operator, right: Expr)

Source from the content-addressed store, hash-verified

171
172/// Return a new expression `left <op> right`
173pub fn binary_expr(left: Expr, op: Operator, right: Expr) -> Expr {
174 Expr::BinaryExpr(BinaryExpr::new(Box::new(left), op, Box::new(right)))
175}
176
177/// Return a new expression with a logical AND
178pub fn and(left: Expr, right: Expr) -> Expr {

Callers 15

addMethod · 0.70
subMethod · 0.70
mulMethod · 0.70
divMethod · 0.70
remMethod · 0.70
bitandMethod · 0.70
bitorMethod · 0.70
bitxorMethod · 0.70
shlMethod · 0.70
shrMethod · 0.70
eqMethod · 0.70
not_eqMethod · 0.70

Calls 2

newFunction · 0.85
BinaryExprClass · 0.70

Used in the wild real call sites across dependent graphs

searching dependent graphs…