pub struct ExpandOp {
pub from_variable: String,
pub to_variable: String,
pub edge_variable: Option<String>,
pub direction: ExpandDirection,
pub edge_types: Vec<String>,
pub min_hops: u32,
pub max_hops: Option<u32>,
pub input: Box<LogicalOperator>,
pub path_alias: Option<String>,
pub path_mode: PathMode,
}Expand description
Expand from nodes to their neighbors.
Fields§
§from_variable: StringSource node variable.
to_variable: StringTarget node variable to bind.
edge_variable: Option<String>Edge variable to bind (optional).
direction: ExpandDirectionDirection of expansion.
edge_types: Vec<String>Edge type filter (empty = match all types, multiple = match any).
min_hops: u32Minimum hops (for variable-length patterns).
max_hops: Option<u32>Maximum hops (for variable-length patterns).
input: Box<LogicalOperator>Input operator.
path_alias: Option<String>Path alias for variable-length patterns (e.g., p in p = (a)-[*1..3]->(b)).
When set, a path length column will be output under this name.
path_mode: PathModePath traversal mode (WALK, TRAIL, SIMPLE, ACYCLIC).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExpandOp
impl RefUnwindSafe for ExpandOp
impl Send for ExpandOp
impl Sync for ExpandOp
impl Unpin for ExpandOp
impl UnsafeUnpin for ExpandOp
impl UnwindSafe for ExpandOp
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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