pub struct ExpandOp {
pub from_variable: String,
pub to_variable: String,
pub edge_variable: Option<String>,
pub direction: ExpandDirection,
pub edge_type: Option<String>,
pub min_hops: u32,
pub max_hops: Option<u32>,
pub input: Box<LogicalOperator>,
pub path_alias: Option<String>,
}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_type: Option<String>Optional edge type filter.
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.
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 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