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: LogStoreRef, snapshot: DeltaTableState) -> Self
pub fn new(log_store: LogStoreRef, snapshot: DeltaTableState) -> Self
Create a new DeleteBuilder
Sourcepub fn with_predicate<E: Into<Expression>>(self, predicate: E) -> Self
pub fn with_predicate<E: Into<Expression>>(self, predicate: E) -> Self
A predicate that determines if a record is deleted
Sourcepub fn with_session_state(self, state: SessionState) -> Self
pub fn with_session_state(self, state: SessionState) -> Self
The Datafusion session state to use
Sourcepub fn with_commit_properties(self, commit_properties: CommitProperties) -> Self
pub fn with_commit_properties(self, commit_properties: CommitProperties) -> Self
Additonal information to write to the commit
Sourcepub fn with_writer_properties(self, writer_properties: WriterProperties) -> Self
pub fn with_writer_properties(self, writer_properties: WriterProperties) -> Self
Writer properties passed to parquet writer for when files are rewritten
Trait Implementations§
Source§impl IntoFuture for DeleteBuilder
impl IntoFuture for DeleteBuilder
Source§type Output = Result<(DeltaTable, DeleteMetrics), DeltaTableError>
type Output = Result<(DeltaTable, DeleteMetrics), DeltaTableError>
The output that the future will produce on completion.
Source§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) -> Self::IntoFuture
fn into_future(self) -> Self::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 more