Struct datafusion_expr::logical_plan::CreateView
source · pub struct CreateView {
pub name: OwnedTableReference,
pub input: Arc<LogicalPlan>,
pub or_replace: bool,
pub definition: Option<String>,
}
Expand description
Creates a view.
Fields§
§name: OwnedTableReference
The table name
input: Arc<LogicalPlan>
The logical plan
or_replace: bool
Option to not error if table already exists
definition: Option<String>
SQL used to create the view, if available
Trait Implementations§
source§impl Clone for CreateView
impl Clone for CreateView
source§fn clone(&self) -> CreateView
fn clone(&self) -> CreateView
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 CreateView
impl Hash for CreateView
source§impl PartialEq<CreateView> for CreateView
impl PartialEq<CreateView> for CreateView
source§fn eq(&self, other: &CreateView) -> bool
fn eq(&self, other: &CreateView) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CreateView
impl StructuralEq for CreateView
impl StructuralPartialEq for CreateView
Auto Trait Implementations§
impl !RefUnwindSafe for CreateView
impl Send for CreateView
impl Sync for CreateView
impl Unpin for CreateView
impl !UnwindSafe for CreateView
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.