Skip to main content

DataFrameExt

Trait DataFrameExt 

Source
pub trait DataFrameExt {
Show 35 methods // Required methods fn collect_async( &self, ) -> impl Future<Output = Result<Vec<Row>>> + Send + 'static; fn collect_record_batches_async( &self, ) -> impl Future<Output = Result<Vec<RecordBatch>>> + Send + 'static; fn count_async(&self) -> impl Future<Output = Result<i64>> + Send + 'static; fn show_async( &self, n: usize, ) -> impl Future<Output = Result<()>> + Send + 'static; fn first_async( &self, ) -> impl Future<Output = Result<Option<Row>>> + Send + 'static; fn head_async( &self, ) -> impl Future<Output = Result<Option<Row>>> + Send + 'static; fn take_async( &self, n: usize, ) -> impl Future<Output = Result<Vec<Row>>> + Send + 'static; fn is_empty_async( &self, ) -> impl Future<Output = Result<bool>> + Send + 'static; fn exists_async( &self, ) -> impl Future<Output = Result<bool>> + Send + 'static; fn scalar_async( &self, ) -> impl Future<Output = Result<Option<Value>>> + Send + 'static; fn schema_async( &self, ) -> impl Future<Output = Result<DataType>> + Send + 'static; fn columns_async( &self, ) -> impl Future<Output = Result<Vec<String>>> + Send + 'static; fn dtypes_async( &self, ) -> impl Future<Output = Result<Vec<(String, String)>>> + Send + 'static; fn print_schema_async( &self, ) -> impl Future<Output = Result<()>> + Send + 'static; fn explain_async(&self) -> impl Future<Output = Result<()>> + Send + 'static; fn explain_mode_async( &self, mode: &str, ) -> impl Future<Output = Result<()>> + Send + 'static; fn input_files_async( &self, ) -> impl Future<Output = Result<Vec<String>>> + Send + 'static; fn is_cached_async( &self, ) -> impl Future<Output = Result<bool>> + Send + 'static; fn cache_async( &self, ) -> impl Future<Output = Result<DataFrame>> + Send + 'static; fn persist_async( &self, storage_level: StorageLevel, ) -> impl Future<Output = Result<DataFrame>> + Send + 'static; fn unpersist_async( &self, blocking: bool, ) -> impl Future<Output = Result<DataFrame>> + Send + 'static; fn storage_level_async( &self, ) -> impl Future<Output = Result<StorageLevel>> + Send + 'static; fn checkpoint_async( &self, ) -> impl Future<Output = Result<DataFrame>> + Send + 'static; fn local_checkpoint_async( &self, ) -> impl Future<Output = Result<DataFrame>> + Send + 'static; fn semantic_hash_async( &self, ) -> impl Future<Output = Result<i32>> + Send + 'static; fn same_semantics_async( &self, other: &DataFrame, ) -> impl Future<Output = Result<bool>> + Send + 'static; fn create_temp_view_async( &self, name: &str, ) -> impl Future<Output = Result<()>> + Send + 'static; fn create_or_replace_temp_view_async( &self, name: &str, ) -> impl Future<Output = Result<()>> + Send + 'static; fn create_global_temp_view_async( &self, name: &str, ) -> impl Future<Output = Result<()>> + Send + 'static; fn create_or_replace_global_temp_view_async( &self, name: &str, ) -> impl Future<Output = Result<()>> + Send + 'static; fn register_temp_table_async( &self, name: &str, ) -> impl Future<Output = Result<()>> + Send + 'static; fn to_arrow_async( &self, ) -> impl Future<Output = Result<Vec<u8>>> + Send + 'static; fn to_json_async( &self, ) -> impl Future<Output = Result<Vec<String>>> + Send + 'static; fn foreach_async( &self, func: CommonInlineUserDefinedFunctionExpression, ) -> impl Future<Output = Result<()>> + Send + 'static; fn foreach_partition_async( &self, func: CommonInlineUserDefinedFunctionExpression, ) -> impl Future<Output = Result<()>> + Send + 'static;
}
Expand description

Async actions on a DataFrame.

Required Methods§

Source

