Struct catalog::error::InvalidTableInfoInCatalogSnafu
source · pub struct InvalidTableInfoInCatalogSnafu;
Expand description
SNAFU context selector for the Error::InvalidTableInfoInCatalog
variant
Trait Implementations§
source§impl Clone for InvalidTableInfoInCatalogSnafu
impl Clone for InvalidTableInfoInCatalogSnafu
source§fn clone(&self) -> InvalidTableInfoInCatalogSnafu
fn clone(&self) -> InvalidTableInfoInCatalogSnafu
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl IntoError<Error> for InvalidTableInfoInCatalogSnafu
impl IntoError<Error> for InvalidTableInfoInCatalogSnafu
impl Copy for InvalidTableInfoInCatalogSnafu
Auto Trait Implementations§
impl RefUnwindSafe for InvalidTableInfoInCatalogSnafu
impl Send for InvalidTableInfoInCatalogSnafu
impl Sync for InvalidTableInfoInCatalogSnafu
impl Unpin for InvalidTableInfoInCatalogSnafu
impl UnwindSafe for InvalidTableInfoInCatalogSnafu
Blanket Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for InvalidTableInfoInCatalogSnafu
impl Send for InvalidTableInfoInCatalogSnafu
impl Sync for InvalidTableInfoInCatalogSnafu
impl Unpin for InvalidTableInfoInCatalogSnafu
impl UnwindSafe for InvalidTableInfoInCatalogSnafu
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<T> CompatExt for T
impl<T> CompatExt for T
§impl<T> Conv for T
impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/error/struct.SystemCatalogTypeMismatchSnafu.html b/catalog/error/struct.SystemCatalogTypeMismatchSnafu.html
index ab507d4208bd..ff3d07ae56b2 100644
--- a/catalog/error/struct.SystemCatalogTypeMismatchSnafu.html
+++ b/catalog/error/struct.SystemCatalogTypeMismatchSnafu.html
@@ -3,12 +3,12 @@
pub data_type: __T0,
}Expand description
SNAFU context selector for the Error::SystemCatalogTypeMismatch
variant
Fields§
§data_type: __T0
Implementations§
source§impl<__T0> SystemCatalogTypeMismatchSnafu<__T0>
Trait Implementations§
source§impl<__T0: Clone> Clone for SystemCatalogTypeMismatchSnafu<__T0>
source§fn clone(&self) -> SystemCatalogTypeMismatchSnafu<__T0>
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl<__T0: Debug> Debug for SystemCatalogTypeMismatchSnafu<__T0>
source§impl<__T0> IntoError<Error> for SystemCatalogTypeMismatchSnafu<__T0>
source§impl<__T0: Copy> Copy for SystemCatalogTypeMismatchSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for SystemCatalogTypeMismatchSnafu<__T0>where
+ __T0: Into<ConcreteDataType>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for SystemCatalogTypeMismatchSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for SystemCatalogTypeMismatchSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for SystemCatalogTypeMismatchSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for SystemCatalogTypeMismatchSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for SystemCatalogTypeMismatchSnafu<__T0>where
diff --git a/catalog/information_schema/columns/struct.InformationSchemaColumns.html b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
index 79d1df799341..6e6ef2928fa3 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumns.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
@@ -1,12 +1,12 @@
InformationSchemaColumns in catalog::information_schema::columns - Rust
pub(super) struct InformationSchemaColumns {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaColumns
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaColumns
§impl Send for InformationSchemaColumns
§impl Sync for InformationSchemaColumns
§impl Unpin for InformationSchemaColumns
§impl !UnwindSafe for InformationSchemaColumns
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaColumns
§impl Send for InformationSchemaColumns
§impl Sync for InformationSchemaColumns
§impl Unpin for InformationSchemaColumns
§impl !UnwindSafe for InformationSchemaColumns
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html b/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html
index 5d588c7cb3fb..2a04b89cc025 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html
@@ -1,20 +1,20 @@
InformationSchemaColumnsBuilder in catalog::information_schema::columns - Rust
struct InformationSchemaColumnsBuilder {Show 13 fields
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- column_names: StringVectorBuilder,
- data_types: StringVectorBuilder,
- semantic_types: StringVectorBuilder,
- column_defaults: StringVectorBuilder,
- is_nullables: StringVectorBuilder,
- column_types: StringVectorBuilder,
- column_comments: StringVectorBuilder,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§column_names: StringVectorBuilder
§data_types: StringVectorBuilder
§semantic_types: StringVectorBuilder
§column_defaults: StringVectorBuilder
§is_nullables: StringVectorBuilder
§column_types: StringVectorBuilder
§column_comments: StringVectorBuilder
Implementations§
source§impl InformationSchemaColumnsBuilder
sourcefn new(
- schema: SchemaRef,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ column_names: StringVectorBuilder,
+ data_types: StringVectorBuilder,
+ semantic_types: StringVectorBuilder,
+ column_defaults: StringVectorBuilder,
+ is_nullables: StringVectorBuilder,
+ column_types: StringVectorBuilder,
+ column_comments: StringVectorBuilder,
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§column_names: StringVectorBuilder
§data_types: StringVectorBuilder
§semantic_types: StringVectorBuilder
§column_defaults: StringVectorBuilder
§is_nullables: StringVectorBuilder
§column_types: StringVectorBuilder
§column_comments: StringVectorBuilder
Implementations§
source§impl InformationSchemaColumnsBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_columns(&mut self) -> Result<RecordBatch>
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaColumnsBuilder
§impl Send for InformationSchemaColumnsBuilder
§impl Sync for InformationSchemaColumnsBuilder
§impl Unpin for InformationSchemaColumnsBuilder
§impl !UnwindSafe for InformationSchemaColumnsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
index 883b1fdf5162..ffee13724252 100644
--- a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
+++ b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
@@ -1,13 +1,13 @@
InformationSchemaKeyColumnUsage in catalog::information_schema::key_column_usage - Rust
pub(super) struct InformationSchemaKeyColumnUsage {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The virtual table implementation for information_schema.KEY_COLUMN_USAGE
.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaKeyColumnUsage
§impl Send for InformationSchemaKeyColumnUsage
§impl Sync for InformationSchemaKeyColumnUsage
§impl Unpin for InformationSchemaKeyColumnUsage
§impl !UnwindSafe for InformationSchemaKeyColumnUsage
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaKeyColumnUsage
§impl Send for InformationSchemaKeyColumnUsage
§impl Sync for InformationSchemaKeyColumnUsage
§impl Unpin for InformationSchemaKeyColumnUsage
§impl !UnwindSafe for InformationSchemaKeyColumnUsage
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
index 43b94c4c5ab0..849c8f6c325f 100644
--- a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
+++ b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
@@ -1,24 +1,24 @@
InformationSchemaKeyColumnUsageBuilder in catalog::information_schema::key_column_usage - Rust
Struct catalog::information_schema::key_column_usage::InformationSchemaKeyColumnUsageBuilder
source · struct InformationSchemaKeyColumnUsageBuilder {Show 15 fields
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- constraint_catalog: StringVectorBuilder,
- constraint_schema: StringVectorBuilder,
- constraint_name: StringVectorBuilder,
- table_catalog: StringVectorBuilder,
- table_schema: StringVectorBuilder,
- table_name: StringVectorBuilder,
- column_name: StringVectorBuilder,
- ordinal_position: UInt32VectorBuilder,
- position_in_unique_constraint: UInt32VectorBuilder,
- referenced_table_schema: StringVectorBuilder,
- referenced_table_name: StringVectorBuilder,
- referenced_column_name: StringVectorBuilder,
+ constraint_catalog: StringVectorBuilder,
+ constraint_schema: StringVectorBuilder,
+ constraint_name: StringVectorBuilder,
+ table_catalog: StringVectorBuilder,
+ table_schema: StringVectorBuilder,
+ table_name: StringVectorBuilder,
+ column_name: StringVectorBuilder,
+ ordinal_position: UInt32VectorBuilder,
+ position_in_unique_constraint: UInt32VectorBuilder,
+ referenced_table_schema: StringVectorBuilder,
+ referenced_table_name: StringVectorBuilder,
+ referenced_column_name: StringVectorBuilder,
}
Expand description
Builds the information_schema.KEY_COLUMN_USAGE
table row by row
Columns are based on https://dev.mysql.com/doc/refman/8.2/en/information-schema-key-column-usage-table.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
source§impl InformationSchemaKeyColumnUsageBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_key_column_usage(&mut self) -> Result<RecordBatch>
Construct the information_schema.KEY_COLUMN_USAGE
virtual table
diff --git a/catalog/information_schema/memory_table/struct.MemoryTable.html b/catalog/information_schema/memory_table/struct.MemoryTable.html
index d15c6dd61c11..bd231feefa65 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTable.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTable.html
@@ -1,17 +1,17 @@
MemoryTable in catalog::information_schema::memory_table - Rust
Struct catalog::information_schema::memory_table::MemoryTable
source · pub(super) struct MemoryTable {
- table_id: TableId,
+ table_id: TableId,
table_name: &'static str,
- schema: SchemaRef,
- columns: Vec<VectorRef>,
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
}
Expand description
A memory table with specified schema and columns.
-Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTable
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
index f23d4d962cbf..49efc1720505 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
@@ -1,8 +1,8 @@
MemoryTableBuilder in catalog::information_schema::memory_table - Rust
struct MemoryTableBuilder {
- schema: SchemaRef,
- columns: Vec<VectorRef>,
-}
Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTableBuilder
sourcefn new(schema: SchemaRef, columns: Vec<VectorRef>) -> Self
sourceasync fn memory_records(&mut self) -> Result<RecordBatch>
Construct the information_schema.{table_name}
virtual table
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
+}Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTableBuilder
§impl Send for MemoryTableBuilder
§impl Sync for MemoryTableBuilder
§impl Unpin for MemoryTableBuilder
§impl !UnwindSafe for MemoryTableBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/memory_table/tables/fn.bigint_column.html b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
index f218f0679910..39472a3957cd 100644
--- a/catalog/information_schema/memory_table/tables/fn.bigint_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
@@ -1,2 +1,2 @@
bigint_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.datetime_column.html b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
index 81aaa5b49073..10bf2cab1e77 100644
--- a/catalog/information_schema/memory_table/tables/fn.datetime_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
@@ -1,2 +1,2 @@
datetime_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
index 114ebee3f8fc..68fcf0f86951 100644
--- a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
@@ -1,4 +1,4 @@
get_schema_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
+ Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
Safety: the user MUST ensure the table schema exists, panic otherwise.
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_column.html b/catalog/information_schema/memory_table/tables/fn.string_column.html
index b512db928126..1576d18ed19e 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_column.html
@@ -1,2 +1,2 @@
string_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_columns.html b/catalog/information_schema/memory_table/tables/fn.string_columns.html
index c2a59e81331b..51a519dbc942 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_columns.html
@@ -1,2 +1,2 @@
string_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
index f8f0f4ac7399..6c21060227fb 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
@@ -1,13 +1,13 @@
InformationSchemaSchemata in catalog::information_schema::schemata - Rust
pub(super) struct InformationSchemaSchemata {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The information_schema.schemata
table implementation.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
index 89f4d3e51005..a691ab280e0e 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
@@ -1,17 +1,17 @@
InformationSchemaSchemataBuilder in catalog::information_schema::schemata - Rust
struct InformationSchemaSchemataBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- charset_names: StringVectorBuilder,
- collation_names: StringVectorBuilder,
- sql_paths: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ charset_names: StringVectorBuilder,
+ collation_names: StringVectorBuilder,
+ sql_paths: StringVectorBuilder,
}
Expand description
Builds the information_schema.schemata
table row by row
Columns are based on https://docs.pingcap.com/tidb/stable/information-schema-schemata
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
source§impl InformationSchemaSchemataBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_schemata(&mut self) -> Result<RecordBatch>
Construct the information_schema.schemata
virtual table
diff --git a/catalog/information_schema/struct.InformationTableDataSource.html b/catalog/information_schema/struct.InformationTableDataSource.html
index 06b580ea15cd..e3099a1f0612 100644
--- a/catalog/information_schema/struct.InformationTableDataSource.html
+++ b/catalog/information_schema/struct.InformationTableDataSource.html
@@ -1,9 +1,9 @@
InformationTableDataSource in catalog::information_schema - Rust
struct InformationTableDataSource {
table: Arc<dyn InformationTable + Send + Sync>,
-}
Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
+}Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
&self,
- request: ScanRequest
+ request: ScanRequest
) -> Result<SendableRecordBatchStream, BoxedError>
Retrieves a stream of record batches based on the provided scan request.Auto Trait Implementations§
§impl !RefUnwindSafe for InformationTableDataSource
§impl Send for InformationTableDataSource
§impl Sync for InformationTableDataSource
§impl Unpin for InformationTableDataSource
§impl !UnwindSafe for InformationTableDataSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index d69aeda4f68e..4efc57d73bc2 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -1,12 +1,12 @@
InformationSchemaTables in catalog::information_schema::tables - Rust
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
fn conv<T>(self) -> Twhere
diff --git a/catalog/error/struct.SystemCatalogTypeMismatchSnafu.html b/catalog/error/struct.SystemCatalogTypeMismatchSnafu.html
index ab507d4208bd..ff3d07ae56b2 100644
--- a/catalog/error/struct.SystemCatalogTypeMismatchSnafu.html
+++ b/catalog/error/struct.SystemCatalogTypeMismatchSnafu.html
@@ -3,12 +3,12 @@
pub data_type: __T0,
}Expand description
SNAFU context selector for the Error::SystemCatalogTypeMismatch
variant
Fields§
§data_type: __T0
Implementations§
source§impl<__T0> SystemCatalogTypeMismatchSnafu<__T0>
Trait Implementations§
source§impl<__T0: Clone> Clone for SystemCatalogTypeMismatchSnafu<__T0>
source§fn clone(&self) -> SystemCatalogTypeMismatchSnafu<__T0>
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl<__T0: Debug> Debug for SystemCatalogTypeMismatchSnafu<__T0>
source§impl<__T0> IntoError<Error> for SystemCatalogTypeMismatchSnafu<__T0>
source§impl<__T0: Copy> Copy for SystemCatalogTypeMismatchSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for SystemCatalogTypeMismatchSnafu<__T0>where
+ __T0: Into<ConcreteDataType>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for SystemCatalogTypeMismatchSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for SystemCatalogTypeMismatchSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for SystemCatalogTypeMismatchSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for SystemCatalogTypeMismatchSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for SystemCatalogTypeMismatchSnafu<__T0>where
diff --git a/catalog/information_schema/columns/struct.InformationSchemaColumns.html b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
index 79d1df799341..6e6ef2928fa3 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumns.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
@@ -1,12 +1,12 @@
InformationSchemaColumns in catalog::information_schema::columns - Rust
pub(super) struct InformationSchemaColumns {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaColumns
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaColumns
§impl Send for InformationSchemaColumns
§impl Sync for InformationSchemaColumns
§impl Unpin for InformationSchemaColumns
§impl !UnwindSafe for InformationSchemaColumns
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaColumns
§impl Send for InformationSchemaColumns
§impl Sync for InformationSchemaColumns
§impl Unpin for InformationSchemaColumns
§impl !UnwindSafe for InformationSchemaColumns
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html b/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html
index 5d588c7cb3fb..2a04b89cc025 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html
@@ -1,20 +1,20 @@
InformationSchemaColumnsBuilder in catalog::information_schema::columns - Rust
struct InformationSchemaColumnsBuilder {Show 13 fields
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- column_names: StringVectorBuilder,
- data_types: StringVectorBuilder,
- semantic_types: StringVectorBuilder,
- column_defaults: StringVectorBuilder,
- is_nullables: StringVectorBuilder,
- column_types: StringVectorBuilder,
- column_comments: StringVectorBuilder,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§column_names: StringVectorBuilder
§data_types: StringVectorBuilder
§semantic_types: StringVectorBuilder
§column_defaults: StringVectorBuilder
§is_nullables: StringVectorBuilder
§column_types: StringVectorBuilder
§column_comments: StringVectorBuilder
Implementations§
source§impl InformationSchemaColumnsBuilder
sourcefn new(
- schema: SchemaRef,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ column_names: StringVectorBuilder,
+ data_types: StringVectorBuilder,
+ semantic_types: StringVectorBuilder,
+ column_defaults: StringVectorBuilder,
+ is_nullables: StringVectorBuilder,
+ column_types: StringVectorBuilder,
+ column_comments: StringVectorBuilder,
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§column_names: StringVectorBuilder
§data_types: StringVectorBuilder
§semantic_types: StringVectorBuilder
§column_defaults: StringVectorBuilder
§is_nullables: StringVectorBuilder
§column_types: StringVectorBuilder
§column_comments: StringVectorBuilder
Implementations§
source§impl InformationSchemaColumnsBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_columns(&mut self) -> Result<RecordBatch>
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaColumnsBuilder
§impl Send for InformationSchemaColumnsBuilder
§impl Sync for InformationSchemaColumnsBuilder
§impl Unpin for InformationSchemaColumnsBuilder
§impl !UnwindSafe for InformationSchemaColumnsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
index 883b1fdf5162..ffee13724252 100644
--- a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
+++ b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
@@ -1,13 +1,13 @@
InformationSchemaKeyColumnUsage in catalog::information_schema::key_column_usage - Rust
pub(super) struct InformationSchemaKeyColumnUsage {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The virtual table implementation for information_schema.KEY_COLUMN_USAGE
.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaKeyColumnUsage
§impl Send for InformationSchemaKeyColumnUsage
§impl Sync for InformationSchemaKeyColumnUsage
§impl Unpin for InformationSchemaKeyColumnUsage
§impl !UnwindSafe for InformationSchemaKeyColumnUsage
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaKeyColumnUsage
§impl Send for InformationSchemaKeyColumnUsage
§impl Sync for InformationSchemaKeyColumnUsage
§impl Unpin for InformationSchemaKeyColumnUsage
§impl !UnwindSafe for InformationSchemaKeyColumnUsage
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
index 43b94c4c5ab0..849c8f6c325f 100644
--- a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
+++ b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
@@ -1,24 +1,24 @@
InformationSchemaKeyColumnUsageBuilder in catalog::information_schema::key_column_usage - Rust
Struct catalog::information_schema::key_column_usage::InformationSchemaKeyColumnUsageBuilder
source · struct InformationSchemaKeyColumnUsageBuilder {Show 15 fields
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- constraint_catalog: StringVectorBuilder,
- constraint_schema: StringVectorBuilder,
- constraint_name: StringVectorBuilder,
- table_catalog: StringVectorBuilder,
- table_schema: StringVectorBuilder,
- table_name: StringVectorBuilder,
- column_name: StringVectorBuilder,
- ordinal_position: UInt32VectorBuilder,
- position_in_unique_constraint: UInt32VectorBuilder,
- referenced_table_schema: StringVectorBuilder,
- referenced_table_name: StringVectorBuilder,
- referenced_column_name: StringVectorBuilder,
+ constraint_catalog: StringVectorBuilder,
+ constraint_schema: StringVectorBuilder,
+ constraint_name: StringVectorBuilder,
+ table_catalog: StringVectorBuilder,
+ table_schema: StringVectorBuilder,
+ table_name: StringVectorBuilder,
+ column_name: StringVectorBuilder,
+ ordinal_position: UInt32VectorBuilder,
+ position_in_unique_constraint: UInt32VectorBuilder,
+ referenced_table_schema: StringVectorBuilder,
+ referenced_table_name: StringVectorBuilder,
+ referenced_column_name: StringVectorBuilder,
}
Expand description
Builds the information_schema.KEY_COLUMN_USAGE
table row by row
Columns are based on https://dev.mysql.com/doc/refman/8.2/en/information-schema-key-column-usage-table.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
source§impl InformationSchemaKeyColumnUsageBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_key_column_usage(&mut self) -> Result<RecordBatch>
Construct the information_schema.KEY_COLUMN_USAGE
virtual table
diff --git a/catalog/information_schema/memory_table/struct.MemoryTable.html b/catalog/information_schema/memory_table/struct.MemoryTable.html
index d15c6dd61c11..bd231feefa65 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTable.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTable.html
@@ -1,17 +1,17 @@
MemoryTable in catalog::information_schema::memory_table - Rust
Struct catalog::information_schema::memory_table::MemoryTable
source · pub(super) struct MemoryTable {
- table_id: TableId,
+ table_id: TableId,
table_name: &'static str,
- schema: SchemaRef,
- columns: Vec<VectorRef>,
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
}
Expand description
A memory table with specified schema and columns.
-Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTable
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
index f23d4d962cbf..49efc1720505 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
@@ -1,8 +1,8 @@
MemoryTableBuilder in catalog::information_schema::memory_table - Rust
struct MemoryTableBuilder {
- schema: SchemaRef,
- columns: Vec<VectorRef>,
-}
Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTableBuilder
sourcefn new(schema: SchemaRef, columns: Vec<VectorRef>) -> Self
sourceasync fn memory_records(&mut self) -> Result<RecordBatch>
Construct the information_schema.{table_name}
virtual table
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
+}Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTableBuilder
§impl Send for MemoryTableBuilder
§impl Sync for MemoryTableBuilder
§impl Unpin for MemoryTableBuilder
§impl !UnwindSafe for MemoryTableBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/memory_table/tables/fn.bigint_column.html b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
index f218f0679910..39472a3957cd 100644
--- a/catalog/information_schema/memory_table/tables/fn.bigint_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
@@ -1,2 +1,2 @@
bigint_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.datetime_column.html b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
index 81aaa5b49073..10bf2cab1e77 100644
--- a/catalog/information_schema/memory_table/tables/fn.datetime_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
@@ -1,2 +1,2 @@
datetime_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
index 114ebee3f8fc..68fcf0f86951 100644
--- a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
@@ -1,4 +1,4 @@
get_schema_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
+ Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
Safety: the user MUST ensure the table schema exists, panic otherwise.
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_column.html b/catalog/information_schema/memory_table/tables/fn.string_column.html
index b512db928126..1576d18ed19e 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_column.html
@@ -1,2 +1,2 @@
string_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_columns.html b/catalog/information_schema/memory_table/tables/fn.string_columns.html
index c2a59e81331b..51a519dbc942 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_columns.html
@@ -1,2 +1,2 @@
string_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
index f8f0f4ac7399..6c21060227fb 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
@@ -1,13 +1,13 @@
InformationSchemaSchemata in catalog::information_schema::schemata - Rust
pub(super) struct InformationSchemaSchemata {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The information_schema.schemata
table implementation.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
index 89f4d3e51005..a691ab280e0e 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
@@ -1,17 +1,17 @@
InformationSchemaSchemataBuilder in catalog::information_schema::schemata - Rust
struct InformationSchemaSchemataBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- charset_names: StringVectorBuilder,
- collation_names: StringVectorBuilder,
- sql_paths: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ charset_names: StringVectorBuilder,
+ collation_names: StringVectorBuilder,
+ sql_paths: StringVectorBuilder,
}
Expand description
Builds the information_schema.schemata
table row by row
Columns are based on https://docs.pingcap.com/tidb/stable/information-schema-schemata
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
source§impl InformationSchemaSchemataBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_schemata(&mut self) -> Result<RecordBatch>
Construct the information_schema.schemata
virtual table
diff --git a/catalog/information_schema/struct.InformationTableDataSource.html b/catalog/information_schema/struct.InformationTableDataSource.html
index 06b580ea15cd..e3099a1f0612 100644
--- a/catalog/information_schema/struct.InformationTableDataSource.html
+++ b/catalog/information_schema/struct.InformationTableDataSource.html
@@ -1,9 +1,9 @@
InformationTableDataSource in catalog::information_schema - Rust
struct InformationTableDataSource {
table: Arc<dyn InformationTable + Send + Sync>,
-}
Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
+}Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
&self,
- request: ScanRequest
+ request: ScanRequest
) -> Result<SendableRecordBatchStream, BoxedError>
Retrieves a stream of record batches based on the provided scan request.Auto Trait Implementations§
§impl !RefUnwindSafe for InformationTableDataSource
§impl Send for InformationTableDataSource
§impl Sync for InformationTableDataSource
§impl Unpin for InformationTableDataSource
§impl !UnwindSafe for InformationTableDataSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index d69aeda4f68e..4efc57d73bc2 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -1,12 +1,12 @@
InformationSchemaTables in catalog::information_schema::tables - Rust
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
Expand description
SNAFU context selector for the Error::SystemCatalogTypeMismatch
variant
Fields§
§data_type: __T0
Implementations§
source§impl<__T0> SystemCatalogTypeMismatchSnafu<__T0>
impl<__T0> SystemCatalogTypeMismatchSnafu<__T0>
Trait Implementations§
source§impl<__T0: Clone> Clone for SystemCatalogTypeMismatchSnafu<__T0>
impl<__T0: Clone> Clone for SystemCatalogTypeMismatchSnafu<__T0>
source§fn clone(&self) -> SystemCatalogTypeMismatchSnafu<__T0>
fn clone(&self) -> SystemCatalogTypeMismatchSnafu<__T0>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<__T0: Debug> Debug for SystemCatalogTypeMismatchSnafu<__T0>
impl<__T0: Debug> Debug for SystemCatalogTypeMismatchSnafu<__T0>
source§impl<__T0> IntoError<Error> for SystemCatalogTypeMismatchSnafu<__T0>
impl<__T0> IntoError<Error> for SystemCatalogTypeMismatchSnafu<__T0>
impl<__T0: Copy> Copy for SystemCatalogTypeMismatchSnafu<__T0>
Auto Trait Implementations§
impl<__T0> RefUnwindSafe for SystemCatalogTypeMismatchSnafu<__T0>where
+ __T0: Into<ConcreteDataType>,
source§fn into_error(self, error: Self::Source) -> Error
fn into_error(self, error: Self::Source) -> Error
impl<__T0: Copy> Copy for SystemCatalogTypeMismatchSnafu<__T0>
Auto Trait Implementations§
impl<__T0> RefUnwindSafe for SystemCatalogTypeMismatchSnafu<__T0>where
__T0: RefUnwindSafe,
impl<__T0> Send for SystemCatalogTypeMismatchSnafu<__T0>where
__T0: Send,
impl<__T0> Sync for SystemCatalogTypeMismatchSnafu<__T0>where
__T0: Sync,
impl<__T0> Unpin for SystemCatalogTypeMismatchSnafu<__T0>where
diff --git a/catalog/information_schema/columns/struct.InformationSchemaColumns.html b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
index 79d1df799341..6e6ef2928fa3 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumns.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
@@ -1,12 +1,12 @@
InformationSchemaColumns in catalog::information_schema::columns - Rust
pub(super) struct InformationSchemaColumns {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaColumns
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaColumns
§impl Send for InformationSchemaColumns
§impl Sync for InformationSchemaColumns
§impl Unpin for InformationSchemaColumns
§impl !UnwindSafe for InformationSchemaColumns
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaColumns
§impl Send for InformationSchemaColumns
§impl Sync for InformationSchemaColumns
§impl Unpin for InformationSchemaColumns
§impl !UnwindSafe for InformationSchemaColumns
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html b/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html
index 5d588c7cb3fb..2a04b89cc025 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html
@@ -1,20 +1,20 @@
InformationSchemaColumnsBuilder in catalog::information_schema::columns - Rust
struct InformationSchemaColumnsBuilder {Show 13 fields
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- column_names: StringVectorBuilder,
- data_types: StringVectorBuilder,
- semantic_types: StringVectorBuilder,
- column_defaults: StringVectorBuilder,
- is_nullables: StringVectorBuilder,
- column_types: StringVectorBuilder,
- column_comments: StringVectorBuilder,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§column_names: StringVectorBuilder
§data_types: StringVectorBuilder
§semantic_types: StringVectorBuilder
§column_defaults: StringVectorBuilder
§is_nullables: StringVectorBuilder
§column_types: StringVectorBuilder
§column_comments: StringVectorBuilder
Implementations§
source§impl InformationSchemaColumnsBuilder
sourcefn new(
- schema: SchemaRef,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ column_names: StringVectorBuilder,
+ data_types: StringVectorBuilder,
+ semantic_types: StringVectorBuilder,
+ column_defaults: StringVectorBuilder,
+ is_nullables: StringVectorBuilder,
+ column_types: StringVectorBuilder,
+ column_comments: StringVectorBuilder,
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§column_names: StringVectorBuilder
§data_types: StringVectorBuilder
§semantic_types: StringVectorBuilder
§column_defaults: StringVectorBuilder
§is_nullables: StringVectorBuilder
§column_types: StringVectorBuilder
§column_comments: StringVectorBuilder
Implementations§
source§impl InformationSchemaColumnsBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_columns(&mut self) -> Result<RecordBatch>
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaColumnsBuilder
§impl Send for InformationSchemaColumnsBuilder
§impl Sync for InformationSchemaColumnsBuilder
§impl Unpin for InformationSchemaColumnsBuilder
§impl !UnwindSafe for InformationSchemaColumnsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
index 883b1fdf5162..ffee13724252 100644
--- a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
+++ b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
@@ -1,13 +1,13 @@
InformationSchemaKeyColumnUsage in catalog::information_schema::key_column_usage - Rust
pub(super) struct InformationSchemaKeyColumnUsage {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The virtual table implementation for information_schema.KEY_COLUMN_USAGE
.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaKeyColumnUsage
§impl Send for InformationSchemaKeyColumnUsage
§impl Sync for InformationSchemaKeyColumnUsage
§impl Unpin for InformationSchemaKeyColumnUsage
§impl !UnwindSafe for InformationSchemaKeyColumnUsage
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaKeyColumnUsage
§impl Send for InformationSchemaKeyColumnUsage
§impl Sync for InformationSchemaKeyColumnUsage
§impl Unpin for InformationSchemaKeyColumnUsage
§impl !UnwindSafe for InformationSchemaKeyColumnUsage
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
index 43b94c4c5ab0..849c8f6c325f 100644
--- a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
+++ b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
@@ -1,24 +1,24 @@
InformationSchemaKeyColumnUsageBuilder in catalog::information_schema::key_column_usage - Rust
Struct catalog::information_schema::key_column_usage::InformationSchemaKeyColumnUsageBuilder
source · struct InformationSchemaKeyColumnUsageBuilder {Show 15 fields
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- constraint_catalog: StringVectorBuilder,
- constraint_schema: StringVectorBuilder,
- constraint_name: StringVectorBuilder,
- table_catalog: StringVectorBuilder,
- table_schema: StringVectorBuilder,
- table_name: StringVectorBuilder,
- column_name: StringVectorBuilder,
- ordinal_position: UInt32VectorBuilder,
- position_in_unique_constraint: UInt32VectorBuilder,
- referenced_table_schema: StringVectorBuilder,
- referenced_table_name: StringVectorBuilder,
- referenced_column_name: StringVectorBuilder,
+ constraint_catalog: StringVectorBuilder,
+ constraint_schema: StringVectorBuilder,
+ constraint_name: StringVectorBuilder,
+ table_catalog: StringVectorBuilder,
+ table_schema: StringVectorBuilder,
+ table_name: StringVectorBuilder,
+ column_name: StringVectorBuilder,
+ ordinal_position: UInt32VectorBuilder,
+ position_in_unique_constraint: UInt32VectorBuilder,
+ referenced_table_schema: StringVectorBuilder,
+ referenced_table_name: StringVectorBuilder,
+ referenced_column_name: StringVectorBuilder,
}
Expand description
Builds the information_schema.KEY_COLUMN_USAGE
table row by row
Columns are based on https://dev.mysql.com/doc/refman/8.2/en/information-schema-key-column-usage-table.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
source§impl InformationSchemaKeyColumnUsageBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_key_column_usage(&mut self) -> Result<RecordBatch>
Construct the information_schema.KEY_COLUMN_USAGE
virtual table
diff --git a/catalog/information_schema/memory_table/struct.MemoryTable.html b/catalog/information_schema/memory_table/struct.MemoryTable.html
index d15c6dd61c11..bd231feefa65 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTable.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTable.html
@@ -1,17 +1,17 @@
MemoryTable in catalog::information_schema::memory_table - Rust
Struct catalog::information_schema::memory_table::MemoryTable
source · pub(super) struct MemoryTable {
- table_id: TableId,
+ table_id: TableId,
table_name: &'static str,
- schema: SchemaRef,
- columns: Vec<VectorRef>,
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
}
Expand description
A memory table with specified schema and columns.
-Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTable
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
index f23d4d962cbf..49efc1720505 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
@@ -1,8 +1,8 @@
MemoryTableBuilder in catalog::information_schema::memory_table - Rust
struct MemoryTableBuilder {
- schema: SchemaRef,
- columns: Vec<VectorRef>,
-}
Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTableBuilder
sourcefn new(schema: SchemaRef, columns: Vec<VectorRef>) -> Self
sourceasync fn memory_records(&mut self) -> Result<RecordBatch>
Construct the information_schema.{table_name}
virtual table
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
+}Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTableBuilder
§impl Send for MemoryTableBuilder
§impl Sync for MemoryTableBuilder
§impl Unpin for MemoryTableBuilder
§impl !UnwindSafe for MemoryTableBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/memory_table/tables/fn.bigint_column.html b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
index f218f0679910..39472a3957cd 100644
--- a/catalog/information_schema/memory_table/tables/fn.bigint_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
@@ -1,2 +1,2 @@
bigint_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.datetime_column.html b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
index 81aaa5b49073..10bf2cab1e77 100644
--- a/catalog/information_schema/memory_table/tables/fn.datetime_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
@@ -1,2 +1,2 @@
datetime_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
index 114ebee3f8fc..68fcf0f86951 100644
--- a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
@@ -1,4 +1,4 @@
get_schema_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
+ Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
Safety: the user MUST ensure the table schema exists, panic otherwise.
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_column.html b/catalog/information_schema/memory_table/tables/fn.string_column.html
index b512db928126..1576d18ed19e 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_column.html
@@ -1,2 +1,2 @@
string_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_columns.html b/catalog/information_schema/memory_table/tables/fn.string_columns.html
index c2a59e81331b..51a519dbc942 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_columns.html
@@ -1,2 +1,2 @@
string_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
index f8f0f4ac7399..6c21060227fb 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
@@ -1,13 +1,13 @@
InformationSchemaSchemata in catalog::information_schema::schemata - Rust
pub(super) struct InformationSchemaSchemata {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The information_schema.schemata
table implementation.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
index 89f4d3e51005..a691ab280e0e 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
@@ -1,17 +1,17 @@
InformationSchemaSchemataBuilder in catalog::information_schema::schemata - Rust
struct InformationSchemaSchemataBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- charset_names: StringVectorBuilder,
- collation_names: StringVectorBuilder,
- sql_paths: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ charset_names: StringVectorBuilder,
+ collation_names: StringVectorBuilder,
+ sql_paths: StringVectorBuilder,
}
Expand description
Builds the information_schema.schemata
table row by row
Columns are based on https://docs.pingcap.com/tidb/stable/information-schema-schemata
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
source§impl InformationSchemaSchemataBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_schemata(&mut self) -> Result<RecordBatch>
Construct the information_schema.schemata
virtual table
diff --git a/catalog/information_schema/struct.InformationTableDataSource.html b/catalog/information_schema/struct.InformationTableDataSource.html
index 06b580ea15cd..e3099a1f0612 100644
--- a/catalog/information_schema/struct.InformationTableDataSource.html
+++ b/catalog/information_schema/struct.InformationTableDataSource.html
@@ -1,9 +1,9 @@
InformationTableDataSource in catalog::information_schema - Rust
struct InformationTableDataSource {
table: Arc<dyn InformationTable + Send + Sync>,
-}
Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
+}Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
&self,
- request: ScanRequest
+ request: ScanRequest
) -> Result<SendableRecordBatchStream, BoxedError>
Retrieves a stream of record batches based on the provided scan request.Auto Trait Implementations§
§impl !RefUnwindSafe for InformationTableDataSource
§impl Send for InformationTableDataSource
§impl Sync for InformationTableDataSource
§impl Unpin for InformationTableDataSource
§impl !UnwindSafe for InformationTableDataSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index d69aeda4f68e..4efc57d73bc2 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -1,12 +1,12 @@
InformationSchemaTables in catalog::information_schema::tables - Rust
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
pub(super) struct InformationSchemaColumns {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaColumns
impl InformationSchemaColumns
pub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaColumns
§impl Send for InformationSchemaColumns
§impl Sync for InformationSchemaColumns
§impl Unpin for InformationSchemaColumns
§impl !UnwindSafe for InformationSchemaColumns
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaColumns
§impl Send for InformationSchemaColumns
§impl Sync for InformationSchemaColumns
§impl Unpin for InformationSchemaColumns
§impl !UnwindSafe for InformationSchemaColumns
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html b/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html
index 5d588c7cb3fb..2a04b89cc025 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html
@@ -1,20 +1,20 @@
InformationSchemaColumnsBuilder in catalog::information_schema::columns - Rust
struct InformationSchemaColumnsBuilder {Show 13 fields
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- column_names: StringVectorBuilder,
- data_types: StringVectorBuilder,
- semantic_types: StringVectorBuilder,
- column_defaults: StringVectorBuilder,
- is_nullables: StringVectorBuilder,
- column_types: StringVectorBuilder,
- column_comments: StringVectorBuilder,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§column_names: StringVectorBuilder
§data_types: StringVectorBuilder
§semantic_types: StringVectorBuilder
§column_defaults: StringVectorBuilder
§is_nullables: StringVectorBuilder
§column_types: StringVectorBuilder
§column_comments: StringVectorBuilder
Implementations§
source§impl InformationSchemaColumnsBuilder
sourcefn new(
- schema: SchemaRef,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ column_names: StringVectorBuilder,
+ data_types: StringVectorBuilder,
+ semantic_types: StringVectorBuilder,
+ column_defaults: StringVectorBuilder,
+ is_nullables: StringVectorBuilder,
+ column_types: StringVectorBuilder,
+ column_comments: StringVectorBuilder,
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§column_names: StringVectorBuilder
§data_types: StringVectorBuilder
§semantic_types: StringVectorBuilder
§column_defaults: StringVectorBuilder
§is_nullables: StringVectorBuilder
§column_types: StringVectorBuilder
§column_comments: StringVectorBuilder
Implementations§
source§impl InformationSchemaColumnsBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_columns(&mut self) -> Result<RecordBatch>
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaColumnsBuilder
§impl Send for InformationSchemaColumnsBuilder
§impl Sync for InformationSchemaColumnsBuilder
§impl Unpin for InformationSchemaColumnsBuilder
§impl !UnwindSafe for InformationSchemaColumnsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
index 883b1fdf5162..ffee13724252 100644
--- a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
+++ b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
@@ -1,13 +1,13 @@
InformationSchemaKeyColumnUsage in catalog::information_schema::key_column_usage - Rust
pub(super) struct InformationSchemaKeyColumnUsage {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The virtual table implementation for information_schema.KEY_COLUMN_USAGE
.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaKeyColumnUsage
§impl Send for InformationSchemaKeyColumnUsage
§impl Sync for InformationSchemaKeyColumnUsage
§impl Unpin for InformationSchemaKeyColumnUsage
§impl !UnwindSafe for InformationSchemaKeyColumnUsage
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaKeyColumnUsage
§impl Send for InformationSchemaKeyColumnUsage
§impl Sync for InformationSchemaKeyColumnUsage
§impl Unpin for InformationSchemaKeyColumnUsage
§impl !UnwindSafe for InformationSchemaKeyColumnUsage
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
index 43b94c4c5ab0..849c8f6c325f 100644
--- a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
+++ b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
@@ -1,24 +1,24 @@
InformationSchemaKeyColumnUsageBuilder in catalog::information_schema::key_column_usage - Rust
Struct catalog::information_schema::key_column_usage::InformationSchemaKeyColumnUsageBuilder
source · struct InformationSchemaKeyColumnUsageBuilder {Show 15 fields
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- constraint_catalog: StringVectorBuilder,
- constraint_schema: StringVectorBuilder,
- constraint_name: StringVectorBuilder,
- table_catalog: StringVectorBuilder,
- table_schema: StringVectorBuilder,
- table_name: StringVectorBuilder,
- column_name: StringVectorBuilder,
- ordinal_position: UInt32VectorBuilder,
- position_in_unique_constraint: UInt32VectorBuilder,
- referenced_table_schema: StringVectorBuilder,
- referenced_table_name: StringVectorBuilder,
- referenced_column_name: StringVectorBuilder,
+ constraint_catalog: StringVectorBuilder,
+ constraint_schema: StringVectorBuilder,
+ constraint_name: StringVectorBuilder,
+ table_catalog: StringVectorBuilder,
+ table_schema: StringVectorBuilder,
+ table_name: StringVectorBuilder,
+ column_name: StringVectorBuilder,
+ ordinal_position: UInt32VectorBuilder,
+ position_in_unique_constraint: UInt32VectorBuilder,
+ referenced_table_schema: StringVectorBuilder,
+ referenced_table_name: StringVectorBuilder,
+ referenced_column_name: StringVectorBuilder,
}
Expand description
Builds the information_schema.KEY_COLUMN_USAGE
table row by row
Columns are based on https://dev.mysql.com/doc/refman/8.2/en/information-schema-key-column-usage-table.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
source§impl InformationSchemaKeyColumnUsageBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_key_column_usage(&mut self) -> Result<RecordBatch>
Construct the information_schema.KEY_COLUMN_USAGE
virtual table
diff --git a/catalog/information_schema/memory_table/struct.MemoryTable.html b/catalog/information_schema/memory_table/struct.MemoryTable.html
index d15c6dd61c11..bd231feefa65 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTable.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTable.html
@@ -1,17 +1,17 @@
MemoryTable in catalog::information_schema::memory_table - Rust
Struct catalog::information_schema::memory_table::MemoryTable
source · pub(super) struct MemoryTable {
- table_id: TableId,
+ table_id: TableId,
table_name: &'static str,
- schema: SchemaRef,
- columns: Vec<VectorRef>,
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
}
Expand description
A memory table with specified schema and columns.
-Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTable
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
index f23d4d962cbf..49efc1720505 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
@@ -1,8 +1,8 @@
MemoryTableBuilder in catalog::information_schema::memory_table - Rust
struct MemoryTableBuilder {
- schema: SchemaRef,
- columns: Vec<VectorRef>,
-}
Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTableBuilder
sourcefn new(schema: SchemaRef, columns: Vec<VectorRef>) -> Self
sourceasync fn memory_records(&mut self) -> Result<RecordBatch>
Construct the information_schema.{table_name}
virtual table
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
+}Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTableBuilder
§impl Send for MemoryTableBuilder
§impl Sync for MemoryTableBuilder
§impl Unpin for MemoryTableBuilder
§impl !UnwindSafe for MemoryTableBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/memory_table/tables/fn.bigint_column.html b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
index f218f0679910..39472a3957cd 100644
--- a/catalog/information_schema/memory_table/tables/fn.bigint_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
@@ -1,2 +1,2 @@
bigint_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.datetime_column.html b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
index 81aaa5b49073..10bf2cab1e77 100644
--- a/catalog/information_schema/memory_table/tables/fn.datetime_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
@@ -1,2 +1,2 @@
datetime_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
index 114ebee3f8fc..68fcf0f86951 100644
--- a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
@@ -1,4 +1,4 @@
get_schema_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
+ Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
Safety: the user MUST ensure the table schema exists, panic otherwise.
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_column.html b/catalog/information_schema/memory_table/tables/fn.string_column.html
index b512db928126..1576d18ed19e 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_column.html
@@ -1,2 +1,2 @@
string_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_columns.html b/catalog/information_schema/memory_table/tables/fn.string_columns.html
index c2a59e81331b..51a519dbc942 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_columns.html
@@ -1,2 +1,2 @@
string_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
index f8f0f4ac7399..6c21060227fb 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
@@ -1,13 +1,13 @@
InformationSchemaSchemata in catalog::information_schema::schemata - Rust
pub(super) struct InformationSchemaSchemata {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The information_schema.schemata
table implementation.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
index 89f4d3e51005..a691ab280e0e 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
@@ -1,17 +1,17 @@
InformationSchemaSchemataBuilder in catalog::information_schema::schemata - Rust
struct InformationSchemaSchemataBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- charset_names: StringVectorBuilder,
- collation_names: StringVectorBuilder,
- sql_paths: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ charset_names: StringVectorBuilder,
+ collation_names: StringVectorBuilder,
+ sql_paths: StringVectorBuilder,
}
Expand description
Builds the information_schema.schemata
table row by row
Columns are based on https://docs.pingcap.com/tidb/stable/information-schema-schemata
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
source§impl InformationSchemaSchemataBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_schemata(&mut self) -> Result<RecordBatch>
Construct the information_schema.schemata
virtual table
diff --git a/catalog/information_schema/struct.InformationTableDataSource.html b/catalog/information_schema/struct.InformationTableDataSource.html
index 06b580ea15cd..e3099a1f0612 100644
--- a/catalog/information_schema/struct.InformationTableDataSource.html
+++ b/catalog/information_schema/struct.InformationTableDataSource.html
@@ -1,9 +1,9 @@
InformationTableDataSource in catalog::information_schema - Rust
struct InformationTableDataSource {
table: Arc<dyn InformationTable + Send + Sync>,
-}
Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
+}Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
&self,
- request: ScanRequest
+ request: ScanRequest
) -> Result<SendableRecordBatchStream, BoxedError>
Retrieves a stream of record batches based on the provided scan request.Auto Trait Implementations§
§impl !RefUnwindSafe for InformationTableDataSource
§impl Send for InformationTableDataSource
§impl Sync for InformationTableDataSource
§impl Unpin for InformationTableDataSource
§impl !UnwindSafe for InformationTableDataSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index d69aeda4f68e..4efc57d73bc2 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -1,12 +1,12 @@
InformationSchemaTables in catalog::information_schema::tables - Rust
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
impl !RefUnwindSafe for InformationSchemaColumns
impl Send for InformationSchemaColumns
impl Sync for InformationSchemaColumns
impl Unpin for InformationSchemaColumns
impl !UnwindSafe for InformationSchemaColumns
impl !RefUnwindSafe for InformationSchemaColumns
impl Send for InformationSchemaColumns
impl Sync for InformationSchemaColumns
impl Unpin for InformationSchemaColumns
impl !UnwindSafe for InformationSchemaColumns
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<T> CompatExt for T
impl<T> CompatExt for T
§impl<T> Conv for T
impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html b/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html
index 5d588c7cb3fb..2a04b89cc025 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html
@@ -1,20 +1,20 @@
InformationSchemaColumnsBuilder in catalog::information_schema::columns - Rust
struct InformationSchemaColumnsBuilder {Show 13 fields
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- column_names: StringVectorBuilder,
- data_types: StringVectorBuilder,
- semantic_types: StringVectorBuilder,
- column_defaults: StringVectorBuilder,
- is_nullables: StringVectorBuilder,
- column_types: StringVectorBuilder,
- column_comments: StringVectorBuilder,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§column_names: StringVectorBuilder
§data_types: StringVectorBuilder
§semantic_types: StringVectorBuilder
§column_defaults: StringVectorBuilder
§is_nullables: StringVectorBuilder
§column_types: StringVectorBuilder
§column_comments: StringVectorBuilder
Implementations§
source§impl InformationSchemaColumnsBuilder
sourcefn new(
- schema: SchemaRef,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ column_names: StringVectorBuilder,
+ data_types: StringVectorBuilder,
+ semantic_types: StringVectorBuilder,
+ column_defaults: StringVectorBuilder,
+ is_nullables: StringVectorBuilder,
+ column_types: StringVectorBuilder,
+ column_comments: StringVectorBuilder,
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§column_names: StringVectorBuilder
§data_types: StringVectorBuilder
§semantic_types: StringVectorBuilder
§column_defaults: StringVectorBuilder
§is_nullables: StringVectorBuilder
§column_types: StringVectorBuilder
§column_comments: StringVectorBuilder
Implementations§
source§impl InformationSchemaColumnsBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_columns(&mut self) -> Result<RecordBatch>
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaColumnsBuilder
§impl Send for InformationSchemaColumnsBuilder
§impl Sync for InformationSchemaColumnsBuilder
§impl Unpin for InformationSchemaColumnsBuilder
§impl !UnwindSafe for InformationSchemaColumnsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
index 883b1fdf5162..ffee13724252 100644
--- a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
+++ b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
@@ -1,13 +1,13 @@
InformationSchemaKeyColumnUsage in catalog::information_schema::key_column_usage - Rust
pub(super) struct InformationSchemaKeyColumnUsage {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The virtual table implementation for information_schema.KEY_COLUMN_USAGE
.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaKeyColumnUsage
§impl Send for InformationSchemaKeyColumnUsage
§impl Sync for InformationSchemaKeyColumnUsage
§impl Unpin for InformationSchemaKeyColumnUsage
§impl !UnwindSafe for InformationSchemaKeyColumnUsage
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaKeyColumnUsage
§impl Send for InformationSchemaKeyColumnUsage
§impl Sync for InformationSchemaKeyColumnUsage
§impl Unpin for InformationSchemaKeyColumnUsage
§impl !UnwindSafe for InformationSchemaKeyColumnUsage
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
index 43b94c4c5ab0..849c8f6c325f 100644
--- a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
+++ b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
@@ -1,24 +1,24 @@
InformationSchemaKeyColumnUsageBuilder in catalog::information_schema::key_column_usage - Rust
Struct catalog::information_schema::key_column_usage::InformationSchemaKeyColumnUsageBuilder
source · struct InformationSchemaKeyColumnUsageBuilder {Show 15 fields
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- constraint_catalog: StringVectorBuilder,
- constraint_schema: StringVectorBuilder,
- constraint_name: StringVectorBuilder,
- table_catalog: StringVectorBuilder,
- table_schema: StringVectorBuilder,
- table_name: StringVectorBuilder,
- column_name: StringVectorBuilder,
- ordinal_position: UInt32VectorBuilder,
- position_in_unique_constraint: UInt32VectorBuilder,
- referenced_table_schema: StringVectorBuilder,
- referenced_table_name: StringVectorBuilder,
- referenced_column_name: StringVectorBuilder,
+ constraint_catalog: StringVectorBuilder,
+ constraint_schema: StringVectorBuilder,
+ constraint_name: StringVectorBuilder,
+ table_catalog: StringVectorBuilder,
+ table_schema: StringVectorBuilder,
+ table_name: StringVectorBuilder,
+ column_name: StringVectorBuilder,
+ ordinal_position: UInt32VectorBuilder,
+ position_in_unique_constraint: UInt32VectorBuilder,
+ referenced_table_schema: StringVectorBuilder,
+ referenced_table_name: StringVectorBuilder,
+ referenced_column_name: StringVectorBuilder,
}
Expand description
Builds the information_schema.KEY_COLUMN_USAGE
table row by row
Columns are based on https://dev.mysql.com/doc/refman/8.2/en/information-schema-key-column-usage-table.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
source§impl InformationSchemaKeyColumnUsageBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_key_column_usage(&mut self) -> Result<RecordBatch>
Construct the information_schema.KEY_COLUMN_USAGE
virtual table
diff --git a/catalog/information_schema/memory_table/struct.MemoryTable.html b/catalog/information_schema/memory_table/struct.MemoryTable.html
index d15c6dd61c11..bd231feefa65 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTable.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTable.html
@@ -1,17 +1,17 @@
MemoryTable in catalog::information_schema::memory_table - Rust
Struct catalog::information_schema::memory_table::MemoryTable
source · pub(super) struct MemoryTable {
- table_id: TableId,
+ table_id: TableId,
table_name: &'static str,
- schema: SchemaRef,
- columns: Vec<VectorRef>,
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
}
Expand description
A memory table with specified schema and columns.
-Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTable
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
index f23d4d962cbf..49efc1720505 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
@@ -1,8 +1,8 @@
MemoryTableBuilder in catalog::information_schema::memory_table - Rust
struct MemoryTableBuilder {
- schema: SchemaRef,
- columns: Vec<VectorRef>,
-}
Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTableBuilder
sourcefn new(schema: SchemaRef, columns: Vec<VectorRef>) -> Self
sourceasync fn memory_records(&mut self) -> Result<RecordBatch>
Construct the information_schema.{table_name}
virtual table
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
+}Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTableBuilder
§impl Send for MemoryTableBuilder
§impl Sync for MemoryTableBuilder
§impl Unpin for MemoryTableBuilder
§impl !UnwindSafe for MemoryTableBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/memory_table/tables/fn.bigint_column.html b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
index f218f0679910..39472a3957cd 100644
--- a/catalog/information_schema/memory_table/tables/fn.bigint_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
@@ -1,2 +1,2 @@
bigint_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.datetime_column.html b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
index 81aaa5b49073..10bf2cab1e77 100644
--- a/catalog/information_schema/memory_table/tables/fn.datetime_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
@@ -1,2 +1,2 @@
datetime_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
index 114ebee3f8fc..68fcf0f86951 100644
--- a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
@@ -1,4 +1,4 @@
get_schema_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
+ Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
Safety: the user MUST ensure the table schema exists, panic otherwise.
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_column.html b/catalog/information_schema/memory_table/tables/fn.string_column.html
index b512db928126..1576d18ed19e 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_column.html
@@ -1,2 +1,2 @@
string_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_columns.html b/catalog/information_schema/memory_table/tables/fn.string_columns.html
index c2a59e81331b..51a519dbc942 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_columns.html
@@ -1,2 +1,2 @@
string_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
index f8f0f4ac7399..6c21060227fb 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
@@ -1,13 +1,13 @@
InformationSchemaSchemata in catalog::information_schema::schemata - Rust
pub(super) struct InformationSchemaSchemata {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The information_schema.schemata
table implementation.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
index 89f4d3e51005..a691ab280e0e 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
@@ -1,17 +1,17 @@
InformationSchemaSchemataBuilder in catalog::information_schema::schemata - Rust
struct InformationSchemaSchemataBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- charset_names: StringVectorBuilder,
- collation_names: StringVectorBuilder,
- sql_paths: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ charset_names: StringVectorBuilder,
+ collation_names: StringVectorBuilder,
+ sql_paths: StringVectorBuilder,
}
Expand description
Builds the information_schema.schemata
table row by row
Columns are based on https://docs.pingcap.com/tidb/stable/information-schema-schemata
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
source§impl InformationSchemaSchemataBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_schemata(&mut self) -> Result<RecordBatch>
Construct the information_schema.schemata
virtual table
diff --git a/catalog/information_schema/struct.InformationTableDataSource.html b/catalog/information_schema/struct.InformationTableDataSource.html
index 06b580ea15cd..e3099a1f0612 100644
--- a/catalog/information_schema/struct.InformationTableDataSource.html
+++ b/catalog/information_schema/struct.InformationTableDataSource.html
@@ -1,9 +1,9 @@
InformationTableDataSource in catalog::information_schema - Rust
struct InformationTableDataSource {
table: Arc<dyn InformationTable + Send + Sync>,
-}
Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
+}Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
&self,
- request: ScanRequest
+ request: ScanRequest
) -> Result<SendableRecordBatchStream, BoxedError>
Retrieves a stream of record batches based on the provided scan request.Auto Trait Implementations§
§impl !RefUnwindSafe for InformationTableDataSource
§impl Send for InformationTableDataSource
§impl Sync for InformationTableDataSource
§impl Unpin for InformationTableDataSource
§impl !UnwindSafe for InformationTableDataSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index d69aeda4f68e..4efc57d73bc2 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -1,12 +1,12 @@
InformationSchemaTables in catalog::information_schema::tables - Rust
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html b/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html
index 5d588c7cb3fb..2a04b89cc025 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumnsBuilder.html
@@ -1,20 +1,20 @@
InformationSchemaColumnsBuilder in catalog::information_schema::columns - Rust
struct InformationSchemaColumnsBuilder {Show 13 fields
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- column_names: StringVectorBuilder,
- data_types: StringVectorBuilder,
- semantic_types: StringVectorBuilder,
- column_defaults: StringVectorBuilder,
- is_nullables: StringVectorBuilder,
- column_types: StringVectorBuilder,
- column_comments: StringVectorBuilder,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§column_names: StringVectorBuilder
§data_types: StringVectorBuilder
§semantic_types: StringVectorBuilder
§column_defaults: StringVectorBuilder
§is_nullables: StringVectorBuilder
§column_types: StringVectorBuilder
§column_comments: StringVectorBuilder
Implementations§
source§impl InformationSchemaColumnsBuilder
sourcefn new(
- schema: SchemaRef,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ column_names: StringVectorBuilder,
+ data_types: StringVectorBuilder,
+ semantic_types: StringVectorBuilder,
+ column_defaults: StringVectorBuilder,
+ is_nullables: StringVectorBuilder,
+ column_types: StringVectorBuilder,
+ column_comments: StringVectorBuilder,
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§column_names: StringVectorBuilder
§data_types: StringVectorBuilder
§semantic_types: StringVectorBuilder
§column_defaults: StringVectorBuilder
§is_nullables: StringVectorBuilder
§column_types: StringVectorBuilder
§column_comments: StringVectorBuilder
Implementations§
source§impl InformationSchemaColumnsBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_columns(&mut self) -> Result<RecordBatch>
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaColumnsBuilder
§impl Send for InformationSchemaColumnsBuilder
§impl Sync for InformationSchemaColumnsBuilder
§impl Unpin for InformationSchemaColumnsBuilder
§impl !UnwindSafe for InformationSchemaColumnsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
index 883b1fdf5162..ffee13724252 100644
--- a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
+++ b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
@@ -1,13 +1,13 @@
InformationSchemaKeyColumnUsage in catalog::information_schema::key_column_usage - Rust
pub(super) struct InformationSchemaKeyColumnUsage {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The virtual table implementation for information_schema.KEY_COLUMN_USAGE
.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaKeyColumnUsage
§impl Send for InformationSchemaKeyColumnUsage
§impl Sync for InformationSchemaKeyColumnUsage
§impl Unpin for InformationSchemaKeyColumnUsage
§impl !UnwindSafe for InformationSchemaKeyColumnUsage
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaKeyColumnUsage
§impl Send for InformationSchemaKeyColumnUsage
§impl Sync for InformationSchemaKeyColumnUsage
§impl Unpin for InformationSchemaKeyColumnUsage
§impl !UnwindSafe for InformationSchemaKeyColumnUsage
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
index 43b94c4c5ab0..849c8f6c325f 100644
--- a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
+++ b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
@@ -1,24 +1,24 @@
InformationSchemaKeyColumnUsageBuilder in catalog::information_schema::key_column_usage - Rust
Struct catalog::information_schema::key_column_usage::InformationSchemaKeyColumnUsageBuilder
source · struct InformationSchemaKeyColumnUsageBuilder {Show 15 fields
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- constraint_catalog: StringVectorBuilder,
- constraint_schema: StringVectorBuilder,
- constraint_name: StringVectorBuilder,
- table_catalog: StringVectorBuilder,
- table_schema: StringVectorBuilder,
- table_name: StringVectorBuilder,
- column_name: StringVectorBuilder,
- ordinal_position: UInt32VectorBuilder,
- position_in_unique_constraint: UInt32VectorBuilder,
- referenced_table_schema: StringVectorBuilder,
- referenced_table_name: StringVectorBuilder,
- referenced_column_name: StringVectorBuilder,
+ constraint_catalog: StringVectorBuilder,
+ constraint_schema: StringVectorBuilder,
+ constraint_name: StringVectorBuilder,
+ table_catalog: StringVectorBuilder,
+ table_schema: StringVectorBuilder,
+ table_name: StringVectorBuilder,
+ column_name: StringVectorBuilder,
+ ordinal_position: UInt32VectorBuilder,
+ position_in_unique_constraint: UInt32VectorBuilder,
+ referenced_table_schema: StringVectorBuilder,
+ referenced_table_name: StringVectorBuilder,
+ referenced_column_name: StringVectorBuilder,
}
Expand description
Builds the information_schema.KEY_COLUMN_USAGE
table row by row
Columns are based on https://dev.mysql.com/doc/refman/8.2/en/information-schema-key-column-usage-table.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
source§impl InformationSchemaKeyColumnUsageBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_key_column_usage(&mut self) -> Result<RecordBatch>
Construct the information_schema.KEY_COLUMN_USAGE
virtual table
diff --git a/catalog/information_schema/memory_table/struct.MemoryTable.html b/catalog/information_schema/memory_table/struct.MemoryTable.html
index d15c6dd61c11..bd231feefa65 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTable.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTable.html
@@ -1,17 +1,17 @@
MemoryTable in catalog::information_schema::memory_table - Rust
Struct catalog::information_schema::memory_table::MemoryTable
source · pub(super) struct MemoryTable {
- table_id: TableId,
+ table_id: TableId,
table_name: &'static str,
- schema: SchemaRef,
- columns: Vec<VectorRef>,
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
}
Expand description
A memory table with specified schema and columns.
-Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTable
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
index f23d4d962cbf..49efc1720505 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
@@ -1,8 +1,8 @@
MemoryTableBuilder in catalog::information_schema::memory_table - Rust
struct MemoryTableBuilder {
- schema: SchemaRef,
- columns: Vec<VectorRef>,
-}
Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTableBuilder
sourcefn new(schema: SchemaRef, columns: Vec<VectorRef>) -> Self
sourceasync fn memory_records(&mut self) -> Result<RecordBatch>
Construct the information_schema.{table_name}
virtual table
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
+}Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTableBuilder
§impl Send for MemoryTableBuilder
§impl Sync for MemoryTableBuilder
§impl Unpin for MemoryTableBuilder
§impl !UnwindSafe for MemoryTableBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/memory_table/tables/fn.bigint_column.html b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
index f218f0679910..39472a3957cd 100644
--- a/catalog/information_schema/memory_table/tables/fn.bigint_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
@@ -1,2 +1,2 @@
bigint_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.datetime_column.html b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
index 81aaa5b49073..10bf2cab1e77 100644
--- a/catalog/information_schema/memory_table/tables/fn.datetime_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
@@ -1,2 +1,2 @@
datetime_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
index 114ebee3f8fc..68fcf0f86951 100644
--- a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
@@ -1,4 +1,4 @@
get_schema_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
+ Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
Safety: the user MUST ensure the table schema exists, panic otherwise.
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_column.html b/catalog/information_schema/memory_table/tables/fn.string_column.html
index b512db928126..1576d18ed19e 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_column.html
@@ -1,2 +1,2 @@
string_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_columns.html b/catalog/information_schema/memory_table/tables/fn.string_columns.html
index c2a59e81331b..51a519dbc942 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_columns.html
@@ -1,2 +1,2 @@
string_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
index f8f0f4ac7399..6c21060227fb 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
@@ -1,13 +1,13 @@
InformationSchemaSchemata in catalog::information_schema::schemata - Rust
pub(super) struct InformationSchemaSchemata {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The information_schema.schemata
table implementation.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
index 89f4d3e51005..a691ab280e0e 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
@@ -1,17 +1,17 @@
InformationSchemaSchemataBuilder in catalog::information_schema::schemata - Rust
struct InformationSchemaSchemataBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- charset_names: StringVectorBuilder,
- collation_names: StringVectorBuilder,
- sql_paths: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ charset_names: StringVectorBuilder,
+ collation_names: StringVectorBuilder,
+ sql_paths: StringVectorBuilder,
}
Expand description
Builds the information_schema.schemata
table row by row
Columns are based on https://docs.pingcap.com/tidb/stable/information-schema-schemata
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
source§impl InformationSchemaSchemataBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_schemata(&mut self) -> Result<RecordBatch>
Construct the information_schema.schemata
virtual table
diff --git a/catalog/information_schema/struct.InformationTableDataSource.html b/catalog/information_schema/struct.InformationTableDataSource.html
index 06b580ea15cd..e3099a1f0612 100644
--- a/catalog/information_schema/struct.InformationTableDataSource.html
+++ b/catalog/information_schema/struct.InformationTableDataSource.html
@@ -1,9 +1,9 @@
InformationTableDataSource in catalog::information_schema - Rust
struct InformationTableDataSource {
table: Arc<dyn InformationTable + Send + Sync>,
-}
Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
+}Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
&self,
- request: ScanRequest
+ request: ScanRequest
) -> Result<SendableRecordBatchStream, BoxedError>
Retrieves a stream of record batches based on the provided scan request.Auto Trait Implementations§
§impl !RefUnwindSafe for InformationTableDataSource
§impl Send for InformationTableDataSource
§impl Sync for InformationTableDataSource
§impl Unpin for InformationTableDataSource
§impl !UnwindSafe for InformationTableDataSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index d69aeda4f68e..4efc57d73bc2 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -1,12 +1,12 @@
InformationSchemaTables in catalog::information_schema::tables - Rust
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
struct InformationSchemaColumnsBuilder {Show 13 fields
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- column_names: StringVectorBuilder,
- data_types: StringVectorBuilder,
- semantic_types: StringVectorBuilder,
- column_defaults: StringVectorBuilder,
- is_nullables: StringVectorBuilder,
- column_types: StringVectorBuilder,
- column_comments: StringVectorBuilder,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§column_names: StringVectorBuilder
§data_types: StringVectorBuilder
§semantic_types: StringVectorBuilder
§column_defaults: StringVectorBuilder
§is_nullables: StringVectorBuilder
§column_types: StringVectorBuilder
§column_comments: StringVectorBuilder
Implementations§
source§impl InformationSchemaColumnsBuilder
impl InformationSchemaColumnsBuilder
fn new(
- schema: SchemaRef,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ column_names: StringVectorBuilder,
+ data_types: StringVectorBuilder,
+ semantic_types: StringVectorBuilder,
+ column_defaults: StringVectorBuilder,
+ is_nullables: StringVectorBuilder,
+ column_types: StringVectorBuilder,
+ column_comments: StringVectorBuilder,
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§column_names: StringVectorBuilder
§data_types: StringVectorBuilder
§semantic_types: StringVectorBuilder
§column_defaults: StringVectorBuilder
§is_nullables: StringVectorBuilder
§column_types: StringVectorBuilder
§column_comments: StringVectorBuilder
Implementations§
source§impl InformationSchemaColumnsBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_columns(&mut self) -> Result<RecordBatch>
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaColumnsBuilder
§impl Send for InformationSchemaColumnsBuilder
§impl Sync for InformationSchemaColumnsBuilder
§impl Unpin for InformationSchemaColumnsBuilder
§impl !UnwindSafe for InformationSchemaColumnsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
index 883b1fdf5162..ffee13724252 100644
--- a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
+++ b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
@@ -1,13 +1,13 @@
InformationSchemaKeyColumnUsage in catalog::information_schema::key_column_usage - Rust
pub(super) struct InformationSchemaKeyColumnUsage {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The virtual table implementation for information_schema.KEY_COLUMN_USAGE
.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaKeyColumnUsage
§impl Send for InformationSchemaKeyColumnUsage
§impl Sync for InformationSchemaKeyColumnUsage
§impl Unpin for InformationSchemaKeyColumnUsage
§impl !UnwindSafe for InformationSchemaKeyColumnUsage
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaKeyColumnUsage
§impl Send for InformationSchemaKeyColumnUsage
§impl Sync for InformationSchemaKeyColumnUsage
§impl Unpin for InformationSchemaKeyColumnUsage
§impl !UnwindSafe for InformationSchemaKeyColumnUsage
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
index 43b94c4c5ab0..849c8f6c325f 100644
--- a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
+++ b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
@@ -1,24 +1,24 @@
InformationSchemaKeyColumnUsageBuilder in catalog::information_schema::key_column_usage - Rust
Struct catalog::information_schema::key_column_usage::InformationSchemaKeyColumnUsageBuilder
source · struct InformationSchemaKeyColumnUsageBuilder {Show 15 fields
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- constraint_catalog: StringVectorBuilder,
- constraint_schema: StringVectorBuilder,
- constraint_name: StringVectorBuilder,
- table_catalog: StringVectorBuilder,
- table_schema: StringVectorBuilder,
- table_name: StringVectorBuilder,
- column_name: StringVectorBuilder,
- ordinal_position: UInt32VectorBuilder,
- position_in_unique_constraint: UInt32VectorBuilder,
- referenced_table_schema: StringVectorBuilder,
- referenced_table_name: StringVectorBuilder,
- referenced_column_name: StringVectorBuilder,
+ constraint_catalog: StringVectorBuilder,
+ constraint_schema: StringVectorBuilder,
+ constraint_name: StringVectorBuilder,
+ table_catalog: StringVectorBuilder,
+ table_schema: StringVectorBuilder,
+ table_name: StringVectorBuilder,
+ column_name: StringVectorBuilder,
+ ordinal_position: UInt32VectorBuilder,
+ position_in_unique_constraint: UInt32VectorBuilder,
+ referenced_table_schema: StringVectorBuilder,
+ referenced_table_name: StringVectorBuilder,
+ referenced_column_name: StringVectorBuilder,
}
Expand description
Builds the information_schema.KEY_COLUMN_USAGE
table row by row
Columns are based on https://dev.mysql.com/doc/refman/8.2/en/information-schema-key-column-usage-table.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
source§impl InformationSchemaKeyColumnUsageBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_key_column_usage(&mut self) -> Result<RecordBatch>
Construct the information_schema.KEY_COLUMN_USAGE
virtual table
diff --git a/catalog/information_schema/memory_table/struct.MemoryTable.html b/catalog/information_schema/memory_table/struct.MemoryTable.html
index d15c6dd61c11..bd231feefa65 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTable.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTable.html
@@ -1,17 +1,17 @@
MemoryTable in catalog::information_schema::memory_table - Rust
Struct catalog::information_schema::memory_table::MemoryTable
source · pub(super) struct MemoryTable {
- table_id: TableId,
+ table_id: TableId,
table_name: &'static str,
- schema: SchemaRef,
- columns: Vec<VectorRef>,
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
}
Expand description
A memory table with specified schema and columns.
-Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTable
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
index f23d4d962cbf..49efc1720505 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
@@ -1,8 +1,8 @@
MemoryTableBuilder in catalog::information_schema::memory_table - Rust
struct MemoryTableBuilder {
- schema: SchemaRef,
- columns: Vec<VectorRef>,
-}
Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTableBuilder
sourcefn new(schema: SchemaRef, columns: Vec<VectorRef>) -> Self
sourceasync fn memory_records(&mut self) -> Result<RecordBatch>
Construct the information_schema.{table_name}
virtual table
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
+}Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTableBuilder
§impl Send for MemoryTableBuilder
§impl Sync for MemoryTableBuilder
§impl Unpin for MemoryTableBuilder
§impl !UnwindSafe for MemoryTableBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/memory_table/tables/fn.bigint_column.html b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
index f218f0679910..39472a3957cd 100644
--- a/catalog/information_schema/memory_table/tables/fn.bigint_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
@@ -1,2 +1,2 @@
bigint_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.datetime_column.html b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
index 81aaa5b49073..10bf2cab1e77 100644
--- a/catalog/information_schema/memory_table/tables/fn.datetime_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
@@ -1,2 +1,2 @@
datetime_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
index 114ebee3f8fc..68fcf0f86951 100644
--- a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
@@ -1,4 +1,4 @@
get_schema_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
+ Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
Safety: the user MUST ensure the table schema exists, panic otherwise.
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_column.html b/catalog/information_schema/memory_table/tables/fn.string_column.html
index b512db928126..1576d18ed19e 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_column.html
@@ -1,2 +1,2 @@
string_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_columns.html b/catalog/information_schema/memory_table/tables/fn.string_columns.html
index c2a59e81331b..51a519dbc942 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_columns.html
@@ -1,2 +1,2 @@
string_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
index f8f0f4ac7399..6c21060227fb 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
@@ -1,13 +1,13 @@
InformationSchemaSchemata in catalog::information_schema::schemata - Rust
pub(super) struct InformationSchemaSchemata {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The information_schema.schemata
table implementation.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
index 89f4d3e51005..a691ab280e0e 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
@@ -1,17 +1,17 @@
InformationSchemaSchemataBuilder in catalog::information_schema::schemata - Rust
struct InformationSchemaSchemataBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- charset_names: StringVectorBuilder,
- collation_names: StringVectorBuilder,
- sql_paths: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ charset_names: StringVectorBuilder,
+ collation_names: StringVectorBuilder,
+ sql_paths: StringVectorBuilder,
}
Expand description
Builds the information_schema.schemata
table row by row
Columns are based on https://docs.pingcap.com/tidb/stable/information-schema-schemata
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
source§impl InformationSchemaSchemataBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_schemata(&mut self) -> Result<RecordBatch>
Construct the information_schema.schemata
virtual table
diff --git a/catalog/information_schema/struct.InformationTableDataSource.html b/catalog/information_schema/struct.InformationTableDataSource.html
index 06b580ea15cd..e3099a1f0612 100644
--- a/catalog/information_schema/struct.InformationTableDataSource.html
+++ b/catalog/information_schema/struct.InformationTableDataSource.html
@@ -1,9 +1,9 @@
InformationTableDataSource in catalog::information_schema - Rust
struct InformationTableDataSource {
table: Arc<dyn InformationTable + Send + Sync>,
-}
Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
+}Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
&self,
- request: ScanRequest
+ request: ScanRequest
) -> Result<SendableRecordBatchStream, BoxedError>
Retrieves a stream of record batches based on the provided scan request.Auto Trait Implementations§
§impl !RefUnwindSafe for InformationTableDataSource
§impl Send for InformationTableDataSource
§impl Sync for InformationTableDataSource
§impl Unpin for InformationTableDataSource
§impl !UnwindSafe for InformationTableDataSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index d69aeda4f68e..4efc57d73bc2 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -1,12 +1,12 @@
InformationSchemaTables in catalog::information_schema::tables - Rust
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
source§impl InformationSchemaColumnsBuilder
impl InformationSchemaColumnsBuilder
fn new( + schema: SchemaRef, catalog_name: String, catalog_manager: Weak<dyn CatalogManager> ) -> Self
sourceasync fn make_columns(&mut self) -> Result<RecordBatch>
async fn make_columns(&mut self) -> Result<RecordBatch>
Auto Trait Implementations§
impl !RefUnwindSafe for InformationSchemaColumnsBuilder
impl Send for InformationSchemaColumnsBuilder
impl Sync for InformationSchemaColumnsBuilder
impl Unpin for InformationSchemaColumnsBuilder
impl !UnwindSafe for InformationSchemaColumnsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
index 883b1fdf5162..ffee13724252 100644
--- a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
+++ b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
@@ -1,13 +1,13 @@
InformationSchemaKeyColumnUsage in catalog::information_schema::key_column_usage - Rust
pub(super) struct InformationSchemaKeyColumnUsage {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The virtual table implementation for information_schema.KEY_COLUMN_USAGE
.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaKeyColumnUsage
§impl Send for InformationSchemaKeyColumnUsage
§impl Sync for InformationSchemaKeyColumnUsage
§impl Unpin for InformationSchemaKeyColumnUsage
§impl !UnwindSafe for InformationSchemaKeyColumnUsage
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaKeyColumnUsage
§impl Send for InformationSchemaKeyColumnUsage
§impl Sync for InformationSchemaKeyColumnUsage
§impl Unpin for InformationSchemaKeyColumnUsage
§impl !UnwindSafe for InformationSchemaKeyColumnUsage
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
index 43b94c4c5ab0..849c8f6c325f 100644
--- a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
+++ b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
@@ -1,24 +1,24 @@
InformationSchemaKeyColumnUsageBuilder in catalog::information_schema::key_column_usage - Rust
Struct catalog::information_schema::key_column_usage::InformationSchemaKeyColumnUsageBuilder
source · struct InformationSchemaKeyColumnUsageBuilder {Show 15 fields
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- constraint_catalog: StringVectorBuilder,
- constraint_schema: StringVectorBuilder,
- constraint_name: StringVectorBuilder,
- table_catalog: StringVectorBuilder,
- table_schema: StringVectorBuilder,
- table_name: StringVectorBuilder,
- column_name: StringVectorBuilder,
- ordinal_position: UInt32VectorBuilder,
- position_in_unique_constraint: UInt32VectorBuilder,
- referenced_table_schema: StringVectorBuilder,
- referenced_table_name: StringVectorBuilder,
- referenced_column_name: StringVectorBuilder,
+ constraint_catalog: StringVectorBuilder,
+ constraint_schema: StringVectorBuilder,
+ constraint_name: StringVectorBuilder,
+ table_catalog: StringVectorBuilder,
+ table_schema: StringVectorBuilder,
+ table_name: StringVectorBuilder,
+ column_name: StringVectorBuilder,
+ ordinal_position: UInt32VectorBuilder,
+ position_in_unique_constraint: UInt32VectorBuilder,
+ referenced_table_schema: StringVectorBuilder,
+ referenced_table_name: StringVectorBuilder,
+ referenced_column_name: StringVectorBuilder,
}
Expand description
Builds the information_schema.KEY_COLUMN_USAGE
table row by row
Columns are based on https://dev.mysql.com/doc/refman/8.2/en/information-schema-key-column-usage-table.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
source§impl InformationSchemaKeyColumnUsageBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_key_column_usage(&mut self) -> Result<RecordBatch>
Construct the information_schema.KEY_COLUMN_USAGE
virtual table
diff --git a/catalog/information_schema/memory_table/struct.MemoryTable.html b/catalog/information_schema/memory_table/struct.MemoryTable.html
index d15c6dd61c11..bd231feefa65 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTable.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTable.html
@@ -1,17 +1,17 @@
MemoryTable in catalog::information_schema::memory_table - Rust
Struct catalog::information_schema::memory_table::MemoryTable
source · pub(super) struct MemoryTable {
- table_id: TableId,
+ table_id: TableId,
table_name: &'static str,
- schema: SchemaRef,
- columns: Vec<VectorRef>,
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
}
Expand description
A memory table with specified schema and columns.
-Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTable
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
index f23d4d962cbf..49efc1720505 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
@@ -1,8 +1,8 @@
MemoryTableBuilder in catalog::information_schema::memory_table - Rust
struct MemoryTableBuilder {
- schema: SchemaRef,
- columns: Vec<VectorRef>,
-}
Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTableBuilder
sourcefn new(schema: SchemaRef, columns: Vec<VectorRef>) -> Self
sourceasync fn memory_records(&mut self) -> Result<RecordBatch>
Construct the information_schema.{table_name}
virtual table
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
+}Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTableBuilder
§impl Send for MemoryTableBuilder
§impl Sync for MemoryTableBuilder
§impl Unpin for MemoryTableBuilder
§impl !UnwindSafe for MemoryTableBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/memory_table/tables/fn.bigint_column.html b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
index f218f0679910..39472a3957cd 100644
--- a/catalog/information_schema/memory_table/tables/fn.bigint_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
@@ -1,2 +1,2 @@
bigint_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.datetime_column.html b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
index 81aaa5b49073..10bf2cab1e77 100644
--- a/catalog/information_schema/memory_table/tables/fn.datetime_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
@@ -1,2 +1,2 @@
datetime_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
index 114ebee3f8fc..68fcf0f86951 100644
--- a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
@@ -1,4 +1,4 @@
get_schema_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
+ Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
Safety: the user MUST ensure the table schema exists, panic otherwise.
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_column.html b/catalog/information_schema/memory_table/tables/fn.string_column.html
index b512db928126..1576d18ed19e 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_column.html
@@ -1,2 +1,2 @@
string_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_columns.html b/catalog/information_schema/memory_table/tables/fn.string_columns.html
index c2a59e81331b..51a519dbc942 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_columns.html
@@ -1,2 +1,2 @@
string_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
index f8f0f4ac7399..6c21060227fb 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
@@ -1,13 +1,13 @@
InformationSchemaSchemata in catalog::information_schema::schemata - Rust
pub(super) struct InformationSchemaSchemata {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The information_schema.schemata
table implementation.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
index 89f4d3e51005..a691ab280e0e 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
@@ -1,17 +1,17 @@
InformationSchemaSchemataBuilder in catalog::information_schema::schemata - Rust
struct InformationSchemaSchemataBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- charset_names: StringVectorBuilder,
- collation_names: StringVectorBuilder,
- sql_paths: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ charset_names: StringVectorBuilder,
+ collation_names: StringVectorBuilder,
+ sql_paths: StringVectorBuilder,
}
Expand description
Builds the information_schema.schemata
table row by row
Columns are based on https://docs.pingcap.com/tidb/stable/information-schema-schemata
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
source§impl InformationSchemaSchemataBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_schemata(&mut self) -> Result<RecordBatch>
Construct the information_schema.schemata
virtual table
diff --git a/catalog/information_schema/struct.InformationTableDataSource.html b/catalog/information_schema/struct.InformationTableDataSource.html
index 06b580ea15cd..e3099a1f0612 100644
--- a/catalog/information_schema/struct.InformationTableDataSource.html
+++ b/catalog/information_schema/struct.InformationTableDataSource.html
@@ -1,9 +1,9 @@
InformationTableDataSource in catalog::information_schema - Rust
struct InformationTableDataSource {
table: Arc<dyn InformationTable + Send + Sync>,
-}
Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
+}Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
&self,
- request: ScanRequest
+ request: ScanRequest
) -> Result<SendableRecordBatchStream, BoxedError>
Retrieves a stream of record batches based on the provided scan request.Auto Trait Implementations§
§impl !RefUnwindSafe for InformationTableDataSource
§impl Send for InformationTableDataSource
§impl Sync for InformationTableDataSource
§impl Unpin for InformationTableDataSource
§impl !UnwindSafe for InformationTableDataSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index d69aeda4f68e..4efc57d73bc2 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -1,12 +1,12 @@
InformationSchemaTables in catalog::information_schema::tables - Rust
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
index 883b1fdf5162..ffee13724252 100644
--- a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
+++ b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsage.html
@@ -1,13 +1,13 @@
InformationSchemaKeyColumnUsage in catalog::information_schema::key_column_usage - Rust
pub(super) struct InformationSchemaKeyColumnUsage {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The virtual table implementation for information_schema.KEY_COLUMN_USAGE
.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaKeyColumnUsage
§impl Send for InformationSchemaKeyColumnUsage
§impl Sync for InformationSchemaKeyColumnUsage
§impl Unpin for InformationSchemaKeyColumnUsage
§impl !UnwindSafe for InformationSchemaKeyColumnUsage
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaKeyColumnUsage
§impl Send for InformationSchemaKeyColumnUsage
§impl Sync for InformationSchemaKeyColumnUsage
§impl Unpin for InformationSchemaKeyColumnUsage
§impl !UnwindSafe for InformationSchemaKeyColumnUsage
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
index 43b94c4c5ab0..849c8f6c325f 100644
--- a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
+++ b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
@@ -1,24 +1,24 @@
InformationSchemaKeyColumnUsageBuilder in catalog::information_schema::key_column_usage - Rust
Struct catalog::information_schema::key_column_usage::InformationSchemaKeyColumnUsageBuilder
source · struct InformationSchemaKeyColumnUsageBuilder {Show 15 fields
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- constraint_catalog: StringVectorBuilder,
- constraint_schema: StringVectorBuilder,
- constraint_name: StringVectorBuilder,
- table_catalog: StringVectorBuilder,
- table_schema: StringVectorBuilder,
- table_name: StringVectorBuilder,
- column_name: StringVectorBuilder,
- ordinal_position: UInt32VectorBuilder,
- position_in_unique_constraint: UInt32VectorBuilder,
- referenced_table_schema: StringVectorBuilder,
- referenced_table_name: StringVectorBuilder,
- referenced_column_name: StringVectorBuilder,
+ constraint_catalog: StringVectorBuilder,
+ constraint_schema: StringVectorBuilder,
+ constraint_name: StringVectorBuilder,
+ table_catalog: StringVectorBuilder,
+ table_schema: StringVectorBuilder,
+ table_name: StringVectorBuilder,
+ column_name: StringVectorBuilder,
+ ordinal_position: UInt32VectorBuilder,
+ position_in_unique_constraint: UInt32VectorBuilder,
+ referenced_table_schema: StringVectorBuilder,
+ referenced_table_name: StringVectorBuilder,
+ referenced_column_name: StringVectorBuilder,
}
Expand description
Builds the information_schema.KEY_COLUMN_USAGE
table row by row
Columns are based on https://dev.mysql.com/doc/refman/8.2/en/information-schema-key-column-usage-table.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
source§impl InformationSchemaKeyColumnUsageBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_key_column_usage(&mut self) -> Result<RecordBatch>
Construct the information_schema.KEY_COLUMN_USAGE
virtual table
diff --git a/catalog/information_schema/memory_table/struct.MemoryTable.html b/catalog/information_schema/memory_table/struct.MemoryTable.html
index d15c6dd61c11..bd231feefa65 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTable.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTable.html
@@ -1,17 +1,17 @@
MemoryTable in catalog::information_schema::memory_table - Rust
Struct catalog::information_schema::memory_table::MemoryTable
source · pub(super) struct MemoryTable {
- table_id: TableId,
+ table_id: TableId,
table_name: &'static str,
- schema: SchemaRef,
- columns: Vec<VectorRef>,
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
}
Expand description
A memory table with specified schema and columns.
-Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTable
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
index f23d4d962cbf..49efc1720505 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
@@ -1,8 +1,8 @@
MemoryTableBuilder in catalog::information_schema::memory_table - Rust
struct MemoryTableBuilder {
- schema: SchemaRef,
- columns: Vec<VectorRef>,
-}
Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTableBuilder
sourcefn new(schema: SchemaRef, columns: Vec<VectorRef>) -> Self
sourceasync fn memory_records(&mut self) -> Result<RecordBatch>
Construct the information_schema.{table_name}
virtual table
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
+}Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTableBuilder
§impl Send for MemoryTableBuilder
§impl Sync for MemoryTableBuilder
§impl Unpin for MemoryTableBuilder
§impl !UnwindSafe for MemoryTableBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/memory_table/tables/fn.bigint_column.html b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
index f218f0679910..39472a3957cd 100644
--- a/catalog/information_schema/memory_table/tables/fn.bigint_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
@@ -1,2 +1,2 @@
bigint_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.datetime_column.html b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
index 81aaa5b49073..10bf2cab1e77 100644
--- a/catalog/information_schema/memory_table/tables/fn.datetime_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
@@ -1,2 +1,2 @@
datetime_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
index 114ebee3f8fc..68fcf0f86951 100644
--- a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
@@ -1,4 +1,4 @@
get_schema_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
+ Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
Safety: the user MUST ensure the table schema exists, panic otherwise.
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_column.html b/catalog/information_schema/memory_table/tables/fn.string_column.html
index b512db928126..1576d18ed19e 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_column.html
@@ -1,2 +1,2 @@
string_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_columns.html b/catalog/information_schema/memory_table/tables/fn.string_columns.html
index c2a59e81331b..51a519dbc942 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_columns.html
@@ -1,2 +1,2 @@
string_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
index f8f0f4ac7399..6c21060227fb 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
@@ -1,13 +1,13 @@
InformationSchemaSchemata in catalog::information_schema::schemata - Rust
pub(super) struct InformationSchemaSchemata {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The information_schema.schemata
table implementation.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
index 89f4d3e51005..a691ab280e0e 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
@@ -1,17 +1,17 @@
InformationSchemaSchemataBuilder in catalog::information_schema::schemata - Rust
struct InformationSchemaSchemataBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- charset_names: StringVectorBuilder,
- collation_names: StringVectorBuilder,
- sql_paths: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ charset_names: StringVectorBuilder,
+ collation_names: StringVectorBuilder,
+ sql_paths: StringVectorBuilder,
}
Expand description
Builds the information_schema.schemata
table row by row
Columns are based on https://docs.pingcap.com/tidb/stable/information-schema-schemata
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
source§impl InformationSchemaSchemataBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_schemata(&mut self) -> Result<RecordBatch>
Construct the information_schema.schemata
virtual table
diff --git a/catalog/information_schema/struct.InformationTableDataSource.html b/catalog/information_schema/struct.InformationTableDataSource.html
index 06b580ea15cd..e3099a1f0612 100644
--- a/catalog/information_schema/struct.InformationTableDataSource.html
+++ b/catalog/information_schema/struct.InformationTableDataSource.html
@@ -1,9 +1,9 @@
InformationTableDataSource in catalog::information_schema - Rust
struct InformationTableDataSource {
table: Arc<dyn InformationTable + Send + Sync>,
-}
Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
+}Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
&self,
- request: ScanRequest
+ request: ScanRequest
) -> Result<SendableRecordBatchStream, BoxedError>
Retrieves a stream of record batches based on the provided scan request.Auto Trait Implementations§
§impl !RefUnwindSafe for InformationTableDataSource
§impl Send for InformationTableDataSource
§impl Sync for InformationTableDataSource
§impl Unpin for InformationTableDataSource
§impl !UnwindSafe for InformationTableDataSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index d69aeda4f68e..4efc57d73bc2 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -1,12 +1,12 @@
InformationSchemaTables in catalog::information_schema::tables - Rust
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
pub(super) struct InformationSchemaKeyColumnUsage {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The virtual table implementation for information_schema.KEY_COLUMN_USAGE
.
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for InformationSchemaKeyColumnUsage
impl Send for InformationSchemaKeyColumnUsage
impl Sync for InformationSchemaKeyColumnUsage
impl Unpin for InformationSchemaKeyColumnUsage
impl !UnwindSafe for InformationSchemaKeyColumnUsage
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for InformationSchemaKeyColumnUsage
impl Send for InformationSchemaKeyColumnUsage
impl Sync for InformationSchemaKeyColumnUsage
impl Unpin for InformationSchemaKeyColumnUsage
impl !UnwindSafe for InformationSchemaKeyColumnUsage
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<T> CompatExt for T
impl<T> CompatExt for T
§impl<T> Conv for T
impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
index 43b94c4c5ab0..849c8f6c325f 100644
--- a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
+++ b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
@@ -1,24 +1,24 @@
InformationSchemaKeyColumnUsageBuilder in catalog::information_schema::key_column_usage - Rust
Struct catalog::information_schema::key_column_usage::InformationSchemaKeyColumnUsageBuilder
source · struct InformationSchemaKeyColumnUsageBuilder {Show 15 fields
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- constraint_catalog: StringVectorBuilder,
- constraint_schema: StringVectorBuilder,
- constraint_name: StringVectorBuilder,
- table_catalog: StringVectorBuilder,
- table_schema: StringVectorBuilder,
- table_name: StringVectorBuilder,
- column_name: StringVectorBuilder,
- ordinal_position: UInt32VectorBuilder,
- position_in_unique_constraint: UInt32VectorBuilder,
- referenced_table_schema: StringVectorBuilder,
- referenced_table_name: StringVectorBuilder,
- referenced_column_name: StringVectorBuilder,
+ constraint_catalog: StringVectorBuilder,
+ constraint_schema: StringVectorBuilder,
+ constraint_name: StringVectorBuilder,
+ table_catalog: StringVectorBuilder,
+ table_schema: StringVectorBuilder,
+ table_name: StringVectorBuilder,
+ column_name: StringVectorBuilder,
+ ordinal_position: UInt32VectorBuilder,
+ position_in_unique_constraint: UInt32VectorBuilder,
+ referenced_table_schema: StringVectorBuilder,
+ referenced_table_name: StringVectorBuilder,
+ referenced_column_name: StringVectorBuilder,
}
Expand description
Builds the information_schema.KEY_COLUMN_USAGE
table row by row
Columns are based on https://dev.mysql.com/doc/refman/8.2/en/information-schema-key-column-usage-table.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
source§impl InformationSchemaKeyColumnUsageBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_key_column_usage(&mut self) -> Result<RecordBatch>
Construct the information_schema.KEY_COLUMN_USAGE
virtual table
diff --git a/catalog/information_schema/memory_table/struct.MemoryTable.html b/catalog/information_schema/memory_table/struct.MemoryTable.html
index d15c6dd61c11..bd231feefa65 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTable.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTable.html
@@ -1,17 +1,17 @@
MemoryTable in catalog::information_schema::memory_table - Rust
Struct catalog::information_schema::memory_table::MemoryTable
source · pub(super) struct MemoryTable {
- table_id: TableId,
+ table_id: TableId,
table_name: &'static str,
- schema: SchemaRef,
- columns: Vec<VectorRef>,
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
}
Expand description
A memory table with specified schema and columns.
-Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTable
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
index f23d4d962cbf..49efc1720505 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
@@ -1,8 +1,8 @@
MemoryTableBuilder in catalog::information_schema::memory_table - Rust
struct MemoryTableBuilder {
- schema: SchemaRef,
- columns: Vec<VectorRef>,
-}
Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTableBuilder
sourcefn new(schema: SchemaRef, columns: Vec<VectorRef>) -> Self
sourceasync fn memory_records(&mut self) -> Result<RecordBatch>
Construct the information_schema.{table_name}
virtual table
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
+}Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTableBuilder
§impl Send for MemoryTableBuilder
§impl Sync for MemoryTableBuilder
§impl Unpin for MemoryTableBuilder
§impl !UnwindSafe for MemoryTableBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/memory_table/tables/fn.bigint_column.html b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
index f218f0679910..39472a3957cd 100644
--- a/catalog/information_schema/memory_table/tables/fn.bigint_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
@@ -1,2 +1,2 @@
bigint_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.datetime_column.html b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
index 81aaa5b49073..10bf2cab1e77 100644
--- a/catalog/information_schema/memory_table/tables/fn.datetime_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
@@ -1,2 +1,2 @@
datetime_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
index 114ebee3f8fc..68fcf0f86951 100644
--- a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
@@ -1,4 +1,4 @@
get_schema_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
+ Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
Safety: the user MUST ensure the table schema exists, panic otherwise.
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_column.html b/catalog/information_schema/memory_table/tables/fn.string_column.html
index b512db928126..1576d18ed19e 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_column.html
@@ -1,2 +1,2 @@
string_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_columns.html b/catalog/information_schema/memory_table/tables/fn.string_columns.html
index c2a59e81331b..51a519dbc942 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_columns.html
@@ -1,2 +1,2 @@
string_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
index f8f0f4ac7399..6c21060227fb 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
@@ -1,13 +1,13 @@
InformationSchemaSchemata in catalog::information_schema::schemata - Rust
pub(super) struct InformationSchemaSchemata {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The information_schema.schemata
table implementation.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
index 89f4d3e51005..a691ab280e0e 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
@@ -1,17 +1,17 @@
InformationSchemaSchemataBuilder in catalog::information_schema::schemata - Rust
struct InformationSchemaSchemataBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- charset_names: StringVectorBuilder,
- collation_names: StringVectorBuilder,
- sql_paths: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ charset_names: StringVectorBuilder,
+ collation_names: StringVectorBuilder,
+ sql_paths: StringVectorBuilder,
}
Expand description
Builds the information_schema.schemata
table row by row
Columns are based on https://docs.pingcap.com/tidb/stable/information-schema-schemata
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
source§impl InformationSchemaSchemataBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_schemata(&mut self) -> Result<RecordBatch>
Construct the information_schema.schemata
virtual table
diff --git a/catalog/information_schema/struct.InformationTableDataSource.html b/catalog/information_schema/struct.InformationTableDataSource.html
index 06b580ea15cd..e3099a1f0612 100644
--- a/catalog/information_schema/struct.InformationTableDataSource.html
+++ b/catalog/information_schema/struct.InformationTableDataSource.html
@@ -1,9 +1,9 @@
InformationTableDataSource in catalog::information_schema - Rust
struct InformationTableDataSource {
table: Arc<dyn InformationTable + Send + Sync>,
-}
Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
+}Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
&self,
- request: ScanRequest
+ request: ScanRequest
) -> Result<SendableRecordBatchStream, BoxedError>
Retrieves a stream of record batches based on the provided scan request.Auto Trait Implementations§
§impl !RefUnwindSafe for InformationTableDataSource
§impl Send for InformationTableDataSource
§impl Sync for InformationTableDataSource
§impl Unpin for InformationTableDataSource
§impl !UnwindSafe for InformationTableDataSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index d69aeda4f68e..4efc57d73bc2 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -1,12 +1,12 @@
InformationSchemaTables in catalog::information_schema::tables - Rust
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
index 43b94c4c5ab0..849c8f6c325f 100644
--- a/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
+++ b/catalog/information_schema/key_column_usage/struct.InformationSchemaKeyColumnUsageBuilder.html
@@ -1,24 +1,24 @@
InformationSchemaKeyColumnUsageBuilder in catalog::information_schema::key_column_usage - Rust
Struct catalog::information_schema::key_column_usage::InformationSchemaKeyColumnUsageBuilder
source · struct InformationSchemaKeyColumnUsageBuilder {Show 15 fields
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- constraint_catalog: StringVectorBuilder,
- constraint_schema: StringVectorBuilder,
- constraint_name: StringVectorBuilder,
- table_catalog: StringVectorBuilder,
- table_schema: StringVectorBuilder,
- table_name: StringVectorBuilder,
- column_name: StringVectorBuilder,
- ordinal_position: UInt32VectorBuilder,
- position_in_unique_constraint: UInt32VectorBuilder,
- referenced_table_schema: StringVectorBuilder,
- referenced_table_name: StringVectorBuilder,
- referenced_column_name: StringVectorBuilder,
+ constraint_catalog: StringVectorBuilder,
+ constraint_schema: StringVectorBuilder,
+ constraint_name: StringVectorBuilder,
+ table_catalog: StringVectorBuilder,
+ table_schema: StringVectorBuilder,
+ table_name: StringVectorBuilder,
+ column_name: StringVectorBuilder,
+ ordinal_position: UInt32VectorBuilder,
+ position_in_unique_constraint: UInt32VectorBuilder,
+ referenced_table_schema: StringVectorBuilder,
+ referenced_table_name: StringVectorBuilder,
+ referenced_column_name: StringVectorBuilder,
}
Expand description
Builds the information_schema.KEY_COLUMN_USAGE
table row by row
Columns are based on https://dev.mysql.com/doc/refman/8.2/en/information-schema-key-column-usage-table.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
source§impl InformationSchemaKeyColumnUsageBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_key_column_usage(&mut self) -> Result<RecordBatch>
Construct the information_schema.KEY_COLUMN_USAGE
virtual table
diff --git a/catalog/information_schema/memory_table/struct.MemoryTable.html b/catalog/information_schema/memory_table/struct.MemoryTable.html
index d15c6dd61c11..bd231feefa65 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTable.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTable.html
@@ -1,17 +1,17 @@
MemoryTable in catalog::information_schema::memory_table - Rust
Struct catalog::information_schema::memory_table::MemoryTable
source · pub(super) struct MemoryTable {
- table_id: TableId,
+ table_id: TableId,
table_name: &'static str,
- schema: SchemaRef,
- columns: Vec<VectorRef>,
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
}
Expand description
A memory table with specified schema and columns.
-Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTable
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
Trait Implementations§
source§impl InformationTable for MemoryTable
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTable
§impl Send for MemoryTable
§impl Sync for MemoryTable
§impl Unpin for MemoryTable
§impl !UnwindSafe for MemoryTable
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
index f23d4d962cbf..49efc1720505 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
@@ -1,8 +1,8 @@
MemoryTableBuilder in catalog::information_schema::memory_table - Rust
struct MemoryTableBuilder {
- schema: SchemaRef,
- columns: Vec<VectorRef>,
-}
Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTableBuilder
sourcefn new(schema: SchemaRef, columns: Vec<VectorRef>) -> Self
sourceasync fn memory_records(&mut self) -> Result<RecordBatch>
Construct the information_schema.{table_name}
virtual table
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
+}Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTableBuilder
§impl Send for MemoryTableBuilder
§impl Sync for MemoryTableBuilder
§impl Unpin for MemoryTableBuilder
§impl !UnwindSafe for MemoryTableBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/memory_table/tables/fn.bigint_column.html b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
index f218f0679910..39472a3957cd 100644
--- a/catalog/information_schema/memory_table/tables/fn.bigint_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
@@ -1,2 +1,2 @@
bigint_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.datetime_column.html b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
index 81aaa5b49073..10bf2cab1e77 100644
--- a/catalog/information_schema/memory_table/tables/fn.datetime_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
@@ -1,2 +1,2 @@
datetime_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
index 114ebee3f8fc..68fcf0f86951 100644
--- a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
@@ -1,4 +1,4 @@
get_schema_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
+ Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
Safety: the user MUST ensure the table schema exists, panic otherwise.
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_column.html b/catalog/information_schema/memory_table/tables/fn.string_column.html
index b512db928126..1576d18ed19e 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_column.html
@@ -1,2 +1,2 @@
string_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_columns.html b/catalog/information_schema/memory_table/tables/fn.string_columns.html
index c2a59e81331b..51a519dbc942 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_columns.html
@@ -1,2 +1,2 @@
string_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
index f8f0f4ac7399..6c21060227fb 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
@@ -1,13 +1,13 @@
InformationSchemaSchemata in catalog::information_schema::schemata - Rust
pub(super) struct InformationSchemaSchemata {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The information_schema.schemata
table implementation.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
index 89f4d3e51005..a691ab280e0e 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
@@ -1,17 +1,17 @@
InformationSchemaSchemataBuilder in catalog::information_schema::schemata - Rust
struct InformationSchemaSchemataBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- charset_names: StringVectorBuilder,
- collation_names: StringVectorBuilder,
- sql_paths: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ charset_names: StringVectorBuilder,
+ collation_names: StringVectorBuilder,
+ sql_paths: StringVectorBuilder,
}
Expand description
Builds the information_schema.schemata
table row by row
Columns are based on https://docs.pingcap.com/tidb/stable/information-schema-schemata
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
source§impl InformationSchemaSchemataBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_schemata(&mut self) -> Result<RecordBatch>
Construct the information_schema.schemata
virtual table
diff --git a/catalog/information_schema/struct.InformationTableDataSource.html b/catalog/information_schema/struct.InformationTableDataSource.html
index 06b580ea15cd..e3099a1f0612 100644
--- a/catalog/information_schema/struct.InformationTableDataSource.html
+++ b/catalog/information_schema/struct.InformationTableDataSource.html
@@ -1,9 +1,9 @@
InformationTableDataSource in catalog::information_schema - Rust
struct InformationTableDataSource {
table: Arc<dyn InformationTable + Send + Sync>,
-}
Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
+}Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
&self,
- request: ScanRequest
+ request: ScanRequest
) -> Result<SendableRecordBatchStream, BoxedError>
Retrieves a stream of record batches based on the provided scan request.Auto Trait Implementations§
§impl !RefUnwindSafe for InformationTableDataSource
§impl Send for InformationTableDataSource
§impl Sync for InformationTableDataSource
§impl Unpin for InformationTableDataSource
§impl !UnwindSafe for InformationTableDataSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index d69aeda4f68e..4efc57d73bc2 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -1,12 +1,12 @@
InformationSchemaTables in catalog::information_schema::tables - Rust
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
Struct catalog::information_schema::key_column_usage::InformationSchemaKeyColumnUsageBuilder
source · struct InformationSchemaKeyColumnUsageBuilder {Show 15 fields
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- constraint_catalog: StringVectorBuilder,
- constraint_schema: StringVectorBuilder,
- constraint_name: StringVectorBuilder,
- table_catalog: StringVectorBuilder,
- table_schema: StringVectorBuilder,
- table_name: StringVectorBuilder,
- column_name: StringVectorBuilder,
- ordinal_position: UInt32VectorBuilder,
- position_in_unique_constraint: UInt32VectorBuilder,
- referenced_table_schema: StringVectorBuilder,
- referenced_table_name: StringVectorBuilder,
- referenced_column_name: StringVectorBuilder,
+ constraint_catalog: StringVectorBuilder,
+ constraint_schema: StringVectorBuilder,
+ constraint_name: StringVectorBuilder,
+ table_catalog: StringVectorBuilder,
+ table_schema: StringVectorBuilder,
+ table_name: StringVectorBuilder,
+ column_name: StringVectorBuilder,
+ ordinal_position: UInt32VectorBuilder,
+ position_in_unique_constraint: UInt32VectorBuilder,
+ referenced_table_schema: StringVectorBuilder,
+ referenced_table_name: StringVectorBuilder,
+ referenced_column_name: StringVectorBuilder,
}
Expand description
Builds the information_schema.KEY_COLUMN_USAGE
table row by row
Columns are based on https://dev.mysql.com/doc/refman/8.2/en/information-schema-key-column-usage-table.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§constraint_catalog: StringVectorBuilder
§constraint_schema: StringVectorBuilder
§constraint_name: StringVectorBuilder
§table_catalog: StringVectorBuilder
§table_schema: StringVectorBuilder
§table_name: StringVectorBuilder
§column_name: StringVectorBuilder
§ordinal_position: UInt32VectorBuilder
§position_in_unique_constraint: UInt32VectorBuilder
§referenced_table_schema: StringVectorBuilder
§referenced_table_name: StringVectorBuilder
§referenced_column_name: StringVectorBuilder
Implementations§
source§impl InformationSchemaKeyColumnUsageBuilder
impl InformationSchemaKeyColumnUsageBuilder
fn new( + schema: SchemaRef, catalog_name: String, catalog_manager: Weak<dyn CatalogManager> ) -> Self
sourceasync fn make_key_column_usage(&mut self) -> Result<RecordBatch>
async fn make_key_column_usage(&mut self) -> Result<RecordBatch>
Construct the information_schema.KEY_COLUMN_USAGE
virtual table
Struct catalog::information_schema::memory_table::MemoryTable
source · pub(super) struct MemoryTable {
- table_id: TableId,
+ table_id: TableId,
table_name: &'static str,
- schema: SchemaRef,
- columns: Vec<VectorRef>,
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
}
Expand description
A memory table with specified schema and columns.
-Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Fields§
§table_id: TableId
§table_name: &'static str
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTable
impl MemoryTable
Trait Implementations§
source§impl InformationTable for MemoryTable
impl InformationTable for MemoryTable
Auto Trait Implementations§
impl !RefUnwindSafe for MemoryTable
impl Send for MemoryTable
impl Sync for MemoryTable
impl Unpin for MemoryTable
impl !UnwindSafe for MemoryTable
Blanket Implementations§
Trait Implementations§
source§impl InformationTable for MemoryTable
impl InformationTable for MemoryTable
Auto Trait Implementations§
impl !RefUnwindSafe for MemoryTable
impl Send for MemoryTable
impl Sync for MemoryTable
impl Unpin for MemoryTable
impl !UnwindSafe for MemoryTable
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<T> CompatExt for T
impl<T> CompatExt for T
§impl<T> Conv for T
impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
index f23d4d962cbf..49efc1720505 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
@@ -1,8 +1,8 @@
MemoryTableBuilder in catalog::information_schema::memory_table - Rust
struct MemoryTableBuilder {
- schema: SchemaRef,
- columns: Vec<VectorRef>,
-}
Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTableBuilder
sourcefn new(schema: SchemaRef, columns: Vec<VectorRef>) -> Self
sourceasync fn memory_records(&mut self) -> Result<RecordBatch>
Construct the information_schema.{table_name}
virtual table
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
+}Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTableBuilder
§impl Send for MemoryTableBuilder
§impl Sync for MemoryTableBuilder
§impl Unpin for MemoryTableBuilder
§impl !UnwindSafe for MemoryTableBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/memory_table/tables/fn.bigint_column.html b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
index f218f0679910..39472a3957cd 100644
--- a/catalog/information_schema/memory_table/tables/fn.bigint_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
@@ -1,2 +1,2 @@
bigint_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.datetime_column.html b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
index 81aaa5b49073..10bf2cab1e77 100644
--- a/catalog/information_schema/memory_table/tables/fn.datetime_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
@@ -1,2 +1,2 @@
datetime_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
index 114ebee3f8fc..68fcf0f86951 100644
--- a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
@@ -1,4 +1,4 @@
get_schema_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
+ Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
Safety: the user MUST ensure the table schema exists, panic otherwise.
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_column.html b/catalog/information_schema/memory_table/tables/fn.string_column.html
index b512db928126..1576d18ed19e 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_column.html
@@ -1,2 +1,2 @@
string_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_columns.html b/catalog/information_schema/memory_table/tables/fn.string_columns.html
index c2a59e81331b..51a519dbc942 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_columns.html
@@ -1,2 +1,2 @@
string_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
index f8f0f4ac7399..6c21060227fb 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
@@ -1,13 +1,13 @@
InformationSchemaSchemata in catalog::information_schema::schemata - Rust
pub(super) struct InformationSchemaSchemata {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The information_schema.schemata
table implementation.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
index 89f4d3e51005..a691ab280e0e 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
@@ -1,17 +1,17 @@
InformationSchemaSchemataBuilder in catalog::information_schema::schemata - Rust
struct InformationSchemaSchemataBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- charset_names: StringVectorBuilder,
- collation_names: StringVectorBuilder,
- sql_paths: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ charset_names: StringVectorBuilder,
+ collation_names: StringVectorBuilder,
+ sql_paths: StringVectorBuilder,
}
Expand description
Builds the information_schema.schemata
table row by row
Columns are based on https://docs.pingcap.com/tidb/stable/information-schema-schemata
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
source§impl InformationSchemaSchemataBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_schemata(&mut self) -> Result<RecordBatch>
Construct the information_schema.schemata
virtual table
diff --git a/catalog/information_schema/struct.InformationTableDataSource.html b/catalog/information_schema/struct.InformationTableDataSource.html
index 06b580ea15cd..e3099a1f0612 100644
--- a/catalog/information_schema/struct.InformationTableDataSource.html
+++ b/catalog/information_schema/struct.InformationTableDataSource.html
@@ -1,9 +1,9 @@
InformationTableDataSource in catalog::information_schema - Rust
struct InformationTableDataSource {
table: Arc<dyn InformationTable + Send + Sync>,
-}
Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
+}Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
&self,
- request: ScanRequest
+ request: ScanRequest
) -> Result<SendableRecordBatchStream, BoxedError>
Retrieves a stream of record batches based on the provided scan request.Auto Trait Implementations§
§impl !RefUnwindSafe for InformationTableDataSource
§impl Send for InformationTableDataSource
§impl Sync for InformationTableDataSource
§impl Unpin for InformationTableDataSource
§impl !UnwindSafe for InformationTableDataSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index d69aeda4f68e..4efc57d73bc2 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -1,12 +1,12 @@
InformationSchemaTables in catalog::information_schema::tables - Rust
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
index f23d4d962cbf..49efc1720505 100644
--- a/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
+++ b/catalog/information_schema/memory_table/struct.MemoryTableBuilder.html
@@ -1,8 +1,8 @@
MemoryTableBuilder in catalog::information_schema::memory_table - Rust
struct MemoryTableBuilder {
- schema: SchemaRef,
- columns: Vec<VectorRef>,
-}
Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTableBuilder
sourcefn new(schema: SchemaRef, columns: Vec<VectorRef>) -> Self
sourceasync fn memory_records(&mut self) -> Result<RecordBatch>
Construct the information_schema.{table_name}
virtual table
+ schema: SchemaRef,
+ columns: Vec<VectorRef>,
+}Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for MemoryTableBuilder
§impl Send for MemoryTableBuilder
§impl Sync for MemoryTableBuilder
§impl Unpin for MemoryTableBuilder
§impl !UnwindSafe for MemoryTableBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/memory_table/tables/fn.bigint_column.html b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
index f218f0679910..39472a3957cd 100644
--- a/catalog/information_schema/memory_table/tables/fn.bigint_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
@@ -1,2 +1,2 @@
bigint_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.datetime_column.html b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
index 81aaa5b49073..10bf2cab1e77 100644
--- a/catalog/information_schema/memory_table/tables/fn.datetime_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
@@ -1,2 +1,2 @@
datetime_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
index 114ebee3f8fc..68fcf0f86951 100644
--- a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
@@ -1,4 +1,4 @@
get_schema_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
+ Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
Safety: the user MUST ensure the table schema exists, panic otherwise.
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_column.html b/catalog/information_schema/memory_table/tables/fn.string_column.html
index b512db928126..1576d18ed19e 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_column.html
@@ -1,2 +1,2 @@
string_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_columns.html b/catalog/information_schema/memory_table/tables/fn.string_columns.html
index c2a59e81331b..51a519dbc942 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_columns.html
@@ -1,2 +1,2 @@
string_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
index f8f0f4ac7399..6c21060227fb 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
@@ -1,13 +1,13 @@
InformationSchemaSchemata in catalog::information_schema::schemata - Rust
pub(super) struct InformationSchemaSchemata {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The information_schema.schemata
table implementation.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
index 89f4d3e51005..a691ab280e0e 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
@@ -1,17 +1,17 @@
InformationSchemaSchemataBuilder in catalog::information_schema::schemata - Rust
struct InformationSchemaSchemataBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- charset_names: StringVectorBuilder,
- collation_names: StringVectorBuilder,
- sql_paths: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ charset_names: StringVectorBuilder,
+ collation_names: StringVectorBuilder,
+ sql_paths: StringVectorBuilder,
}
Expand description
Builds the information_schema.schemata
table row by row
Columns are based on https://docs.pingcap.com/tidb/stable/information-schema-schemata
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
source§impl InformationSchemaSchemataBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_schemata(&mut self) -> Result<RecordBatch>
Construct the information_schema.schemata
virtual table
diff --git a/catalog/information_schema/struct.InformationTableDataSource.html b/catalog/information_schema/struct.InformationTableDataSource.html
index 06b580ea15cd..e3099a1f0612 100644
--- a/catalog/information_schema/struct.InformationTableDataSource.html
+++ b/catalog/information_schema/struct.InformationTableDataSource.html
@@ -1,9 +1,9 @@
InformationTableDataSource in catalog::information_schema - Rust
struct InformationTableDataSource {
table: Arc<dyn InformationTable + Send + Sync>,
-}
Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
+}Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
&self,
- request: ScanRequest
+ request: ScanRequest
) -> Result<SendableRecordBatchStream, BoxedError>
Retrieves a stream of record batches based on the provided scan request.Auto Trait Implementations§
§impl !RefUnwindSafe for InformationTableDataSource
§impl Send for InformationTableDataSource
§impl Sync for InformationTableDataSource
§impl Unpin for InformationTableDataSource
§impl !UnwindSafe for InformationTableDataSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index d69aeda4f68e..4efc57d73bc2 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -1,12 +1,12 @@
InformationSchemaTables in catalog::information_schema::tables - Rust
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
struct MemoryTableBuilder {
- schema: SchemaRef,
- columns: Vec<VectorRef>,
-}
Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
source§impl MemoryTableBuilder
impl MemoryTableBuilder
fn new(schema: SchemaRef, columns: Vec<VectorRef>) -> Self
sourceasync fn memory_records(&mut self) -> Result<RecordBatch>
async fn memory_records(&mut self) -> Result<RecordBatch>
Construct the information_schema.{table_name}
virtual table
Fields§
§schema: SchemaRef
§columns: Vec<VectorRef>
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for MemoryTableBuilder
impl Send for MemoryTableBuilder
impl Sync for MemoryTableBuilder
impl Unpin for MemoryTableBuilder
impl !UnwindSafe for MemoryTableBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/memory_table/tables/fn.bigint_column.html b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
index f218f0679910..39472a3957cd 100644
--- a/catalog/information_schema/memory_table/tables/fn.bigint_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
@@ -1,2 +1,2 @@
bigint_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.datetime_column.html b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
index 81aaa5b49073..10bf2cab1e77 100644
--- a/catalog/information_schema/memory_table/tables/fn.datetime_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
@@ -1,2 +1,2 @@
datetime_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
index 114ebee3f8fc..68fcf0f86951 100644
--- a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
@@ -1,4 +1,4 @@
get_schema_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
+ Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
Safety: the user MUST ensure the table schema exists, panic otherwise.
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_column.html b/catalog/information_schema/memory_table/tables/fn.string_column.html
index b512db928126..1576d18ed19e 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_column.html
@@ -1,2 +1,2 @@
string_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_columns.html b/catalog/information_schema/memory_table/tables/fn.string_columns.html
index c2a59e81331b..51a519dbc942 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_columns.html
@@ -1,2 +1,2 @@
string_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
index f8f0f4ac7399..6c21060227fb 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
@@ -1,13 +1,13 @@
InformationSchemaSchemata in catalog::information_schema::schemata - Rust
pub(super) struct InformationSchemaSchemata {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The information_schema.schemata
table implementation.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
index 89f4d3e51005..a691ab280e0e 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
@@ -1,17 +1,17 @@
InformationSchemaSchemataBuilder in catalog::information_schema::schemata - Rust
struct InformationSchemaSchemataBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- charset_names: StringVectorBuilder,
- collation_names: StringVectorBuilder,
- sql_paths: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ charset_names: StringVectorBuilder,
+ collation_names: StringVectorBuilder,
+ sql_paths: StringVectorBuilder,
}
Expand description
Builds the information_schema.schemata
table row by row
Columns are based on https://docs.pingcap.com/tidb/stable/information-schema-schemata
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
source§impl InformationSchemaSchemataBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_schemata(&mut self) -> Result<RecordBatch>
Construct the information_schema.schemata
virtual table
diff --git a/catalog/information_schema/struct.InformationTableDataSource.html b/catalog/information_schema/struct.InformationTableDataSource.html
index 06b580ea15cd..e3099a1f0612 100644
--- a/catalog/information_schema/struct.InformationTableDataSource.html
+++ b/catalog/information_schema/struct.InformationTableDataSource.html
@@ -1,9 +1,9 @@
InformationTableDataSource in catalog::information_schema - Rust
struct InformationTableDataSource {
table: Arc<dyn InformationTable + Send + Sync>,
-}
Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
+}Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
&self,
- request: ScanRequest
+ request: ScanRequest
) -> Result<SendableRecordBatchStream, BoxedError>
Retrieves a stream of record batches based on the provided scan request.Auto Trait Implementations§
§impl !RefUnwindSafe for InformationTableDataSource
§impl Send for InformationTableDataSource
§impl Sync for InformationTableDataSource
§impl Unpin for InformationTableDataSource
§impl !UnwindSafe for InformationTableDataSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index d69aeda4f68e..4efc57d73bc2 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -1,12 +1,12 @@
InformationSchemaTables in catalog::information_schema::tables - Rust
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/memory_table/tables/fn.bigint_column.html b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
index f218f0679910..39472a3957cd 100644
--- a/catalog/information_schema/memory_table/tables/fn.bigint_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.bigint_column.html
@@ -1,2 +1,2 @@
bigint_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.datetime_column.html b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
index 81aaa5b49073..10bf2cab1e77 100644
--- a/catalog/information_schema/memory_table/tables/fn.datetime_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.datetime_column.html
@@ -1,2 +1,2 @@
datetime_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
index 114ebee3f8fc..68fcf0f86951 100644
--- a/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.get_schema_columns.html
@@ -1,4 +1,4 @@
get_schema_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
+ Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
Safety: the user MUST ensure the table schema exists, panic otherwise.
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_column.html b/catalog/information_schema/memory_table/tables/fn.string_column.html
index b512db928126..1576d18ed19e 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_column.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_column.html
@@ -1,2 +1,2 @@
string_column in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
\ No newline at end of file
diff --git a/catalog/information_schema/memory_table/tables/fn.string_columns.html b/catalog/information_schema/memory_table/tables/fn.string_columns.html
index c2a59e81331b..51a519dbc942 100644
--- a/catalog/information_schema/memory_table/tables/fn.string_columns.html
+++ b/catalog/information_schema/memory_table/tables/fn.string_columns.html
@@ -1,2 +1,2 @@
string_columns in catalog::information_schema::memory_table::tables - Rust
- Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
+ Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
\ No newline at end of file
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
index f8f0f4ac7399..6c21060227fb 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemata.html
@@ -1,13 +1,13 @@
InformationSchemaSchemata in catalog::information_schema::schemata - Rust
pub(super) struct InformationSchemaSchemata {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The information_schema.schemata
table implementation.
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaSchemata
§impl Send for InformationSchemaSchemata
§impl Sync for InformationSchemaSchemata
§impl Unpin for InformationSchemaSchemata
§impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
index 89f4d3e51005..a691ab280e0e 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
@@ -1,17 +1,17 @@
InformationSchemaSchemataBuilder in catalog::information_schema::schemata - Rust
struct InformationSchemaSchemataBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- charset_names: StringVectorBuilder,
- collation_names: StringVectorBuilder,
- sql_paths: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ charset_names: StringVectorBuilder,
+ collation_names: StringVectorBuilder,
+ sql_paths: StringVectorBuilder,
}
Expand description
Builds the information_schema.schemata
table row by row
Columns are based on https://docs.pingcap.com/tidb/stable/information-schema-schemata
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
source§impl InformationSchemaSchemataBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_schemata(&mut self) -> Result<RecordBatch>
Construct the information_schema.schemata
virtual table
diff --git a/catalog/information_schema/struct.InformationTableDataSource.html b/catalog/information_schema/struct.InformationTableDataSource.html
index 06b580ea15cd..e3099a1f0612 100644
--- a/catalog/information_schema/struct.InformationTableDataSource.html
+++ b/catalog/information_schema/struct.InformationTableDataSource.html
@@ -1,9 +1,9 @@
InformationTableDataSource in catalog::information_schema - Rust
struct InformationTableDataSource {
table: Arc<dyn InformationTable + Send + Sync>,
-}
Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
+}Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
&self,
- request: ScanRequest
+ request: ScanRequest
) -> Result<SendableRecordBatchStream, BoxedError>
Retrieves a stream of record batches based on the provided scan request.Auto Trait Implementations§
§impl !RefUnwindSafe for InformationTableDataSource
§impl Send for InformationTableDataSource
§impl Sync for InformationTableDataSource
§impl Unpin for InformationTableDataSource
§impl !UnwindSafe for InformationTableDataSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index d69aeda4f68e..4efc57d73bc2 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -1,12 +1,12 @@
InformationSchemaTables in catalog::information_schema::tables - Rust
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
Function catalog::information_schema::memory_table::tables::bigint_column
source · fn bigint_column(name: &str) -> ColumnSchema
Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
Function catalog::information_schema::memory_table::tables::datetime_column
source · fn datetime_column(name: &str) -> ColumnSchema
Function catalog::information_schema::memory_table::tables::get_schema_columns
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Find the schema and columns by the table_name, only valid for memory tables.
+ Find the schema and columns by the table_name, only valid for memory tables.
Safety: the user MUST ensure the table schema exists, panic otherwise.Function catalog::
source · pub fn get_schema_columns(table_name: &str) -> (SchemaRef, Vec<VectorRef>)
Expand description
Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
Function catalog::information_schema::memory_table::tables::string_column
source · fn string_column(name: &str) -> ColumnSchema
Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
Function catalog::information_schema::memory_table::tables::string_columns
source · fn string_columns(names: &[&'static str]) -> Vec<ColumnSchema>
pub(super) struct InformationSchemaSchemata {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
}
Expand description
The information_schema.schemata
table implementation.
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for InformationSchemaSchemata
impl Send for InformationSchemaSchemata
impl Sync for InformationSchemaSchemata
impl Unpin for InformationSchemaSchemata
impl !UnwindSafe for InformationSchemaSchemata
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for InformationSchemaSchemata
impl Send for InformationSchemaSchemata
impl Sync for InformationSchemaSchemata
impl Unpin for InformationSchemaSchemata
impl !UnwindSafe for InformationSchemaSchemata
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<T> CompatExt for T
impl<T> CompatExt for T
§impl<T> Conv for T
impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
index 89f4d3e51005..a691ab280e0e 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
@@ -1,17 +1,17 @@
InformationSchemaSchemataBuilder in catalog::information_schema::schemata - Rust
struct InformationSchemaSchemataBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- charset_names: StringVectorBuilder,
- collation_names: StringVectorBuilder,
- sql_paths: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ charset_names: StringVectorBuilder,
+ collation_names: StringVectorBuilder,
+ sql_paths: StringVectorBuilder,
}
Expand description
Builds the information_schema.schemata
table row by row
Columns are based on https://docs.pingcap.com/tidb/stable/information-schema-schemata
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
source§impl InformationSchemaSchemataBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_schemata(&mut self) -> Result<RecordBatch>
Construct the information_schema.schemata
virtual table
diff --git a/catalog/information_schema/struct.InformationTableDataSource.html b/catalog/information_schema/struct.InformationTableDataSource.html
index 06b580ea15cd..e3099a1f0612 100644
--- a/catalog/information_schema/struct.InformationTableDataSource.html
+++ b/catalog/information_schema/struct.InformationTableDataSource.html
@@ -1,9 +1,9 @@
InformationTableDataSource in catalog::information_schema - Rust
struct InformationTableDataSource {
table: Arc<dyn InformationTable + Send + Sync>,
-}
Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
+}Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
&self,
- request: ScanRequest
+ request: ScanRequest
) -> Result<SendableRecordBatchStream, BoxedError>
Retrieves a stream of record batches based on the provided scan request.Auto Trait Implementations§
§impl !RefUnwindSafe for InformationTableDataSource
§impl Send for InformationTableDataSource
§impl Sync for InformationTableDataSource
§impl Unpin for InformationTableDataSource
§impl !UnwindSafe for InformationTableDataSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index d69aeda4f68e..4efc57d73bc2 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -1,12 +1,12 @@
InformationSchemaTables in catalog::information_schema::tables - Rust
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
index 89f4d3e51005..a691ab280e0e 100644
--- a/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
+++ b/catalog/information_schema/schemata/struct.InformationSchemaSchemataBuilder.html
@@ -1,17 +1,17 @@
InformationSchemaSchemataBuilder in catalog::information_schema::schemata - Rust
struct InformationSchemaSchemataBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- charset_names: StringVectorBuilder,
- collation_names: StringVectorBuilder,
- sql_paths: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ charset_names: StringVectorBuilder,
+ collation_names: StringVectorBuilder,
+ sql_paths: StringVectorBuilder,
}
Expand description
Builds the information_schema.schemata
table row by row
Columns are based on https://docs.pingcap.com/tidb/stable/information-schema-schemata
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
source§impl InformationSchemaSchemataBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_schemata(&mut self) -> Result<RecordBatch>
Construct the information_schema.schemata
virtual table
diff --git a/catalog/information_schema/struct.InformationTableDataSource.html b/catalog/information_schema/struct.InformationTableDataSource.html
index 06b580ea15cd..e3099a1f0612 100644
--- a/catalog/information_schema/struct.InformationTableDataSource.html
+++ b/catalog/information_schema/struct.InformationTableDataSource.html
@@ -1,9 +1,9 @@
InformationTableDataSource in catalog::information_schema - Rust
struct InformationTableDataSource {
table: Arc<dyn InformationTable + Send + Sync>,
-}
Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
+}Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
&self,
- request: ScanRequest
+ request: ScanRequest
) -> Result<SendableRecordBatchStream, BoxedError>
Retrieves a stream of record batches based on the provided scan request.Auto Trait Implementations§
§impl !RefUnwindSafe for InformationTableDataSource
§impl Send for InformationTableDataSource
§impl Sync for InformationTableDataSource
§impl Unpin for InformationTableDataSource
§impl !UnwindSafe for InformationTableDataSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index d69aeda4f68e..4efc57d73bc2 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -1,12 +1,12 @@
InformationSchemaTables in catalog::information_schema::tables - Rust
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
struct InformationSchemaSchemataBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- charset_names: StringVectorBuilder,
- collation_names: StringVectorBuilder,
- sql_paths: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ charset_names: StringVectorBuilder,
+ collation_names: StringVectorBuilder,
+ sql_paths: StringVectorBuilder,
}
Expand description
Builds the information_schema.schemata
table row by row
Columns are based on https://docs.pingcap.com/tidb/stable/information-schema-schemata
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§charset_names: StringVectorBuilder
§collation_names: StringVectorBuilder
§sql_paths: StringVectorBuilder
Implementations§
source§impl InformationSchemaSchemataBuilder
impl InformationSchemaSchemataBuilder
fn new( + schema: SchemaRef, catalog_name: String, catalog_manager: Weak<dyn CatalogManager> ) -> Self
sourceasync fn make_schemata(&mut self) -> Result<RecordBatch>
async fn make_schemata(&mut self) -> Result<RecordBatch>
Construct the information_schema.schemata
virtual table
struct InformationTableDataSource {
table: Arc<dyn InformationTable + Send + Sync>,
-}
Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
impl InformationTableDataSource
fn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
fn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
impl DataSource for InformationTableDataSource
source§fn get_stream(
+}Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
&self,
- request: ScanRequest
+ request: ScanRequest
) -> Result<SendableRecordBatchStream, BoxedError>
Retrieves a stream of record batches based on the provided scan request.Auto Trait Implementations§
§impl !RefUnwindSafe for InformationTableDataSource
§impl Send for InformationTableDataSource
§impl Sync for InformationTableDataSource
§impl Unpin for InformationTableDataSource
§impl !UnwindSafe for InformationTableDataSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index d69aeda4f68e..4efc57d73bc2 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -1,12 +1,12 @@
InformationSchemaTables in catalog::information_schema::tables - Rust
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
fn get_stream(
+}Fields§
§table: Arc<dyn InformationTable + Send + Sync>
Implementations§
source§impl InformationTableDataSource
sourcefn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
sourcefn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
Trait Implementations§
source§impl DataSource for InformationTableDataSource
source§fn get_stream(
&self,
- request: ScanRequest
+ request: ScanRequest
) -> Result<SendableRecordBatchStream, BoxedError>
Retrieves a stream of record batches based on the provided scan request.Auto Trait Implementations§
§impl !RefUnwindSafe for InformationTableDataSource
§impl Send for InformationTableDataSource
§impl Sync for InformationTableDataSource
§impl Unpin for InformationTableDataSource
§impl !UnwindSafe for InformationTableDataSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index d69aeda4f68e..4efc57d73bc2 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -1,12 +1,12 @@
InformationSchemaTables in catalog::information_schema::tables - Rust
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
source§impl InformationTableDataSource
impl InformationTableDataSource
fn new(table: Arc<dyn InformationTable + Send + Sync>) -> Self
fn try_project(&self, projection: &[usize]) -> Result<SchemaRef, BoxedError>
source§impl DataSource for InformationTableDataSource
impl DataSource for InformationTableDataSource
source§fn get_stream(
&self,
- request: ScanRequest
+ request: ScanRequest
) -> Result<SendableRecordBatchStream, BoxedError>
fn get_stream( &self, - request: ScanRequest + request: ScanRequest ) -> Result<SendableRecordBatchStream, BoxedError>
impl !RefUnwindSafe for InformationTableDataSource
impl Send for InformationTableDataSource
impl Sync for InformationTableDataSource
impl Unpin for InformationTableDataSource
impl !UnwindSafe for InformationTableDataSource
source§impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index d69aeda4f68e..4efc57d73bc2 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -1,12 +1,12 @@
InformationSchemaTables in catalog::information_schema::tables - Rust
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index d69aeda4f68e..4efc57d73bc2 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -1,12 +1,12 @@
InformationSchemaTables in catalog::information_schema::tables - Rust
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
Struct catalog::information_schema::tables::InformationSchemaTables
source · pub(super) struct InformationSchemaTables {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
-}
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
impl InformationSchemaTables
pub(super) fn new(
+}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTables
§impl Send for InformationSchemaTables
§impl Sync for InformationSchemaTables
§impl Unpin for InformationSchemaTables
§impl !UnwindSafe for InformationSchemaTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
impl !RefUnwindSafe for InformationSchemaTables
impl Send for InformationSchemaTables
impl Sync for InformationSchemaTables
impl Unpin for InformationSchemaTables
impl !UnwindSafe for InformationSchemaTables
impl !RefUnwindSafe for InformationSchemaTables
impl Send for InformationSchemaTables
impl Sync for InformationSchemaTables
impl Unpin for InformationSchemaTables
impl !UnwindSafe for InformationSchemaTables
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<T> CompatExt for T
impl<T> CompatExt for T
§impl<T> Conv for T
impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
index 3766aa025a8e..b4ec4c07e354 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -1,18 +1,18 @@
InformationSchemaTablesBuilder in catalog::information_schema::tables - Rust
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
sourcefn new(
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 981e3d5b4fdd..ed80dee7b46e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -1,11 +1,11 @@
InformationTable in catalog::information_schema - Rust
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
+}Required Methods§
sourcefn table_id(&self) -> TableId
sourcefn table_name(&self) -> &'static str
sourcefn schema(&self) -> SchemaRef
sourcefn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
sourcefn table_type(&self) -> TableType
Implementors§
\ No newline at end of file
diff --git a/client/error/enum.Error.html b/client/error/enum.Error.html
index 019bc4019ee5..d9828dae8cd7 100644
--- a/client/error/enum.Error.html
+++ b/client/error/enum.Error.html
@@ -19,7 +19,7 @@
},
ColumnDataType {
location: Location,
- source: Error,
+ source: Error,
},
IllegalGrpcClientState {
err_msg: String,
@@ -49,7 +49,7 @@
err_msg: String,
location: Location,
},
-}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
struct InformationSchemaTablesBuilder {
- schema: SchemaRef,
+ schema: SchemaRef,
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>,
- catalog_names: StringVectorBuilder,
- schema_names: StringVectorBuilder,
- table_names: StringVectorBuilder,
- table_types: StringVectorBuilder,
- table_ids: UInt32VectorBuilder,
- engines: StringVectorBuilder,
+ catalog_names: StringVectorBuilder,
+ schema_names: StringVectorBuilder,
+ table_names: StringVectorBuilder,
+ table_types: StringVectorBuilder,
+ table_ids: UInt32VectorBuilder,
+ engines: StringVectorBuilder,
}
Expand description
Builds the information_schema.TABLE
table row by row
Columns are based on https://www.postgresql.org/docs/current/infoschema-columns.html
-Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
§catalog_names: StringVectorBuilder
§schema_names: StringVectorBuilder
§table_names: StringVectorBuilder
§table_types: StringVectorBuilder
§table_ids: UInt32VectorBuilder
§engines: StringVectorBuilder
Implementations§
source§impl InformationSchemaTablesBuilder
impl InformationSchemaTablesBuilder
fn new( + schema: SchemaRef, catalog_name: String, catalog_manager: Weak<dyn CatalogManager> ) -> Self
sourceasync fn make_tables(&mut self) -> Result<RecordBatch>
async fn make_tables(&mut self) -> Result<RecordBatch>
Construct the information_schema.tables
virtual table
Trait catalog::information_schema::InformationTable
source · trait InformationTable {
// Required methods
- fn table_id(&self) -> TableId;
+ fn table_id(&self) -> TableId;
fn table_name(&self) -> &'static str;
- fn schema(&self) -> SchemaRef;
+ fn schema(&self) -> SchemaRef;
fn to_stream(&self) -> Result<SendableRecordBatchStream>;
// Provided method
fn table_type(&self) -> TableType { ... }
-}
Required Methods§
fn table_id(&self) -> TableId
fn table_name(&self) -> &'static str
fn schema(&self) -> SchemaRef
fn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
fn table_type(&self) -> TableType
Implementors§
Required Methods§
fn table_id(&self) -> TableId
fn table_name(&self) -> &'static str
fn schema(&self) -> SchemaRef
fn to_stream(&self) -> Result<SendableRecordBatchStream>
Provided Methods§
fn table_type(&self) -> TableType
Implementors§
Variants§
IllegalFlightMessages
FlightGet
HandleRequest
ConvertFlightData
ColumnDataType
IllegalGrpcClientState
MissingField
CreateChannel
RegionServer
Server
IllegalDatabaseResponse
ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
impl Error for Errorwhere
+}Variants§
§IllegalFlightMessages
§FlightGet
§HandleRequest
§ConvertFlightData
§ColumnDataType
§IllegalGrpcClientState
§MissingField
§CreateChannel
§RegionServer
§Server
§IllegalDatabaseResponse
§ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcastingsource§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
Variants§
IllegalFlightMessages
FlightGet
HandleRequest
ConvertFlightData
ColumnDataType
IllegalGrpcClientState
MissingField
CreateChannel
RegionServer
Server
IllegalDatabaseResponse
ClientStreaming
Implementations§
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn description(&self) -> &str
fn description(&self) -> &str
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
source§impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
impl<__T0> IntoError<Error> for ClientStreamingSnafu<__T0>
source§impl IntoError<Error> for ColumnDataTypeSnafu
impl IntoError<Error> for ColumnDataTypeSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
impl IntoError<Error> for ConvertFlightDataSnafu
source§impl IntoError<Error> for ConvertFlightDataSnafu
impl IntoError<Error> for ConvertFlightDataSnafu
source§impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
impl<__T0> IntoError<Error> for CreateChannelSnafu<__T0>
source§impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
impl<__T0, __T1> IntoError<Error> for FlightGetSnafu<__T0, __T1>where
diff --git a/client/error/struct.ColumnDataTypeSnafu.html b/client/error/struct.ColumnDataTypeSnafu.html
index 4a8115ddf286..59043506cf85 100644
--- a/client/error/struct.ColumnDataTypeSnafu.html
+++ b/client/error/struct.ColumnDataTypeSnafu.html
@@ -1,7 +1,7 @@
ColumnDataTypeSnafu in client::error - Rust
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
source§impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for ColumnDataTypeSnafu
§impl Send for ColumnDataTypeSnafu
§impl Sync for ColumnDataTypeSnafu
§impl Unpin for ColumnDataTypeSnafu
§impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> CompatExt for T
§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
Struct client::error::ColumnDataTypeSnafu
source · pub struct ColumnDataTypeSnafu;
Expand description
SNAFU context selector for the Error::ColumnDataType
variant
Trait Implementations§
source§impl Clone for ColumnDataTypeSnafu
impl Clone for ColumnDataTypeSnafu
source§fn clone(&self) -> ColumnDataTypeSnafu
fn clone(&self) -> ColumnDataTypeSnafu
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ColumnDataTypeSnafu
impl Debug for ColumnDataTypeSnafu
source§impl IntoError<Error> for ColumnDataTypeSnafu
impl IntoError<Error> for ColumnDataTypeSnafu
impl Copy for ColumnDataTypeSnafu
Auto Trait Implementations§
impl RefUnwindSafe for ColumnDataTypeSnafu
impl Send for ColumnDataTypeSnafu
impl Sync for ColumnDataTypeSnafu
impl Unpin for ColumnDataTypeSnafu
impl UnwindSafe for ColumnDataTypeSnafu
Blanket Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ColumnDataTypeSnafu
impl Send for ColumnDataTypeSnafu
impl Sync for ColumnDataTypeSnafu
impl Unpin for ColumnDataTypeSnafu
impl UnwindSafe for ColumnDataTypeSnafu
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<T> CompatExt for T
impl<T> CompatExt for T
§impl<T> Conv for T
impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
fn conv<T>(self) -> Twhere
diff --git a/client/index.html b/client/index.html
index 6f9b98518331..80a0b57bbab7 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1,3 +1,3 @@
client - Rust
- Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
+ Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
\ No newline at end of file
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
index 8813598ac6df..f8032b7ccdac 100644
--- a/client/struct.RecordBatches.html
+++ b/client/struct.RecordBatches.html
@@ -1,17 +1,17 @@
RecordBatches in client - Rust
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Aliases
Struct client::RecordBatches
pub struct RecordBatches {
- pub(crate) schema: Arc<Schema>,
+ pub(crate) schema: Arc<Schema>,
pub(crate) batches: Vec<RecordBatch>,
-}
Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
impl RecordBatches
pub fn try_from_columns<I>(
- schema: Arc<Schema>,
+}Fields§
§schema: Arc<Schema>
§batches: Vec<RecordBatch>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema>,
columns: I
) -> Result<RecordBatches, Error>
pub async fn try_collect(
+ I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect(
stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new(
- schema: Arc<Schema>,
+ schema: Arc<Schema>,
batches: Vec<RecordBatch>
-) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream(
&self
) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
§impl RecordBatches
impl RecordBatches
pub fn try_from_columns<I>( + schema: Arc<Schema>, columns: I ) -> Result<RecordBatches, Error>
pub async fn try_collect( + I: IntoIterator<Item = Arc<dyn Vector>>,
pub async fn try_collect( stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>> ) -> Result<RecordBatches, Error>
pub fn empty() -> RecordBatches
pub fn iter(&self) -> impl Iterator<Item = &RecordBatch>
pub fn pretty_print(&self) -> Result<String, Error>
pub fn try_new( - schema: Arc<Schema>, + schema: Arc<Schema>, batches: Vec<RecordBatch> -) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream( +) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema>
pub fn take(self) -> Vec<RecordBatch>
pub fn as_stream( &self ) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send>>
pub fn into_df_stream(
self
diff --git a/common_function/function/trait.Function.html b/common_function/function/trait.Function.html
index 3e2c2dd1c2ea..9c5053c0ae2d 100644
--- a/common_function/function/trait.Function.html
+++ b/common_function/function/trait.Function.html
@@ -4,23 +4,23 @@
fn name(&self) -> &str;
fn return_type(
&self,
- input_types: &[ConcreteDataType]
- ) -> Result<ConcreteDataType>;
+ input_types: &[ConcreteDataType]
+ ) -> Result<ConcreteDataType>;
fn signature(&self) -> Signature;
fn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
- ) -> Result<VectorRef>;
+ _columns: &[VectorRef]
+ ) -> Result<VectorRef>;
}Expand description
Scalar function trait, modified from databend to adapt datafusion
TODO(dennis): optimize function by it’s features such as monotonicity etc.
Required Methods§
sourcefn return_type(
&self,
- input_types: &[ConcreteDataType]
-) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
\ No newline at end of file
diff --git a/common_function/helper/fn.one_of_sigs2.html b/common_function/helper/fn.one_of_sigs2.html
index e578675bedc3..ba3a8e64870d 100644
--- a/common_function/helper/fn.one_of_sigs2.html
+++ b/common_function/helper/fn.one_of_sigs2.html
@@ -1,6 +1,6 @@
one_of_sigs2 in common_function::helper - Rust
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
\ No newline at end of file
diff --git a/common_function/scalars/aggregate/argmax/struct.Argmax.html b/common_function/scalars/aggregate/argmax/struct.Argmax.html
index 0e6d6ca580b7..098934d6496b 100644
--- a/common_function/scalars/aggregate/argmax/struct.Argmax.html
+++ b/common_function/scalars/aggregate/argmax/struct.Argmax.html
@@ -4,7 +4,7 @@
n: u64,
}Fields§
§max: Option<T>
§n: u64
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmax<T>where
T: Send,
§impl<T> Sync for Argmax<T>where
T: Sync,
§impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
Expand description
Scalar function trait, modified from databend to adapt datafusion TODO(dennis): optimize function by it’s features such as monotonicity etc.
fn return_type( &self, - input_types: &[ConcreteDataType] -) -> Result<ConcreteDataType>
fn signature(&self) -> Signature
sourcefn eval(
+ input_types: &[ConcreteDataType]
+) -> Result<ConcreteDataType>
sourcefn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef]
+) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
source§impl Function for DateAddFunction
source§impl Function for DateSubFunction
source§impl Function for PowFunction
source§impl Function for RateFunction
source§impl Function for RangeFunction
source§impl Function for ClipFunction
source§impl Function for GreatestFunction
source§impl Function for ToUnixtimeFunction
source§impl Function for BuildFunction
fn eval( + input_types: &[ConcreteDataType] +) -> Result<ConcreteDataType>
fn signature(&self) -> Signature
sourcefn eval(
&self,
_func_ctx: FunctionContext,
- _columns: &[VectorRef]
-) -> Result<VectorRef>
fn eval( &self, _func_ctx: FunctionContext, - _columns: &[VectorRef] -) -> Result<VectorRef>
Evaluate the function, e.g. run/execute the function.
+ _columns: &[VectorRef] +) -> Result<VectorRef>Evaluate the function, e.g. run/execute the function.
Implementors§
impl Function for DateAddFunction
impl Function for DateSubFunction
impl Function for PowFunction
impl Function for RateFunction
impl Function for RangeFunction
impl Function for ClipFunction
impl Function for GreatestFunction
impl Function for ToUnixtimeFunction
impl Function for BuildFunction
Function common_function::helper::one_of_sigs2
source · pub fn one_of_sigs2(
- args1: Vec<ConcreteDataType>,
- args2: Vec<ConcreteDataType>
+ args1: Vec<ConcreteDataType>,
+ args2: Vec<ConcreteDataType>
) -> Signature
Expand description
Create a function signature with oneof signatures of interleaving two arguments.
source§impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
impl<T> Accumulator for Argmax<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
fn state(&self) -> Result<Vec<Value>>
source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
impl<T> RefUnwindSafe for Argmax<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
fn state(&self) -> Result<Vec<Value>>
source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
impl<T> RefUnwindSafe for Argmax<T>where
T: RefUnwindSafe,
impl<T> Send for Argmax<T>where
T: Send,
impl<T> Sync for Argmax<T>where
T: Sync,
impl<T> Unpin for Argmax<T>where
diff --git a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
index c1b230f67bb2..ad370f22adac 100644
--- a/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmax/struct.ArgmaxAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgmaxAccumulatorCreator in common_function::scalars::aggregate::argmax - Rust
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
Struct common_function::scalars::aggregate::argmax::ArgmaxAccumulatorCreator
source · pub struct ArgmaxAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgmaxAccumulatorCreator
§impl Send for ArgmaxAccumulatorCreator
§impl Sync for ArgmaxAccumulatorCreator
§impl Unpin for ArgmaxAccumulatorCreator
§impl UnwindSafe for ArgmaxAccumulatorCreator
Blanket Implementations§
source§impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
impl AggrFuncTypeStore for ArgmaxAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
fn set_input_types( &self, - input_types: Vec<ConcreteDataType> + input_types: Vec<ConcreteDataType> ) -> Result<(), QueryError>
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
fn creator(&self) -> AccumulatorCreatorFunction
source§fn output_type(&self) -> Result<ConcreteDataType>
fn output_type(&self) -> Result<ConcreteDataType>
source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
fn state_types(&self) -> Result<Vec<ConcreteDataType>>
source§impl Debug for ArgmaxAccumulatorCreator
impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
fn default() -> ArgmaxAccumulatorCreator
impl RefUnwindSafe for ArgmaxAccumulatorCreator
impl Send for ArgmaxAccumulatorCreator
impl Sync for ArgmaxAccumulatorCreator
impl Unpin for ArgmaxAccumulatorCreator
impl UnwindSafe for ArgmaxAccumulatorCreator
source§impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
impl AggregateFunctionCreator for ArgmaxAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
fn creator(&self) -> AccumulatorCreatorFunction
source§fn output_type(&self) -> Result<ConcreteDataType>
fn output_type(&self) -> Result<ConcreteDataType>
source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
fn state_types(&self) -> Result<Vec<ConcreteDataType>>
source§impl Debug for ArgmaxAccumulatorCreator
impl Debug for ArgmaxAccumulatorCreator
source§impl Default for ArgmaxAccumulatorCreator
impl Default for ArgmaxAccumulatorCreator
source§fn default() -> ArgmaxAccumulatorCreator
fn default() -> ArgmaxAccumulatorCreator
Auto Trait Implementations§
impl RefUnwindSafe for ArgmaxAccumulatorCreator
impl Send for ArgmaxAccumulatorCreator
impl Sync for ArgmaxAccumulatorCreator
impl Unpin for ArgmaxAccumulatorCreator
impl UnwindSafe for ArgmaxAccumulatorCreator
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<T> Conv for T
impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/argmin/struct.Argmin.html b/common_function/scalars/aggregate/argmin/struct.Argmin.html
index 27690470a001..2c8a27f26f6b 100644
--- a/common_function/scalars/aggregate/argmin/struct.Argmin.html
+++ b/common_function/scalars/aggregate/argmin/struct.Argmin.html
@@ -4,7 +4,7 @@
n: u32,
}Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
§impl<T> Send for Argmin<T>where
T: Send,
§impl<T> Sync for Argmin<T>where
T: Sync,
§impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
Fields§
§min: Option<T>
§n: u32
Implementations§
Trait Implementations§
source§impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
impl<T> Accumulator for Argmin<T>where
- T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
fn state(&self) -> Result<Vec<Value>>
source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Argmin<T>where
+ T: WrapperType + PartialOrd,
source§fn state(&self) -> Result<Vec<Value>>
fn state(&self) -> Result<Vec<Value>>
source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Argmin<T>where
T: RefUnwindSafe,
impl<T> Send for Argmin<T>where
T: Send,
impl<T> Sync for Argmin<T>where
T: Sync,
impl<T> Unpin for Argmin<T>where
diff --git a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
index 861f50136952..2bb877e1fe9b 100644
--- a/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/argmin/struct.ArgminAccumulatorCreator.html
@@ -1,11 +1,11 @@
ArgminAccumulatorCreator in common_function::scalars::aggregate::argmin - Rust
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
Struct common_function::scalars::aggregate::argmin::ArgminAccumulatorCreator
source · pub struct ArgminAccumulatorCreator {
- input_types: ArcSwapOption<Vec<ConcreteDataType>>,
-}
Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
source§fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
fn set_input_types(
+ input_types: ArcSwapOption<Vec<ConcreteDataType>>,
+}Fields§
§input_types: ArcSwapOption<Vec<ConcreteDataType>>
Trait Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
Get the input data types of the Accumulator.source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
Store the input data types that are provided by DataFusion at runtime (when it is evaluating
-return type function).source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
Create a function that can create a new accumulator with some input data type.source§fn output_type(&self) -> Result<ConcreteDataType>
Get the Accumulator’s output data type.source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
Get the Accumulator’s state data types.source§impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for ArgminAccumulatorCreator
§impl Send for ArgminAccumulatorCreator
§impl Sync for ArgminAccumulatorCreator
§impl Unpin for ArgminAccumulatorCreator
§impl UnwindSafe for ArgminAccumulatorCreator
Blanket Implementations§
source§impl AggrFuncTypeStore for ArgminAccumulatorCreator
impl AggrFuncTypeStore for ArgminAccumulatorCreator
source§fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
fn input_types(&self) -> Result<Vec<ConcreteDataType>, QueryError>
source§fn set_input_types(
&self,
- input_types: Vec<ConcreteDataType>
+ input_types: Vec<ConcreteDataType>
) -> Result<(), QueryError>
fn set_input_types( &self, - input_types: Vec<ConcreteDataType> + input_types: Vec<ConcreteDataType> ) -> Result<(), QueryError>
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
fn creator(&self) -> AccumulatorCreatorFunction
source§fn output_type(&self) -> Result<ConcreteDataType>
fn output_type(&self) -> Result<ConcreteDataType>
source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
fn state_types(&self) -> Result<Vec<ConcreteDataType>>
source§impl Debug for ArgminAccumulatorCreator
impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
fn default() -> ArgminAccumulatorCreator
impl RefUnwindSafe for ArgminAccumulatorCreator
impl Send for ArgminAccumulatorCreator
impl Sync for ArgminAccumulatorCreator
impl Unpin for ArgminAccumulatorCreator
impl UnwindSafe for ArgminAccumulatorCreator
source§impl AggregateFunctionCreator for ArgminAccumulatorCreator
impl AggregateFunctionCreator for ArgminAccumulatorCreator
source§fn creator(&self) -> AccumulatorCreatorFunction
fn creator(&self) -> AccumulatorCreatorFunction
source§fn output_type(&self) -> Result<ConcreteDataType>
fn output_type(&self) -> Result<ConcreteDataType>
source§fn state_types(&self) -> Result<Vec<ConcreteDataType>>
fn state_types(&self) -> Result<Vec<ConcreteDataType>>
source§impl Debug for ArgminAccumulatorCreator
impl Debug for ArgminAccumulatorCreator
source§impl Default for ArgminAccumulatorCreator
impl Default for ArgminAccumulatorCreator
source§fn default() -> ArgminAccumulatorCreator
fn default() -> ArgminAccumulatorCreator
Auto Trait Implementations§
impl RefUnwindSafe for ArgminAccumulatorCreator
impl Send for ArgminAccumulatorCreator
impl Sync for ArgminAccumulatorCreator
impl Unpin for ArgminAccumulatorCreator
impl UnwindSafe for ArgminAccumulatorCreator
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<T> Conv for T
impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
fn conv<T>(self) -> Twhere
diff --git a/common_function/scalars/aggregate/diff/struct.Diff.html b/common_function/scalars/aggregate/diff/struct.Diff.html
index b931ae7994c6..70d31ce0795d 100644
--- a/common_function/scalars/aggregate/diff/struct.Diff.html
+++ b/common_function/scalars/aggregate/diff/struct.Diff.html
@@ -3,10 +3,10 @@
values: Vec<I>,
_phantom: PhantomData<O>,
}Fields§
§values: Vec<I>
§_phantom: PhantomData<O>
Implementations§
Trait Implementations§
source§impl<I, O> Accumulator for Diff<I, O>where
- I: WrapperType,
- O: WrapperType,
- I::Native: AsPrimitive<O::Native>,
- O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
+ I: WrapperType,
+ O: WrapperType,
+ I::Native: AsPrimitive<O::Native>,
+ O::Native: Sub<Output = O::Native>,
source§fn state(&self) -> Result<Vec<Value>>
Returns the state of the accumulator at the end of the accumulation.source§fn update_batch(&mut self, values: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of arrays.source§fn merge_batch(&mut self, states: &[VectorRef]) -> Result<()>
updates the accumulator’s state from a vector of states.Auto Trait Implementations§
§impl<I, O> RefUnwindSafe for Diff<I, O>where
I: RefUnwindSafe,
O: RefUnwindSafe,
§impl<I, O> Send for Diff<I, O>where
I: Send,
diff --git a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
index 7249ddbbbe6b..417877e9ea56 100644
--- a/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
+++ b/common_function/scalars/aggregate/diff/struct.DiffAccumulatorCreator.html
@@ -1,11 +1,11 @@
DiffAccumulatorCreator in common_function::scalars::aggregate::diff - Rust
Struct common_function::scalars::aggregate::diff::
Fields§
§values: Vec<I>
§_phantom: PhantomData<O>