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 7246deffda19..f6ad313daa87 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/memory_table/struct.MemoryTable.html b/catalog/information_schema/memory_table/struct.MemoryTable.html
index fbbec1ea2d43..5691499ba578 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 85f1fc27cd46..fcb32a776fc3 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 13d1b13cf78e..6b7e7bb05e72 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 fba4dd29e1f4..c2da137b8ef3 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 0ab040d77856..dbf43632b6ea 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 338e71a44bfc..910ee9f29f22 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 593ec1d74f5c..97aa24ad36a3 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 3a2298d2b35e..c21b3ac1e0b9 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 d49b8d35720d..bbd129aac56e 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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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 7246deffda19..f6ad313daa87 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/memory_table/struct.MemoryTable.html b/catalog/information_schema/memory_table/struct.MemoryTable.html
index fbbec1ea2d43..5691499ba578 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 85f1fc27cd46..fcb32a776fc3 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 13d1b13cf78e..6b7e7bb05e72 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 fba4dd29e1f4..c2da137b8ef3 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 0ab040d77856..dbf43632b6ea 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 338e71a44bfc..910ee9f29f22 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 593ec1d74f5c..97aa24ad36a3 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 3a2298d2b35e..c21b3ac1e0b9 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 d49b8d35720d..bbd129aac56e 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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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 7246deffda19..f6ad313daa87 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/memory_table/struct.MemoryTable.html b/catalog/information_schema/memory_table/struct.MemoryTable.html
index fbbec1ea2d43..5691499ba578 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 85f1fc27cd46..fcb32a776fc3 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 13d1b13cf78e..6b7e7bb05e72 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 fba4dd29e1f4..c2da137b8ef3 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 0ab040d77856..dbf43632b6ea 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 338e71a44bfc..910ee9f29f22 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 593ec1d74f5c..97aa24ad36a3 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 3a2298d2b35e..c21b3ac1e0b9 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 d49b8d35720d..bbd129aac56e 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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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/memory_table/struct.MemoryTable.html b/catalog/information_schema/memory_table/struct.MemoryTable.html
index fbbec1ea2d43..5691499ba578 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 85f1fc27cd46..fcb32a776fc3 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 13d1b13cf78e..6b7e7bb05e72 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 fba4dd29e1f4..c2da137b8ef3 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 0ab040d77856..dbf43632b6ea 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 338e71a44bfc..910ee9f29f22 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 593ec1d74f5c..97aa24ad36a3 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 3a2298d2b35e..c21b3ac1e0b9 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 d49b8d35720d..bbd129aac56e 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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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/memory_table/struct.MemoryTable.html b/catalog/information_schema/memory_table/struct.MemoryTable.html
index fbbec1ea2d43..5691499ba578 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 85f1fc27cd46..fcb32a776fc3 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 13d1b13cf78e..6b7e7bb05e72 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 fba4dd29e1f4..c2da137b8ef3 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 0ab040d77856..dbf43632b6ea 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 338e71a44bfc..910ee9f29f22 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 593ec1d74f5c..97aa24ad36a3 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 3a2298d2b35e..c21b3ac1e0b9 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 d49b8d35720d..bbd129aac56e 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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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/memory_table/struct.MemoryTable.html b/catalog/information_schema/memory_table/struct.MemoryTable.html
index fbbec1ea2d43..5691499ba578 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 85f1fc27cd46..fcb32a776fc3 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 13d1b13cf78e..6b7e7bb05e72 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 fba4dd29e1f4..c2da137b8ef3 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 0ab040d77856..dbf43632b6ea 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 338e71a44bfc..910ee9f29f22 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 593ec1d74f5c..97aa24ad36a3 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 3a2298d2b35e..c21b3ac1e0b9 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 d49b8d35720d..bbd129aac56e 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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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/memory_table/struct.MemoryTable.html b/catalog/information_schema/memory_table/struct.MemoryTable.html
index fbbec1ea2d43..5691499ba578 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 85f1fc27cd46..fcb32a776fc3 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 13d1b13cf78e..6b7e7bb05e72 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 fba4dd29e1f4..c2da137b8ef3 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 0ab040d77856..dbf43632b6ea 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 338e71a44bfc..910ee9f29f22 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 593ec1d74f5c..97aa24ad36a3 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 3a2298d2b35e..c21b3ac1e0b9 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 d49b8d35720d..bbd129aac56e 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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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/memory_table/struct.MemoryTable.html b/catalog/information_schema/memory_table/struct.MemoryTable.html
index fbbec1ea2d43..5691499ba578 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 85f1fc27cd46..fcb32a776fc3 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 13d1b13cf78e..6b7e7bb05e72 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 fba4dd29e1f4..c2da137b8ef3 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 0ab040d77856..dbf43632b6ea 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 338e71a44bfc..910ee9f29f22 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 593ec1d74f5c..97aa24ad36a3 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 3a2298d2b35e..c21b3ac1e0b9 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 d49b8d35720d..bbd129aac56e 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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
impl<T> BorrowMut<T> for Twhere
diff --git a/catalog/information_schema/memory_table/struct.MemoryTable.html b/catalog/information_schema/memory_table/struct.MemoryTable.html
index fbbec1ea2d43..5691499ba578 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 85f1fc27cd46..fcb32a776fc3 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 13d1b13cf78e..6b7e7bb05e72 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 fba4dd29e1f4..c2da137b8ef3 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 0ab040d77856..dbf43632b6ea 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 338e71a44bfc..910ee9f29f22 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 593ec1d74f5c..97aa24ad36a3 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 3a2298d2b35e..c21b3ac1e0b9 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 d49b8d35720d..bbd129aac56e 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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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 85f1fc27cd46..fcb32a776fc3 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 13d1b13cf78e..6b7e7bb05e72 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 fba4dd29e1f4..c2da137b8ef3 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 0ab040d77856..dbf43632b6ea 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 338e71a44bfc..910ee9f29f22 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 593ec1d74f5c..97aa24ad36a3 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 3a2298d2b35e..c21b3ac1e0b9 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 d49b8d35720d..bbd129aac56e 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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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 85f1fc27cd46..fcb32a776fc3 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 13d1b13cf78e..6b7e7bb05e72 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 fba4dd29e1f4..c2da137b8ef3 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 0ab040d77856..dbf43632b6ea 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 338e71a44bfc..910ee9f29f22 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 593ec1d74f5c..97aa24ad36a3 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 3a2298d2b35e..c21b3ac1e0b9 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 d49b8d35720d..bbd129aac56e 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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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 85f1fc27cd46..fcb32a776fc3 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 13d1b13cf78e..6b7e7bb05e72 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 fba4dd29e1f4..c2da137b8ef3 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 0ab040d77856..dbf43632b6ea 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 338e71a44bfc..910ee9f29f22 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 593ec1d74f5c..97aa24ad36a3 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 3a2298d2b35e..c21b3ac1e0b9 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 d49b8d35720d..bbd129aac56e 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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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 85f1fc27cd46..fcb32a776fc3 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 13d1b13cf78e..6b7e7bb05e72 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 fba4dd29e1f4..c2da137b8ef3 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 0ab040d77856..dbf43632b6ea 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 338e71a44bfc..910ee9f29f22 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 593ec1d74f5c..97aa24ad36a3 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 3a2298d2b35e..c21b3ac1e0b9 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 d49b8d35720d..bbd129aac56e 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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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 3a2298d2b35e..c21b3ac1e0b9 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 d49b8d35720d..bbd129aac56e 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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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 3a2298d2b35e..c21b3ac1e0b9 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 d49b8d35720d..bbd129aac56e 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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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 d49b8d35720d..bbd129aac56e 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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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 d49b8d35720d..bbd129aac56e 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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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 d49b8d35720d..bbd129aac56e 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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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 d49b8d35720d..bbd129aac56e 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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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 04149787bd94..16e2c2c456b7 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 c1b49de03b79..7f9ede0c37f7 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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
§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/cmd/datanode/enum.SubCommand.html b/cmd/datanode/enum.SubCommand.html
index 3a60149208a7..49f9b9a4f5ce 100644
--- a/cmd/datanode/enum.SubCommand.html
+++ b/cmd/datanode/enum.SubCommand.html
@@ -1,7 +1,7 @@
SubCommand in cmd::datanode - Rust
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
Enum cmd::datanode::SubCommand
source · enum SubCommand {
Start(StartCommand),
-}
Variants§
Start(StartCommand)
Implementations§
source§impl SubCommand
impl SubCommand
async fn build(self, opts: DatanodeOptions) -> Result<Instance>
fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
fn from_arg_matches_mut(
+}Variants§
§Start(StartCommand)
Implementations§
source§impl SubCommand
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
Start(StartCommand)
source§impl SubCommand
impl SubCommand
async fn build(self, opts: DatanodeOptions) -> Result<Instance>
fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
source§impl CommandFactory for SubCommand
impl CommandFactory for SubCommand
source§impl FromArgMatches for SubCommand
impl FromArgMatches for SubCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Command.html b/cmd/datanode/struct.Command.html
index 5d4e8aa5f5c8..8d964e582b6e 100644
--- a/cmd/datanode/struct.Command.html
+++ b/cmd/datanode/struct.Command.html
@@ -1,7 +1,7 @@
Command in cmd::datanode - Rust
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
pub struct Command {
subcmd: SubCommand,
-}
Fields§
§subcmd: SubCommand
Implementations§
Trait Implementations§
source§impl Args for Command
impl Args for Command
source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
fn from_arg_matches_mut(
+}Fields§
§subcmd: SubCommand
Implementations§
source§impl Command
sourcepub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
sourcepub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
Trait Implementations§
source§impl Args for Command
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
source§impl Command
impl Command
pub async fn build(self, opts: DatanodeOptions) -> Result<Instance>
pub fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
source§impl Args for Command
impl Args for Command
source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl FromArgMatches for Command
impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
fn update_from_arg_matches(
&mut self,
diff --git a/cmd/datanode/struct.Instance.html b/cmd/datanode/struct.Instance.html
index 6a982e2e500c..4d7c921bb76e 100644
--- a/cmd/datanode/struct.Instance.html
+++ b/cmd/datanode/struct.Instance.html
@@ -1,7 +1,7 @@
Instance in cmd::datanode - Rust
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
pub struct Instance {
- datanode: Datanode,
-}
Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
impl App for Instance
fn name(&self) -> &str
fn start<'life0, 'async_trait>(
+ datanode: Datanode,
+}Fields§
§datanode: Datanode
Implementations§
Trait Implementations§
source§impl App for Instance
source§fn name(&self) -> &str
source§fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
source§impl App for Instance
impl App for Instance
fn name(&self) -> &str
fn start<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/cmd/datanode/struct.StartCommand.html b/cmd/datanode/struct.StartCommand.html
index a2fc56c1f62a..c1bf352453eb 100644
--- a/cmd/datanode/struct.StartCommand.html
+++ b/cmd/datanode/struct.StartCommand.html
@@ -10,7 +10,7 @@
http_addr: Option<String>,
http_timeout: Option<u64>,
env_prefix: String,
-}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
impl StartCommand
fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
async fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
impl Args for StartCommand
source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
impl CommandFactory for StartCommand
source§impl Debug for StartCommand
impl Debug for StartCommand
source§impl Default for StartCommand
impl Default for StartCommand
source§fn default() -> StartCommand
fn default() -> StartCommand
source§impl FromArgMatches for StartCommand
impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
fn from_arg_matches_mut(
+}Fields§
§node_id: Option<u64>
§rpc_addr: Option<String>
§rpc_hostname: Option<String>
§metasrv_addr: Option<Vec<String>>
§config_file: Option<String>
§data_home: Option<String>
§wal_dir: Option<String>
§http_addr: Option<String>
§http_timeout: Option<u64>
§env_prefix: String
Implementations§
source§impl StartCommand
sourcefn load_options(&self, cli_options: &CliOptions) -> Result<Options>
sourceasync fn build(self, opts: DatanodeOptions) -> Result<Instance>
Trait Implementations§
source§impl Args for StartCommand
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
source§impl Debug for StartCommand
source§impl Default for StartCommand
source§fn default() -> StartCommand
Returns the “default value” for a type. Read moresource§impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
}Variants§
§InitMetadata
§IterStream
§InitDdlManager
§InitTimezone
§StartProcedureManager
§StopProcedureManager
§StartWalOptionsAllocator
§StartDatanode
§ShutdownDatanode
§StartFrontend
§ShutdownFrontend
§BuildMetaServer
§StartMetaServer
§ShutdownMetaServer
§MissingConfig
§IllegalConfig
§UnsupportedSelectorType
§InvalidReplCommand
§ReplCreation
§Readline
§RequestDatabase
§CollectRecordBatches
§PrettyPrintRecordBatches
§StartMetaClient
§ParseSql
§PlanStatement
§SubstraitEncodeLogicalPlan
§LoadLayeredConfig
§StartCatalogManager
§ConnectEtcd
§ConnectServer
§SerdeJson
§NotDataFromOutput
Fields
§location: Location
§EmptyResult
Fields
§location: Location
§FileIo
§InvalidDatabaseName
§CreateDir
§Other
Trait Implementations§
source§impl StartCommand
impl StartCommand
fn load_options(&self, cli_options: &CliOptions) -> Result<Options>
async fn build(self, opts: DatanodeOptions) -> Result<Instance>
source§impl Args for StartCommand
impl Args for StartCommand
source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for StartCommand
impl CommandFactory for StartCommand
source§impl Debug for StartCommand
impl Debug for StartCommand
source§impl Default for StartCommand
impl Default for StartCommand
source§fn default() -> StartCommand
fn default() -> StartCommand
source§impl FromArgMatches for StartCommand
impl FromArgMatches for StartCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html
index bd9e84e45675..29974a1f0c4e 100644
--- a/cmd/error/enum.Error.html
+++ b/cmd/error/enum.Error.html
@@ -30,11 +30,11 @@
},
StartDatanode {
location: Location,
- source: Error,
+ source: Error,
},
ShutdownDatanode {
location: Location,
- source: Error,
+ source: Error,
},
StartFrontend {
location: Location,
@@ -87,11 +87,11 @@
},
CollectRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
PrettyPrintRecordBatches {
location: Location,
- source: Error,
+ source: Error,
},
StartMetaClient {
location: Location,
@@ -154,7 +154,7 @@
source: BoxedError,
location: Location,
},
-
fn update_from_arg_matches( &mut self, diff --git a/cmd/error/enum.Error.html b/cmd/error/enum.Error.html index bd9e84e45675..29974a1f0c4e 100644 --- a/cmd/error/enum.Error.html +++ b/cmd/error/enum.Error.html @@ -30,11 +30,11 @@ }, StartDatanode { location: Location, - source: Error, + source: Error, }, ShutdownDatanode { location: Location, - source: Error, + source: Error, }, StartFrontend { location: Location, @@ -87,11 +87,11 @@ }, CollectRecordBatches { location: Location, - source: Error, + source: Error, }, PrettyPrintRecordBatches { location: Location, - source: Error, + source: Error, }, StartMetaClient { location: Location, @@ -154,7 +154,7 @@ source: BoxedError, location: Location, }, -
Variants§
InitMetadata
IterStream
InitDdlManager
InitTimezone
StartProcedureManager
StopProcedureManager
StartWalOptionsAllocator
StartDatanode
ShutdownDatanode
StartFrontend
ShutdownFrontend
BuildMetaServer
StartMetaServer
ShutdownMetaServer
MissingConfig
IllegalConfig
UnsupportedSelectorType
InvalidReplCommand
ReplCreation
Readline
RequestDatabase
CollectRecordBatches
PrettyPrintRecordBatches
StartMetaClient
ParseSql
PlanStatement
SubstraitEncodeLogicalPlan
LoadLayeredConfig
StartCatalogManager
ConnectEtcd
ConnectServer
SerdeJson
NotDataFromOutput
Fields
location: Location
EmptyResult
Fields
location: Location