fn collect_async( &self, ) -> impl Future<Output = Result<Vec<Row>>> + Send + 'static

Source

fn collect_record_batches_async( &self, ) -> impl Future<Output = Result<Vec<RecordBatch>>> + Send + 'static

Source

fn count_async(&self) -> impl Future<Output = Result<i64>> + Send + 'static

Source

fn show_async( &self, n: usize, ) -> impl Future<Output = Result<()>> + Send + 'static

Source

fn first_async( &self, ) -> impl Future<Output = Result<Option<Row>>> + Send + 'static

Source

fn head_async( &self, ) -> impl Future<Output = Result<Option<Row>>> + Send + 'static

Source

fn take_async( &self, n: usize, ) -> impl Future<Output = Result<Vec<Row>>> + Send + 'static

Source

fn is_empty_async(&self) -> impl Future<Output = Result<bool>> + Send + 'static

Source

fn exists_async(&self) -> impl Future<Output = Result<bool>> + Send + 'static

Source

fn scalar_async( &self, ) -> impl Future<Output = Result<Option<Value>>> + Send + 'static

Source

fn schema_async( &self, ) -> impl Future<Output = Result<DataType>> + Send + 'static

Source

fn columns_async( &self, ) -> impl Future<Output = Result<Vec<String>>> + Send + 'static

Source

fn dtypes_async( &self, ) -> impl Future<Output = Result<Vec<(String, String)>>> + Send + 'static

Source

fn print_schema_async( &self, ) -> impl Future<Output = Result<()>> + Send + 'static

Source

fn explain_async(&self) -> impl Future<Output = Result<()>> + Send + 'static

Source

fn explain_mode_async( &self, mode: &str, ) -> impl Future<Output = Result<()>> + Send + 'static

Source

fn input_files_async( &self, ) -> impl Future<Output = Result<Vec<String>>> + Send + 'static

Source

fn is_cached_async(&self) -> impl Future<Output = Result<bool>> + Send + 'static

Source

fn cache_async( &self, ) -> impl Future<Output = Result<DataFrame>> + Send + 'static

Source

fn persist_async( &self, storage_level: StorageLevel, ) -> impl Future<Output = Result<DataFrame>> + Send + 'static

Source

fn unpersist_async( &self, blocking: bool, ) -> impl Future<Output = Result<DataFrame>> + Send + 'static

Source

fn storage_level_async( &self, ) -> impl Future<Output = Result<StorageLevel>> + Send + 'static

Source

fn checkpoint_async( &self, ) -> impl Future<Output = Result<DataFrame>> + Send + 'static

Source

fn local_checkpoint_async( &self, ) -> impl Future<Output = Result<DataFrame>> + Send + 'static

Source

fn semantic_hash_async( &self, ) -> impl Future<Output = Result<i32>> + Send + 'static

Source

fn same_semantics_async( &self, other: &DataFrame, ) -> impl Future<Output = Result<bool>> + Send + 'static

Source

fn create_temp_view_async( &self, name: &str, ) -> impl Future<Output = Result<()>> + Send + 'static

Source

fn create_or_replace_temp_view_async( &self, name: &str, ) -> impl Future<Output = Result<()>> + Send + 'static

Source

fn create_global_temp_view_async( &self, name: &str, ) -> impl Future<Output = Result<()>> + Send + 'static

Source

fn create_or_replace_global_temp_view_async( &self, name: &str, ) -> impl Future<Output = Result<()>> + Send + 'static

Source

fn register_temp_table_async( &self, name: &str, ) -> impl Future<Output = Result<()>> + Send + 'static

Source

fn to_arrow_async( &self, ) -> impl Future<Output = Result<Vec<u8>>> + Send + 'static

Source

fn to_json_async( &self, ) -> impl Future<Output = Result<Vec<String>>> + Send + 'static

Source

fn foreach_async( &self, func: CommonInlineUserDefinedFunctionExpression, ) -> impl Future<Output = Result<()>> + Send + 'static

Source

fn foreach_partition_async( &self, func: CommonInlineUserDefinedFunctionExpression, ) -> impl Future<Output = Result<()>> + Send + 'static

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§