pub struct SqlDataFrame { /* private fields */ }Expand description
Krishiv-owned wrapper around a DataFusion DataFrame.
Implementations§
Source§impl SqlDataFrame
impl SqlDataFrame
Sourcepub fn query(&self) -> Option<&str>
pub fn query(&self) -> Option<&str>
Original SQL query when created from SqlEngine::sql.
Sourcepub fn krishiv_logical_plan(&self) -> LogicalPlan
pub fn krishiv_logical_plan(&self) -> LogicalPlan
Create a Krishiv logical plan wrapper for this DataFrame.
Walks the DataFusion logical plan tree, creating Krishiv PlanNode
entries for each operator. Table-scan nodes are annotated with
estimated_rows from the engine’s table-row-count registry, allowing
BroadcastAutoRule to identify small tables for broadcast join
promotion. The plan is then run through the logical optimizer before
being returned.
Sourcepub fn explain_logical(&self) -> String
pub fn explain_logical(&self) -> String
Explain the logical plan without executing it.
Sourcepub async fn explain(&self) -> SqlResult<String>
pub async fn explain(&self) -> SqlResult<String>
Explain logical and physical plan details through DataFusion.
Sourcepub async fn collect(&self) -> SqlResult<Vec<RecordBatch>>
pub async fn collect(&self) -> SqlResult<Vec<RecordBatch>>
Execute and collect this DataFrame.
Sourcepub async fn execute_stream(&self) -> SqlResult<SqlStream>
pub async fn execute_stream(&self) -> SqlResult<SqlStream>
Execute and return a record batch stream.
Sourcepub async fn collect_with_stats(
&self,
) -> SqlResult<(Vec<RecordBatch>, SqlExecutionStats)>
pub async fn collect_with_stats( &self, ) -> SqlResult<(Vec<RecordBatch>, SqlExecutionStats)>
Execute and collect this DataFrame, also returning lightweight runtime statistics.
Collects output_rows from DataFusion’s execution metrics. cpu_nanos
is approximated from elapsed_compute when available. spill_bytes
and spill_count are aggregated across every operator in the physical
plan tree (sorts, hash joins, and aggregations report spills when the
memory pool forces them to disk); other fields default to 0.
Trait Implementations§
Source§impl Clone for SqlDataFrame
impl Clone for SqlDataFrame
Source§fn clone(&self) -> SqlDataFrame
fn clone(&self) -> SqlDataFrame
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SqlDataFrame
impl Debug for SqlDataFrame
Source§impl KrishivDataFrameOps for SqlDataFrame
impl KrishivDataFrameOps for SqlDataFrame
Source§fn collect<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = SqlResult<Vec<RecordBatch>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn collect<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = SqlResult<Vec<RecordBatch>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn collect_with_stats<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = SqlResult<(Vec<RecordBatch>, SqlExecutionStats)>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn collect_with_stats<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = SqlResult<(Vec<RecordBatch>, SqlExecutionStats)>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn explain<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = SqlResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn explain<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = SqlResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn explain_logical(&self) -> String
fn explain_logical(&self) -> String
Source§fn krishiv_logical_plan(&self) -> LogicalPlan
fn krishiv_logical_plan(&self) -> LogicalPlan
LogicalPlan wrapper for this DataFrame.Source§fn execute_stream<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = SqlResult<SqlStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute_stream<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = SqlResult<SqlStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn select<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
columns: &'life1 [&'life2 str],
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn select<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
columns: &'life1 [&'life2 str],
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn select_exprs<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
expressions: &'life1 [&'life2 Expr],
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn select_exprs<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
expressions: &'life1 [&'life2 Expr],
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn aggregate<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
group_exprs: &'life1 [&'life2 Expr],
aggregate_exprs: &'life3 [&'life4 Expr],
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn aggregate<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
group_exprs: &'life1 [&'life2 Expr],
aggregate_exprs: &'life3 [&'life4 Expr],
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Source§fn aggregate_grouping<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
grouping: GroupingMode<'life1>,
aggregate_exprs: &'life2 [&'life3 Expr],
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn aggregate_grouping<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
grouping: GroupingMode<'life1>,
aggregate_exprs: &'life2 [&'life3 Expr],
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn pivot<'life0, 'life1, 'life2, 'life3, 'life4, 'life5, 'async_trait>(
&'life0 self,
group_exprs: &'life1 [&'life2 Expr],
pivot_column: &'life3 Expr,
aggregate_expr: &'life4 Expr,
values: &'life5 [(ScalarValue, String)],
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
'life5: 'async_trait,
fn pivot<'life0, 'life1, 'life2, 'life3, 'life4, 'life5, 'async_trait>(
&'life0 self,
group_exprs: &'life1 [&'life2 Expr],
pivot_column: &'life3 Expr,
aggregate_expr: &'life4 Expr,
values: &'life5 [(ScalarValue, String)],
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
'life5: 'async_trait,
Source§fn unpivot<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
columns: &'life1 [&'life2 str],
name_column: &'life3 str,
value_column: &'life4 str,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn unpivot<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
columns: &'life1 [&'life2 str],
name_column: &'life3 str,
value_column: &'life4 str,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Source§fn filter<'life0, 'life1, 'async_trait>(
&'life0 self,
predicate: &'life1 str,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn filter<'life0, 'life1, 'async_trait>(
&'life0 self,
predicate: &'life1 str,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn filter_expr<'life0, 'life1, 'async_trait>(
&'life0 self,
predicate: &'life1 Expr,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn filter_expr<'life0, 'life1, 'async_trait>(
&'life0 self,
predicate: &'life1 Expr,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn limit<'life0, 'async_trait>(
&'life0 self,
n: usize,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn limit<'life0, 'async_trait>(
&'life0 self,
n: usize,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn distinct<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn distinct<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn drop_nulls<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
columns: &'life1 [&'life2 str],
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn drop_nulls<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
columns: &'life1 [&'life2 str],
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn sample<'life0, 'async_trait>(
&'life0 self,
fraction: f64,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn sample<'life0, 'async_trait>(
&'life0 self,
fraction: f64,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn sort<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
columns: &'life1 [&'life2 str],
descending: &'life3 [bool],
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn sort<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
columns: &'life1 [&'life2 str],
descending: &'life3 [bool],
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn alias<'life0, 'life1, 'async_trait>(
&'life0 self,
alias: &'life1 str,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn alias<'life0, 'life1, 'async_trait>(
&'life0 self,
alias: &'life1 str,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn drop_columns<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
columns: &'life1 [&'life2 str],
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn drop_columns<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
columns: &'life1 [&'life2 str],
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn rename_column<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
old: &'life1 str,
new: &'life2 str,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn rename_column<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
old: &'life1 str,
new: &'life2 str,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
old to new.Source§fn with_column<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
name: &'life1 str,
expr: &'life2 str,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn with_column<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
name: &'life1 str,
expr: &'life2 str,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn describe<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn describe<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
describe).Source§fn fill_null<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
column: &'life1 str,
value: &'life2 str,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn fill_null<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
column: &'life1 str,
value: &'life2 str,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
column with the literal SQL value.Source§fn join<'life0, 'life1, 'life2, 'life3, 'life4, 'life5, 'life6, 'async_trait>(
&'life0 self,
right: &'life1 dyn KrishivDataFrameOps,
how: &'life2 str,
left_on: &'life3 [&'life4 str],
right_on: &'life5 [&'life6 str],
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
'life5: 'async_trait,
'life6: 'async_trait,
fn join<'life0, 'life1, 'life2, 'life3, 'life4, 'life5, 'life6, 'async_trait>(
&'life0 self,
right: &'life1 dyn KrishivDataFrameOps,
how: &'life2 str,
left_on: &'life3 [&'life4 str],
right_on: &'life5 [&'life6 str],
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
'life5: 'async_trait,
'life6: 'async_trait,
Source§fn union<'life0, 'life1, 'async_trait>(
&'life0 self,
right: &'life1 dyn KrishivDataFrameOps,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn union<'life0, 'life1, 'async_trait>(
&'life0 self,
right: &'life1 dyn KrishivDataFrameOps,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn union_distinct<'life0, 'life1, 'async_trait>(
&'life0 self,
right: &'life1 dyn KrishivDataFrameOps,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn intersect<'life0, 'life1, 'async_trait>(
&'life0 self,
right: &'life1 dyn KrishivDataFrameOps,
distinct: bool,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn except<'life0, 'life1, 'async_trait>(
&'life0 self,
right: &'life1 dyn KrishivDataFrameOps,
distinct: bool,
) -> Pin<Box<dyn Future<Output = SqlResult<Box<dyn KrishivDataFrameOps>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn register_batches<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
batches: Vec<RecordBatch>,
) -> Pin<Box<dyn Future<Output = SqlResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn register_batches<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
batches: Vec<RecordBatch>,
) -> Pin<Box<dyn Future<Output = SqlResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
cache().Source§fn deregister_table<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = SqlResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn deregister_table<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = SqlResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
unpersist().Source§fn create_view<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
replace: bool,
) -> Pin<Box<dyn Future<Output = SqlResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create_view<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
replace: bool,
) -> Pin<Box<dyn Future<Output = SqlResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
name backed by this DataFrame’s
query. Used by create_or_replace_temp_view().Auto Trait Implementations§
impl !RefUnwindSafe for SqlDataFrame
impl !UnwindSafe for SqlDataFrame
impl Freeze for SqlDataFrame
impl Send for SqlDataFrame
impl Sync for SqlDataFrame
impl Unpin for SqlDataFrame
impl UnsafeUnpin for SqlDataFrame
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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>
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>
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request