pub struct ResolvedEdgeSpec {
pub var: u32,
pub src: u32,
pub dst: u32,
pub rel_type_id: Option<u32>,
pub rel_type_name: Option<String>,
pub direction: Direction,
pub properties: Vec<(String, IrLiteral)>,
pub computed_properties: Vec<(String, Expr)>,
}Expand description
An edge to create, fully resolved. See ResolvedNodeSpec.
Fields§
§var: u32Pattern variable id of the edge.
src: u32Source node variable id.
dst: u32Destination node variable id.
rel_type_id: Option<u32>Resolved relation type id, if any.
rel_type_name: Option<String>Resolved relation type name (for file routing), if known.
direction: DirectionEdge direction.
properties: Vec<(String, IrLiteral)>Literal property key/value pairs (constant or constant-folded values).
Persisted as of #784: the execution layer writes these via
GraphWriter::set_edge_properties to edge_properties/<REL_TYPE>.parquet
(keyed by edge_uuid), and the read side joins them back. An edge with
properties but no relation type is rejected (the props would be
unreadable), so a non-empty map implies rel_type_name is Some.
computed_properties: Vec<(String, Expr)>Row-dependent property values evaluated per minted row (#814); see
ResolvedNodeSpec::computed_properties.
Trait Implementations§
Source§impl Clone for ResolvedEdgeSpec
impl Clone for ResolvedEdgeSpec
Source§fn clone(&self) -> ResolvedEdgeSpec
fn clone(&self) -> ResolvedEdgeSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolvedEdgeSpec
impl Debug for ResolvedEdgeSpec
Source§impl PartialEq for ResolvedEdgeSpec
impl PartialEq for ResolvedEdgeSpec
impl StructuralPartialEq for ResolvedEdgeSpec
Auto Trait Implementations§
impl !RefUnwindSafe for ResolvedEdgeSpec
impl !UnwindSafe for ResolvedEdgeSpec
impl Freeze for ResolvedEdgeSpec
impl Send for ResolvedEdgeSpec
impl Sync for ResolvedEdgeSpec
impl Unpin for ResolvedEdgeSpec
impl UnsafeUnpin for ResolvedEdgeSpec
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
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>
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