pub struct ExplainStatement {
pub options: ExplainStatementOptions,
pub statement: Box<Statement>,
}Expand description
DataFusion specific EXPLAIN
Supports both the legacy keyword form and, on dialects whose
Dialect::supports_explain_with_utility_options returns true
(PostgreSQL, DuckDB, etc.), the Postgres-style parenthesized option list:
-- Legacy keyword form (any dialect)
EXPLAIN <ANALYZE> <VERBOSE> [FORMAT format] statement
-- Postgres-style option form (dialect-gated)
EXPLAIN (option [arg] [, ...]) statementSee ExplainStatementOptions for the list of supported options in the
parenthesized form.
Fields§
§options: ExplainStatementOptionsNormalized options parsed from either the legacy keyword form or the parenthesized option list.
statement: Box<Statement>The statement to analyze. Note this is a DataFusion Statement (not a
sqlparser::ast::Statement so that we can use EXPLAIN, COPY, and other
DataFusion specific statements
Trait Implementations§
Source§impl Clone for ExplainStatement
impl Clone for ExplainStatement
Source§fn clone(&self) -> ExplainStatement
fn clone(&self) -> ExplainStatement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExplainStatement
impl Debug for ExplainStatement
Source§impl Display for ExplainStatement
impl Display for ExplainStatement
impl Eq for ExplainStatement
Source§impl PartialEq for ExplainStatement
impl PartialEq for ExplainStatement
impl StructuralPartialEq for ExplainStatement
Auto Trait Implementations§
impl Freeze for ExplainStatement
impl RefUnwindSafe for ExplainStatement
impl Send for ExplainStatement
impl Sync for ExplainStatement
impl Unpin for ExplainStatement
impl UnsafeUnpin for ExplainStatement
impl UnwindSafe for ExplainStatement
Blanket Implementations§
impl<T> Allocation for T
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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