Struct deltalake::operations::delete::DeleteBuilder
source · pub struct DeleteBuilder { /* private fields */ }
Expand description
Delete Records from the Delta Table. See this module’s documentation for more information
Implementations§
source§impl DeleteBuilder
impl DeleteBuilder
sourcepub fn new(
log_store: Arc<dyn LogStore>,
snapshot: DeltaTableState
) -> DeleteBuilder
pub fn new( log_store: Arc<dyn LogStore>, snapshot: DeltaTableState ) -> DeleteBuilder
Create a new DeleteBuilder
sourcepub fn with_predicate<E>(self, predicate: E) -> DeleteBuilderwhere
E: Into<Expression>,
pub fn with_predicate<E>(self, predicate: E) -> DeleteBuilderwhere
E: Into<Expression>,
A predicate that determines if a record is deleted
sourcepub fn with_session_state(self, state: SessionState) -> DeleteBuilder
pub fn with_session_state(self, state: SessionState) -> DeleteBuilder
The Datafusion session state to use
sourcepub fn with_commit_properties(
self,
commit_properties: CommitProperties
) -> DeleteBuilder
pub fn with_commit_properties( self, commit_properties: CommitProperties ) -> DeleteBuilder
Additonal information to write to the commit
sourcepub fn with_writer_properties(
self,
writer_properties: WriterProperties
) -> DeleteBuilder
pub fn with_writer_properties( self, writer_properties: WriterProperties ) -> DeleteBuilder
Writer properties passed to parquet writer for when files are rewritten
Trait Implementations§
source§impl IntoFuture for DeleteBuilder
impl IntoFuture for DeleteBuilder
§type Output = Result<(DeltaTable, DeleteMetrics), DeltaTableError>
type Output = Result<(DeltaTable, DeleteMetrics), DeltaTableError>
The output that the future will produce on completion.
§type IntoFuture = Pin<Box<dyn Future<Output = <DeleteBuilder as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <DeleteBuilder as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
source§fn into_future(self) -> <DeleteBuilder as IntoFuture>::IntoFuture
fn into_future(self) -> <DeleteBuilder as IntoFuture>::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl Freeze for DeleteBuilder
impl !RefUnwindSafe for DeleteBuilder
impl Send for DeleteBuilder
impl Sync for DeleteBuilder
impl Unpin for DeleteBuilder
impl !UnwindSafe for DeleteBuilder
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> 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 moreCreates a shared type from an unshared type.