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

Class Case

datafusion/expr/src/expr.rs:845–852  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

843/// ```
844#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Hash)]
845pub struct Case {
846 /// Optional base expression that can be compared to literal values in the "when" expressions
847 pub expr: Option<Box<Expr>>,
848 /// One or more when/then expressions
849 pub when_then_expr: Vec<(Box<Expr>, Box<Expr>)>,
850 /// Optional "else" expression
851 pub else_expr: Option<Box<Expr>>,
852}
853
854impl Case {
855 /// Create a new Case expression

Callers 15

map_childrenMethod · 0.85
buildMethod · 0.85
serialize_exprFunction · 0.85
parse_exprFunction · 0.85
roundtrip_caseFunction · 0.85
roundtrip_case_with_nullFunction · 0.85
from_if_thenFunction · 0.85
rewrite_internalFunction · 0.85

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…