pub enum ProjectExpr {
Column(usize),
Constant(Value),
PropertyAccess {
column: usize,
property: String,
},
EdgeType {
column: usize,
},
Expression {
expr: FilterExpression,
variable_columns: HashMap<String, usize>,
},
NodeResolve {
column: usize,
},
EdgeResolve {
column: usize,
},
}Expand description
A projection expression.
Variants§
Column(usize)
Reference to an input column.
Constant(Value)
A constant value.
PropertyAccess
Property access on a node/edge column.
Fields
EdgeType
Edge type accessor (for type(r) function).
Expression
Full expression evaluation (for CASE WHEN, etc.).
Fields
§
expr: FilterExpressionThe filter expression to evaluate.
NodeResolve
Resolve a node ID column to a full node map with metadata and properties.
EdgeResolve
Resolve an edge ID column to a full edge map with metadata and properties.
Auto Trait Implementations§
impl Freeze for ProjectExpr
impl RefUnwindSafe for ProjectExpr
impl Send for ProjectExpr
impl Sync for ProjectExpr
impl Unpin for ProjectExpr
impl UnsafeUnpin for ProjectExpr
impl UnwindSafe for ProjectExpr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more