pub struct RemoveLabelOperator { /* private fields */ }Expand description
Operator that removes labels from nodes.
Implementations§
Source§impl RemoveLabelOperator
impl RemoveLabelOperator
Sourcepub fn new(
store: Arc<dyn GraphStoreMut>,
input: Box<dyn Operator>,
node_column: usize,
labels: Vec<String>,
output_schema: Vec<LogicalType>,
) -> Self
pub fn new( store: Arc<dyn GraphStoreMut>, input: Box<dyn Operator>, node_column: usize, labels: Vec<String>, output_schema: Vec<LogicalType>, ) -> Self
Creates a new remove label operator.
Sourcepub fn with_transaction_context(
self,
epoch: EpochId,
transaction_id: Option<TransactionId>,
) -> Self
pub fn with_transaction_context( self, epoch: EpochId, transaction_id: Option<TransactionId>, ) -> Self
Sets the transaction context for versioned label mutations.
Trait Implementations§
Source§impl Operator for RemoveLabelOperator
impl Operator for RemoveLabelOperator
Auto Trait Implementations§
impl Freeze for RemoveLabelOperator
impl !RefUnwindSafe for RemoveLabelOperator
impl Send for RemoveLabelOperator
impl Sync for RemoveLabelOperator
impl Unpin for RemoveLabelOperator
impl UnsafeUnpin for RemoveLabelOperator
impl !UnwindSafe for RemoveLabelOperator
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