Struct datafusion_expr::logical_plan::dml::DmlStatement
source · pub struct DmlStatement {
pub table_name: OwnedTableReference,
pub table_schema: DFSchemaRef,
pub op: WriteOp,
pub input: Arc<LogicalPlan>,
}
Expand description
The operator that modifies the content of a database (adapted from substrait WriteRel)
Fields§
§table_name: OwnedTableReference
The table name
table_schema: DFSchemaRef
The schema of the table (must align with Rel input)
op: WriteOp
The type of operation to perform
input: Arc<LogicalPlan>
The relation that determines the tuples to add/remove/modify the schema must match with table_schema
Implementations§
source§impl DmlStatement
impl DmlStatement
sourcepub fn name(&self) -> &str
pub fn name(&self) -> &str
Return a descriptive name of this DmlStatement
Trait Implementations§
source§impl Clone for DmlStatement
impl Clone for DmlStatement
source§fn clone(&self) -> DmlStatement
fn clone(&self) -> DmlStatement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Hash for DmlStatement
impl Hash for DmlStatement
source§impl PartialEq<DmlStatement> for DmlStatement
impl PartialEq<DmlStatement> for DmlStatement
source§fn eq(&self, other: &DmlStatement) -> bool
fn eq(&self, other: &DmlStatement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DmlStatement
impl StructuralEq for DmlStatement
impl StructuralPartialEq for DmlStatement
Auto Trait Implementations§
impl !RefUnwindSafe for DmlStatement
impl Send for DmlStatement
impl Sync for DmlStatement
impl Unpin for DmlStatement
impl !UnwindSafe for DmlStatement
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.