pub struct SetTarget {
pub var: u32,
pub is_edge: bool,
pub prop_name: String,
pub value: Expr,
}Expand description
One resolved SET n.prop = <expr> target (#791).
Like DeleteTarget, the node/edge kind (is_edge) is resolved by the
lowering layer from the input schema. value is the lowered DataFusion
expression for the assigned value — evaluated per matched row at execution
time (mirrors how UnwindNode carries its list_expr).
The property-file stem is resolved per row in the exec layer, not baked
here: a node uses its type_id (→ _untyped in Exploratory mode, else the
entity name from GraphSetNode::type_id_to_entity_name); an edge uses its
rel_type_name column (edge property files are keyed by relation name in
every mode).
Fields§
§var: u32Pattern variable id (VarId.0).
is_edge: booltrue if the variable is an edge (write to edge_properties/); false
for a node (write to properties/).
prop_name: StringThe property name being assigned.
value: ExprThe value expression, evaluated per matched row in the exec layer.
Trait Implementations§
impl StructuralPartialEq for SetTarget
Auto Trait Implementations§
impl !RefUnwindSafe for SetTarget
impl !UnwindSafe for SetTarget
impl Freeze for SetTarget
impl Send for SetTarget
impl Sync for SetTarget
impl Unpin for SetTarget
impl UnsafeUnpin for SetTarget
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
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> ⓘ
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