pub struct MergeConfig {
pub variable: String,
pub labels: Vec<String>,
pub match_properties: Vec<(String, Value)>,
pub on_create_properties: Vec<(String, Value)>,
pub on_match_properties: Vec<(String, Value)>,
pub output_schema: Vec<LogicalType>,
pub output_column: usize,
}Expand description
Configuration for a node merge operation.
Fields§
§variable: StringVariable name for the merged node.
labels: Vec<String>Labels to match/create.
match_properties: Vec<(String, Value)>Properties that must match (also used for creation).
on_create_properties: Vec<(String, Value)>Properties to set on CREATE.
on_match_properties: Vec<(String, Value)>Properties to set on MATCH.
output_schema: Vec<LogicalType>Output schema (input columns + node column).
output_column: usizeColumn index where the merged node ID is placed.
Auto Trait Implementations§
impl Freeze for MergeConfig
impl RefUnwindSafe for MergeConfig
impl Send for MergeConfig
impl Sync for MergeConfig
impl Unpin for MergeConfig
impl UnsafeUnpin for MergeConfig
impl UnwindSafe for MergeConfig
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