pub struct MergeRelationshipConfig {
pub source_column: usize,
pub target_column: usize,
pub edge_type: 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 edge_output_column: usize,
}Expand description
Configuration for a relationship merge operation.
Fields§
§source_column: usizeColumn index for the source node ID in the input.
target_column: usizeColumn index for the target node ID in the input.
edge_type: StringRelationship type 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 + edge column).
edge_output_column: usizeColumn index for the edge variable in the output.
Auto Trait Implementations§
impl Freeze for MergeRelationshipConfig
impl RefUnwindSafe for MergeRelationshipConfig
impl Send for MergeRelationshipConfig
impl Sync for MergeRelationshipConfig
impl Unpin for MergeRelationshipConfig
impl UnsafeUnpin for MergeRelationshipConfig
impl UnwindSafe for MergeRelationshipConfig
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