pub trait DataFrame: Send + Sync + 'static {
Show 17 methods // Required methods fn as_any(&self) -> &(dyn Any + 'static); fn schema(&self) -> Schema; fn connection(&self) -> Arc<dyn Connection + 'static>; fn fingerprint(&self) -> u64; fn collect<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<VegaFusionTable, VegaFusionError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait; // Provided methods fn schema_df(&self) -> Result<DFSchema, VegaFusionError> { ... } fn collect_flat<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<RecordBatch, VegaFusionError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait { ... } fn sort<'life0, 'async_trait>( &'life0 self, _expr: Vec<Expr, Global>, _limit: Option<i32> ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn DataFrame + 'static>, VegaFusionError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait { ... } fn select<'life0, 'async_trait>( &'life0 self, _expr: Vec<Expr, Global> ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn DataFrame + 'static>, VegaFusionError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait { ... } fn aggregate<'life0, 'async_trait>( &'life0 self, _group_expr: Vec<Expr, Global>, _aggr_expr: Vec<Expr, Global> ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn DataFrame + 'static>, VegaFusionError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait { ... } fn joinaggregate<'life0, 'async_trait>( &'life0 self, _group_expr: Vec<Expr, Global>, _aggr_expr: Vec<Expr, Global> ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn DataFrame + 'static>, VegaFusionError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait { ... } fn filter<'life0, 'async_trait>( &'life0 self, _predicate: Expr ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn DataFrame + 'static>, VegaFusionError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait { ... } fn limit<'life0, 'async_trait>( &'life0 self, _limit: i32 ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn DataFrame + 'static>, VegaFusionError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, Self: 'async_trait { ... } fn fold<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, _fields: &'life1 [String], _value_col: &'life2 str, _key_col: &'life3 str, _order_field: Option<&'life4 str> ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn DataFrame + 'static>, VegaFusionError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait, Self: 'async_trait { ... } fn stack<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, _field: &'life1 str, _orderby: Vec<Expr, Global>, _groupby: &'life2 [String], _start_field: &'life3 str, _stop_field: &'life4 str, _mode: StackMode ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn DataFrame + 'static>, VegaFusionError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait, Self: 'async_trait { ... } fn impute<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, _field: &'life1 str, _value: ScalarValue, _key: &'life2 str, _groupby: &'life3 [String], _order_field: Option<&'life4 str> ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn DataFrame + 'static>, VegaFusionError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait, Self: 'async_trait { ... } fn with_index<'life0, 'life1, 'async_trait>( &'life0 self, index_name: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn DataFrame + 'static>, VegaFusionError>> + Send + 'async_trait, Global>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait { ... }
}

Required Methods§

source

fn as_any(&self) -> &(dyn Any + 'static)

source

fn schema(&self) -> Schema

source

fn connection(&self) -> Arc<dyn Connection + 'static>

source

fn fingerprint(&self) -> u64

source

fn collect<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<VegaFusionTable, VegaFusionError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

Provided Methods§

source

fn schema_df(&self) -> Result<DFSchema, VegaFusionError>

source

fn collect_flat<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<RecordBatch, VegaFusionError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

source

fn sort<'life0, 'async_trait>( &'life0 self, _expr: Vec<Expr, Global>, _limit: Option<i32> ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn DataFrame + 'static>, VegaFusionError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

source

fn select<'life0, 'async_trait>( &'life0 self, _expr: Vec<Expr, Global> ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn DataFrame + 'static>, VegaFusionError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

source

fn aggregate<'life0, 'async_trait>( &'life0 self, _group_expr: Vec<Expr, Global>, _aggr_expr: Vec<Expr, Global> ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn DataFrame + 'static>, VegaFusionError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

source

fn joinaggregate<'life0, 'async_trait>( &'life0 self, _group_expr: Vec<Expr, Global>, _aggr_expr: Vec<Expr, Global> ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn DataFrame + 'static>, VegaFusionError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

source

fn filter<'life0, 'async_trait>( &'life0 self, _predicate: Expr ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn DataFrame + 'static>, VegaFusionError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

source

fn limit<'life0, 'async_trait>( &'life0 self, _limit: i32 ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn DataFrame + 'static>, VegaFusionError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,

source

fn fold<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, _fields: &'life1 [String], _value_col: &'life2 str, _key_col: &'life3 str, _order_field: Option<&'life4 str> ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn DataFrame + 'static>, VegaFusionError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait, Self: 'async_trait,

source

fn stack<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, _field: &'life1 str, _orderby: Vec<Expr, Global>, _groupby: &'life2 [String], _start_field: &'life3 str, _stop_field: &'life4 str, _mode: StackMode ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn DataFrame + 'static>, VegaFusionError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait, Self: 'async_trait,

source

fn impute<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, _field: &'life1 str, _value: ScalarValue, _key: &'life2 str, _groupby: &'life3 [String], _order_field: Option<&'life4 str> ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn DataFrame + 'static>, VegaFusionError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait, Self: 'async_trait,

source

fn with_index<'life0, 'life1, 'async_trait>( &'life0 self, index_name: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn DataFrame + 'static>, VegaFusionError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Implementors§