Type Alias datafusion_physical_expr_common::utils::ExprPropertiesNode
source · pub type ExprPropertiesNode = ExprContext<ExprProperties>;
Expand description
Represents a PhysicalExpr
node with associated properties (order and
range) in a context where properties are tracked.
Aliased Type§
struct ExprPropertiesNode {
pub expr: Arc<dyn PhysicalExpr>,
pub data: ExprProperties,
pub children: Vec<ExprContext<ExprProperties>>,
}
Fields§
§expr: Arc<dyn PhysicalExpr>
The physical expression associated with this context.
data: ExprProperties
Custom data payload of the node.
children: Vec<ExprContext<ExprProperties>>
Child contexts of this node.
Implementations§
source§impl ExprPropertiesNode
impl ExprPropertiesNode
sourcepub fn new_unknown(expr: Arc<dyn PhysicalExpr>) -> Self
pub fn new_unknown(expr: Arc<dyn PhysicalExpr>) -> Self
Constructs a new ExprPropertiesNode
with unknown properties for a
given physical expression. This node initializes with default properties
and recursively applies this to all child expressions.