pub struct MergeOperator { /* private fields */ }Expand description
MERGE operator - upsert: match or create pattern
Implementations§
Source§impl MergeOperator
impl MergeOperator
Trait Implementations§
Source§impl PhysicalOperator for MergeOperator
impl PhysicalOperator for MergeOperator
Source§fn next(&mut self, _store: &GraphStore) -> ExecutionResult<Option<Record>>
fn next(&mut self, _store: &GraphStore) -> ExecutionResult<Option<Record>>
Get the next record from this operator (read-only operations)
Source§fn next_mut(
&mut self,
store: &mut GraphStore,
_tenant_id: &str,
) -> ExecutionResult<Option<Record>>
fn next_mut( &mut self, store: &mut GraphStore, _tenant_id: &str, ) -> ExecutionResult<Option<Record>>
Get the next record from this operator (write operations that mutate the store)
Source§fn next_batch(
&mut self,
store: &GraphStore,
batch_size: usize,
) -> ExecutionResult<Option<RecordBatch>>
fn next_batch( &mut self, store: &GraphStore, batch_size: usize, ) -> ExecutionResult<Option<RecordBatch>>
Get the next batch of records (Vectorized Execution)
Defaults to accumulating records from next()
Source§fn is_mutating(&self) -> bool
fn is_mutating(&self) -> bool
Returns true if this operator mutates the graph store
Source§fn describe(&self) -> OperatorDescription
fn describe(&self) -> OperatorDescription
Describe this operator for EXPLAIN output
Returns (operator_name, details, children)
Source§fn next_batch_mut(
&mut self,
store: &mut GraphStore,
tenant_id: &str,
batch_size: usize,
) -> ExecutionResult<Option<RecordBatch>>
fn next_batch_mut( &mut self, store: &mut GraphStore, tenant_id: &str, batch_size: usize, ) -> ExecutionResult<Option<RecordBatch>>
Get the next batch of records for mutating operations
Auto Trait Implementations§
impl Freeze for MergeOperator
impl RefUnwindSafe for MergeOperator
impl Send for MergeOperator
impl Sync for MergeOperator
impl Unpin for MergeOperator
impl UnsafeUnpin for MergeOperator
impl UnwindSafe for MergeOperator
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> 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> 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