Struct catalog::error::CreateSystemCatalogSnafu
source · pub struct CreateSystemCatalogSnafu;
Expand description
SNAFU context selector for the Error::CreateSystemCatalog
variant
Trait Implementations§
source§impl Clone for CreateSystemCatalogSnafu
impl Clone for CreateSystemCatalogSnafu
source§fn clone(&self) -> CreateSystemCatalogSnafu
fn clone(&self) -> CreateSystemCatalogSnafu
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateSystemCatalogSnafu
impl Debug for CreateSystemCatalogSnafu
impl Copy for CreateSystemCatalogSnafu
Auto Trait Implementations§
impl RefUnwindSafe for CreateSystemCatalogSnafu
impl Send for CreateSystemCatalogSnafu
impl Sync for CreateSystemCatalogSnafu
impl Unpin for CreateSystemCatalogSnafu
impl UnwindSafe for CreateSystemCatalogSnafu
Blanket Implementations§
impl Copy for CreateSystemCatalogSnafu
Auto Trait Implementations§
impl RefUnwindSafe for CreateSystemCatalogSnafu
impl Send for CreateSystemCatalogSnafu
impl Sync for CreateSystemCatalogSnafu
impl Unpin for CreateSystemCatalogSnafu
impl UnwindSafe for CreateSystemCatalogSnafu
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.CreateTableSnafu.html b/catalog/error/struct.CreateTableSnafu.html
index ef483f4e461a..3958ebed8037 100644
--- a/catalog/error/struct.CreateTableSnafu.html
+++ b/catalog/error/struct.CreateTableSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::CreateTable
variant
Fields§
§table_info: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for CreateTableSnafu<__T0>
source§fn clone(&self) -> CreateTableSnafu<__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 CreateTableSnafu<__T0>
source§impl<__T0> IntoError<Error> for CreateTableSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
source§impl<__T0: Copy> Copy for CreateTableSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for CreateTableSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for CreateTableSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for CreateTableSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for CreateTableSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for CreateTableSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for CreateTableSnafu<__T0>where
diff --git a/catalog/error/struct.InsertCatalogRecordSnafu.html b/catalog/error/struct.InsertCatalogRecordSnafu.html
index 9ae990c0942f..dc650ecc000b 100644
--- a/catalog/error/struct.InsertCatalogRecordSnafu.html
+++ b/catalog/error/struct.InsertCatalogRecordSnafu.html
@@ -1,6 +1,6 @@
InsertCatalogRecordSnafu in catalog::error - Rust Struct catalog::error::InsertCatalogRecordSnafu
source · pub struct InsertCatalogRecordSnafu;
Expand description
SNAFU context selector for the Error::InsertCatalogRecord
variant
Trait Implementations§
source§impl Clone for InsertCatalogRecordSnafu
source§fn clone(&self) -> InsertCatalogRecordSnafu
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 InsertCatalogRecordSnafu
source§impl Copy for InsertCatalogRecordSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for InsertCatalogRecordSnafu
§impl Send for InsertCatalogRecordSnafu
§impl Sync for InsertCatalogRecordSnafu
§impl Unpin for InsertCatalogRecordSnafu
§impl UnwindSafe for InsertCatalogRecordSnafu
Blanket Implementations§
source§impl Copy for InsertCatalogRecordSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for InsertCatalogRecordSnafu
§impl Send for InsertCatalogRecordSnafu
§impl Sync for InsertCatalogRecordSnafu
§impl Unpin for InsertCatalogRecordSnafu
§impl UnwindSafe for InsertCatalogRecordSnafu
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/error/struct.OpenSystemCatalogSnafu.html b/catalog/error/struct.OpenSystemCatalogSnafu.html
index cf223ff26e8b..7c8415b68235 100644
--- a/catalog/error/struct.OpenSystemCatalogSnafu.html
+++ b/catalog/error/struct.OpenSystemCatalogSnafu.html
@@ -1,6 +1,6 @@
OpenSystemCatalogSnafu in catalog::error - Rust Struct catalog::error::OpenSystemCatalogSnafu
source · pub struct OpenSystemCatalogSnafu;
Expand description
SNAFU context selector for the Error::OpenSystemCatalog
variant
Trait Implementations§
source§impl Clone for OpenSystemCatalogSnafu
source§fn clone(&self) -> OpenSystemCatalogSnafu
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 OpenSystemCatalogSnafu
source§impl Copy for OpenSystemCatalogSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for OpenSystemCatalogSnafu
§impl Send for OpenSystemCatalogSnafu
§impl Sync for OpenSystemCatalogSnafu
§impl Unpin for OpenSystemCatalogSnafu
§impl UnwindSafe for OpenSystemCatalogSnafu
Blanket Implementations§
source§impl Copy for OpenSystemCatalogSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for OpenSystemCatalogSnafu
§impl Send for OpenSystemCatalogSnafu
§impl Sync for OpenSystemCatalogSnafu
§impl Unpin for OpenSystemCatalogSnafu
§impl UnwindSafe for OpenSystemCatalogSnafu
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/error/struct.OpenTableSnafu.html b/catalog/error/struct.OpenTableSnafu.html
index 83c001bda093..84f43843dc99 100644
--- a/catalog/error/struct.OpenTableSnafu.html
+++ b/catalog/error/struct.OpenTableSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::OpenTable
variant
Fields§
§table_id: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for OpenTableSnafu<__T0>
source§fn clone(&self) -> OpenTableSnafu<__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 OpenTableSnafu<__T0>
source§impl<__T0> IntoError<Error> for OpenTableSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
source§impl<__T0: Copy> Copy for OpenTableSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for OpenTableSnafu<__T0>where
+ __T0: Into<TableId>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for OpenTableSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for OpenTableSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for OpenTableSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for OpenTableSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for OpenTableSnafu<__T0>where
diff --git a/catalog/error/struct.SystemCatalogTableScanSnafu.html b/catalog/error/struct.SystemCatalogTableScanSnafu.html
index a00f76149aaf..fadce0cea3da 100644
--- a/catalog/error/struct.SystemCatalogTableScanSnafu.html
+++ b/catalog/error/struct.SystemCatalogTableScanSnafu.html
@@ -1,6 +1,6 @@
SystemCatalogTableScanSnafu in catalog::error - Rust Struct catalog::error::SystemCatalogTableScanSnafu
source · pub struct SystemCatalogTableScanSnafu;
Expand description
SNAFU context selector for the Error::SystemCatalogTableScan
variant
Trait Implementations§
source§impl Clone for SystemCatalogTableScanSnafu
source§fn clone(&self) -> SystemCatalogTableScanSnafu
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 SystemCatalogTableScanSnafu
source§impl Copy for SystemCatalogTableScanSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for SystemCatalogTableScanSnafu
§impl Send for SystemCatalogTableScanSnafu
§impl Sync for SystemCatalogTableScanSnafu
§impl Unpin for SystemCatalogTableScanSnafu
§impl UnwindSafe for SystemCatalogTableScanSnafu
Blanket Implementations§
source§impl Copy for SystemCatalogTableScanSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for SystemCatalogTableScanSnafu
§impl Send for SystemCatalogTableScanSnafu
§impl Sync for SystemCatalogTableScanSnafu
§impl Unpin for SystemCatalogTableScanSnafu
§impl UnwindSafe for SystemCatalogTableScanSnafu
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/error/struct.TableEngineNotFoundSnafu.html b/catalog/error/struct.TableEngineNotFoundSnafu.html
index a8d218008b2d..177f8f49fc2c 100644
--- a/catalog/error/struct.TableEngineNotFoundSnafu.html
+++ b/catalog/error/struct.TableEngineNotFoundSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::TableEngineNotFound
variant
Fields§
§engine_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for TableEngineNotFoundSnafu<__T0>
source§fn clone(&self) -> TableEngineNotFoundSnafu<__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 TableEngineNotFoundSnafu<__T0>
source§impl<__T0> IntoError<Error> for TableEngineNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
source§impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for TableEngineNotFoundSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for TableEngineNotFoundSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for TableEngineNotFoundSnafu<__T0>where
diff --git a/catalog/error/struct.TableSchemaMismatchSnafu.html b/catalog/error/struct.TableSchemaMismatchSnafu.html
index 141d7bcece45..2d021adfe832 100644
--- a/catalog/error/struct.TableSchemaMismatchSnafu.html
+++ b/catalog/error/struct.TableSchemaMismatchSnafu.html
@@ -1,6 +1,6 @@
TableSchemaMismatchSnafu in catalog::error - Rust Struct catalog::error::TableSchemaMismatchSnafu
source · pub struct TableSchemaMismatchSnafu;
Expand description
SNAFU context selector for the Error::TableSchemaMismatch
variant
Trait Implementations§
source§impl Clone for TableSchemaMismatchSnafu
source§fn clone(&self) -> TableSchemaMismatchSnafu
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 TableSchemaMismatchSnafu
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
Blanket Implementations§
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
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.InformationSchemaColumns.html b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
index 45892b4c2c9f..fdbf90c162df 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumns.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaColumns
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcefn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaColumnsBuilder
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/struct.InformationSchemaProvider.html b/catalog/information_schema/struct.InformationSchemaProvider.html
index 741ca07a1fac..d65c01d75e79 100644
--- a/catalog/information_schema/struct.InformationSchemaProvider.html
+++ b/catalog/information_schema/struct.InformationSchemaProvider.html
@@ -7,15 +7,15 @@
) -> Self
sourcepub fn build(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> HashMap<String, TableRef>
sourcepub fn table(&self, name: &str) -> Option<TableRef>
sourcefn information_table(
&self,
name: &str
) -> Option<Arc<dyn InformationTable + Send + Sync>>
sourcefn table_info(
catalog_name: String,
table: &Arc<dyn InformationTable + Send + Sync>
-) -> TableInfoRef
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
Blanket Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
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.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index 73e111ed49d8..600a4d513cc8 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcepub(crate) fn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaTablesBuilder
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 fc2e7f26baaf..88ee74cf9d15 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -20,7 +20,7 @@
catalog_name: &str,
schema_name: &str,
table_name: &str,
- table_type: TableType,
+ table_type: TableType,
table_id: Option<u32>,
engine: Option<&str>
)
sourcefn finish(&mut self) -> Result<RecordBatch>
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTablesBuilder
§impl Send for InformationSchemaTablesBuilder
§impl Sync for InformationSchemaTablesBuilder
§impl Unpin for InformationSchemaTablesBuilder
§impl !UnwindSafe for InformationSchemaTablesBuilder
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 6050a90beb82..0cf10f8c594e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -6,5 +6,5 @@
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
+ 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
diff --git a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
index ea4fb44fea2f..8366825323a3 100644
--- a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
+++ b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
@@ -23,7 +23,7 @@
'life1: 'async_trait,source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
@@ -74,7 +74,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/kvbackend/manager/struct.SystemCatalog.html b/catalog/kvbackend/manager/struct.SystemCatalog.html
index 9eff387e8a4a..c383f8118964 100644
--- a/catalog/kvbackend/manager/struct.SystemCatalog.html
+++ b/catalog/kvbackend/manager/struct.SystemCatalog.html
@@ -11,7 +11,7 @@
catalog: &str,
schema: &str,
table_name: &str
-) -> Option<TableRef>
Trait Implementations§
source§impl Clone for SystemCatalog
source§fn clone(&self) -> SystemCatalog
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for SystemCatalog
§impl Send for SystemCatalog
§impl Sync for SystemCatalog
§impl Unpin for SystemCatalog
§impl !UnwindSafe for SystemCatalog
Blanket Implementations§
Trait Implementations§
source§impl Clone for SystemCatalog
source§fn clone(&self) -> SystemCatalog
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for SystemCatalog
§impl Send for SystemCatalog
§impl Sync for SystemCatalog
§impl Unpin for SystemCatalog
§impl !UnwindSafe for SystemCatalog
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/kvbackend/struct.KvBackendCatalogManager.html b/catalog/kvbackend/struct.KvBackendCatalogManager.html
index 239798bb5bac..bcc4e79f3030 100644
--- a/catalog/kvbackend/struct.KvBackendCatalogManager.html
+++ b/catalog/kvbackend/struct.KvBackendCatalogManager.html
@@ -23,7 +23,7 @@
'life1: 'async_trait,
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
@@ -74,7 +74,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/memory/manager/struct.MemoryCatalogManager.html b/catalog/memory/manager/struct.MemoryCatalogManager.html
index 83ced5e75e65..dd08e277d1c8 100644
--- a/catalog/memory/manager/struct.MemoryCatalogManager.html
+++ b/catalog/memory/manager/struct.MemoryCatalogManager.html
@@ -1,7 +1,7 @@
MemoryCatalogManager in catalog::memory::manager - Rust Struct catalog::memory::manager::MemoryCatalogManager
source · pub struct MemoryCatalogManager {
- catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
+ catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
}
Expand description
Simple in-memory list of catalogs
-Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
+Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
Implementations§
source§impl MemoryCatalogManager
sourcepub fn new() -> Arc<Self>
sourcepub fn with_default_setup() -> Arc<Self>
Creates a manager with some default setups
(e.g. default catalog/schema and information schema)
sourcefn schema_exist_sync(&self, catalog: &str, schema: &str) -> Result<bool>
sourcefn catalog_exist_sync(&self, catalog: &str) -> Result<bool>
sourcepub fn register_catalog_sync(&self, name: &str) -> Result<bool>
Registers a catalog if it does not exist and returns false if the schema exists.
@@ -18,7 +18,7 @@
sourcefn create_catalog_entry(
self: &Arc<Self>,
catalog: String
-) -> HashMap<String, HashMap<String, TableRef>>
Trait Implementations§
Trait Implementations§
source§impl CatalogManager for MemoryCatalogManager
source§fn schema_exists<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
catalog: &'life1 str,
schema: &'life2 str
@@ -31,7 +31,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/memory/manager/type.SchemaEntries.html b/catalog/memory/manager/type.SchemaEntries.html
index e08a73e4fce1..06ddf021ba39 100644
--- a/catalog/memory/manager/type.SchemaEntries.html
+++ b/catalog/memory/manager/type.SchemaEntries.html
@@ -1 +1 @@
-SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
+SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
diff --git a/catalog/struct.RegisterSystemTableRequest.html b/catalog/struct.RegisterSystemTableRequest.html
index 98ffda68e56e..a3007b081a96 100644
--- a/catalog/struct.RegisterSystemTableRequest.html
+++ b/catalog/struct.RegisterSystemTableRequest.html
@@ -1,5 +1,5 @@
RegisterSystemTableRequest in catalog - Rust Struct catalog::RegisterSystemTableRequest
source · pub struct RegisterSystemTableRequest {
- pub create_table_request: CreateTableRequest,
+ pub create_table_request: CreateTableRequest,
pub open_hook: Option<OpenSystemTableHook>,
}
Expand description
Register system table request:
@@ -7,7 +7,7 @@
with table ref after opening the system table
- When system table is not exists, create and register the table by create_table_request and calls open_hook with the created table.
-Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
Blanket Implementations§
Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
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/struct.RegisterTableRequest.html b/catalog/struct.RegisterTableRequest.html
index c2f30ba4aa53..91238cde5a87 100644
--- a/catalog/struct.RegisterTableRequest.html
+++ b/catalog/struct.RegisterTableRequest.html
@@ -2,9 +2,9 @@
pub catalog: String,
pub schema: String,
pub table_name: String,
- pub table_id: TableId,
- pub table: TableRef,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+ pub table: TableRef,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
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/struct.RenameTableRequest.html b/catalog/struct.RenameTableRequest.html
index c0a56b79a189..166aa7465716 100644
--- a/catalog/struct.RenameTableRequest.html
+++ b/catalog/struct.RenameTableRequest.html
@@ -3,8 +3,8 @@
pub schema: String,
pub table_name: String,
pub new_table_name: String,
- pub table_id: TableId,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
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/trait.CatalogManager.html b/catalog/trait.CatalogManager.html
index cc8091a5169e..3f057be0493b 100644
--- a/catalog/trait.CatalogManager.html
+++ b/catalog/trait.CatalogManager.html
@@ -54,7 +54,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
- ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
+ ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -107,7 +107,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/type.OpenSystemTableHook.html b/catalog/type.OpenSystemTableHook.html
index 6b2713f62a6a..1eefe22addab 100644
--- a/catalog/type.OpenSystemTableHook.html
+++ b/catalog/type.OpenSystemTableHook.html
@@ -1,2 +1,2 @@
-OpenSystemTableHook in catalog - Rust Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+OpenSystemTableHook in catalog - Rust
\ No newline at end of file
diff --git a/client/all.html b/client/all.html
index 1058c330a5ce..9bb88a75eba3 100644
--- a/client/all.html
+++ b/client/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
diff --git a/client/database/struct.Database.html b/client/database/struct.Database.html
index 1c72f65df0e4..2fe6e5e0e2fb 100644
--- a/client/database/struct.Database.html
+++ b/client/database/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/enum.Output.html b/client/enum.Output.html
new file mode 100644
index 000000000000..78dc13d76b4a
--- /dev/null
+++ b/client/enum.Output.html
@@ -0,0 +1,118 @@
+Output in client - Rust pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
§AffectedRows(usize)
§RecordBatches(RecordBatches)
§Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Output
§impl Send for Output
§impl !Sync for Output
§impl Unpin for Output
§impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/fn.from_grpc_response.html b/client/fn.from_grpc_response.html
index 0f422cea122b..0ffdc48fee12 100644
--- a/client/fn.from_grpc_response.html
+++ b/client/fn.from_grpc_response.html
@@ -1 +1 @@
-from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
+from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
diff --git a/client/index.html b/client/index.html
index 3c2e9096c074..1b3ba37a3ae1 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1 @@
-client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
\ No newline at end of file
+client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
\ No newline at end of file
diff --git a/client/region/struct.RegionRequester.html b/client/region/struct.RegionRequester.html
index c52e450ec287..74fb7ac4de8e 100644
--- a/client/region/struct.RegionRequester.html
+++ b/client/region/struct.RegionRequester.html
@@ -3,7 +3,7 @@
}Fields§
§client: Client
Implementations§
Trait Implementations§
source§impl Datanode for RegionRequester
Trait Implementations§
source§impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
Handles DML, and DDL requests.source§fn handle_query<'life0, 'async_trait>(
&'life0 self,
request: QueryRequest
-) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
§impl !RefUnwindSafe for RegionRequester
§impl Send for RegionRequester
§impl Sync for RegionRequester
§impl Unpin for RegionRequester
§impl !UnwindSafe for RegionRequester
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/struct.RecordBatches.html b/client/struct.RecordBatches.html
new file mode 100644
index 000000000000..d4b5134bef55
--- /dev/null
+++ b/client/struct.RecordBatches.html
@@ -0,0 +1,134 @@
+RecordBatches in client - Rust Struct client::RecordBatches
pub struct RecordBatches {
+ pub(crate) schema: Arc<Schema, Global>,
+ pub(crate) batches: Vec<RecordBatch, Global>,
+}
Fields§
§schema: Arc<Schema, Global>
§batches: Vec<RecordBatch, Global>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema, Global>,
+ columns: I
+) -> Result<RecordBatches, Error>where
+ I: IntoIterator<Item = Arc<dyn Vector, Global>>,
pub async fn try_collect(
+ stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
+) -> impl Future<Output = 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, Global>,
+ batches: Vec<RecordBatch, Global>
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema, Global>
pub fn take(self) -> Vec<RecordBatch, Global>
pub fn as_stream(
+ &self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
pub fn into_df_stream(
+ self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, DataFusionError>> + Send, Global>>
Trait Implementations§
§impl Debug for RecordBatches
§impl IntoIterator for RecordBatches
§type IntoIter = IntoIter<<RecordBatches as IntoIterator>::Item, Global>
Which kind of iterator are we turning this into?§fn into_iter(self) -> <RecordBatches as IntoIterator>::IntoIter
Creates an iterator from a value. Read more§impl PartialEq<RecordBatches> for RecordBatches
§fn eq(&self, other: &RecordBatches) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.§impl StructuralPartialEq for RecordBatches
Auto Trait Implementations§
§impl !RefUnwindSafe for RecordBatches
§impl Send for RecordBatches
§impl Sync for RecordBatches
§impl Unpin for RecordBatches
§impl !UnwindSafe for RecordBatches
Blanket Implementations§
§impl<I> BidiIterator for Iwhere
+ I: IntoIterator,
+ <I as IntoIterator>::IntoIter: DoubleEndedIterator,
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/type.SendableRecordBatchStream.html b/client/type.SendableRecordBatchStream.html
new file mode 100644
index 000000000000..df7268aab19a
--- /dev/null
+++ b/client/type.SendableRecordBatchStream.html
@@ -0,0 +1 @@
+SendableRecordBatchStream in client - Rust
\ No newline at end of file
diff --git a/common_grpc_expr/alter/fn.alter_expr_to_request.html b/common_grpc_expr/alter/fn.alter_expr_to_request.html
index 63f2342d02da..1850a92935fc 100644
--- a/common_grpc_expr/alter/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/alter/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr::alter - Rust Function common_grpc_expr::alter::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/alter/index.html b/common_grpc_expr/alter/index.html
index bd7e5b33fbcf..4206ec54f54a 100644
--- a/common_grpc_expr/alter/index.html
+++ b/common_grpc_expr/alter/index.html
@@ -1 +1 @@
-common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/delete/fn.to_table_delete_request.html b/common_grpc_expr/delete/fn.to_table_delete_request.html
index 17bb5cee292b..4d6dd1ad4737 100644
--- a/common_grpc_expr/delete/fn.to_table_delete_request.html
+++ b/common_grpc_expr/delete/fn.to_table_delete_request.html
@@ -2,4 +2,4 @@
catalog_name: &str,
schema_name: &str,
request: DeleteRequest
-) -> Result<DeleteRequest>
\ No newline at end of file
+) -> Result<DeleteRequest>
\ No newline at end of file
diff --git a/common_grpc_expr/fn.alter_expr_to_request.html b/common_grpc_expr/fn.alter_expr_to_request.html
index fb020673c315..e83fe76ebb26 100644
--- a/common_grpc_expr/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr - Rust Function common_grpc_expr::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/index.html b/common_grpc_expr/index.html
index 123b65c2895b..3fd0656e8b4a 100644
--- a/common_grpc_expr/index.html
+++ b/common_grpc_expr/index.html
@@ -1 +1 @@
-common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
index 36f3cb9ff049..d204bc70ab7b 100644
--- a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
+++ b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
@@ -1,7 +1,7 @@
build_create_expr_from_insertion in common_grpc_expr::insert - Rust Function common_grpc_expr::insert::build_create_expr_from_insertion
source · pub fn build_create_expr_from_insertion(
catalog_name: &str,
schema_name: &str,
- table_id: Option<TableId>,
+ table_id: Option<TableId>,
table_name: &str,
columns: &[Column],
engine: &str
diff --git a/common_grpc_expr/util/fn.build_create_table_expr.html b/common_grpc_expr/util/fn.build_create_table_expr.html
index e78b4de945b9..76a2b47b82aa 100644
--- a/common_grpc_expr/util/fn.build_create_table_expr.html
+++ b/common_grpc_expr/util/fn.build_create_table_expr.html
@@ -1,6 +1,6 @@
build_create_table_expr in common_grpc_expr::util - Rust Function common_grpc_expr::util::build_create_table_expr
source · pub fn build_create_table_expr(
- table_id: Option<TableId>,
- table_name: &TableReference<'_>,
+ table_id: Option<TableId>,
+ table_name: &TableReference<'_>,
column_exprs: Vec<ColumnExpr<'_>>,
engine: &str,
desc: &str
diff --git a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
index 13feb0240fbf..94e9334f09a2 100644
--- a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
+++ b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
@@ -1,7 +1,7 @@
DummyCacheInvalidator in common_meta::cache_invalidator - Rust pub struct DummyCacheInvalidator;
Trait Implementations§
source§impl CacheInvalidator for DummyCacheInvalidator
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
- _table_id: TableId
+ _table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/cache_invalidator/trait.CacheInvalidator.html b/common_meta/cache_invalidator/trait.CacheInvalidator.html
index dc6e8864c3a7..004d340a376a 100644
--- a/common_meta/cache_invalidator/trait.CacheInvalidator.html
+++ b/common_meta/cache_invalidator/trait.CacheInvalidator.html
@@ -3,7 +3,7 @@
fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
@@ -19,7 +19,7 @@
}Required Methods§
sourcefn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
index 625083846c6d..4e32e147c5db 100644
--- a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
+++ b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
@@ -1,5 +1,5 @@
create_proto_alter_kind in common_meta::ddl::alter_table - Rust Function common_meta::ddl::alter_table::create_proto_alter_kind
source · pub fn create_proto_alter_kind(
- table_info: &RawTableInfo,
+ table_info: &RawTableInfo,
alter_kind: &Kind
) -> Result<(Option<Kind>, Option<ColumnId>)>
Expand description
Creates region proto alter kind from table_info
and alter_kind
.
Returns the kind and next column id if it adds new columns.
diff --git a/common_meta/ddl/alter_table/struct.AlterTableData.html b/common_meta/ddl/alter_table/struct.AlterTableData.html
index f9a58a4e56bc..018ff5a55e63 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableData.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableData.html
@@ -11,7 +11,7 @@
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
cluster_id: u64,
next_column_id: Option<ColumnId>
-) -> Selfsourcefn table_ref(&self) -> TableReference<'_>
sourcefn table_id(&self) -> TableId
sourcefn table_info(&self) -> &RawTableInfo
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for AlterTableData
§impl Send for AlterTableData
§impl Sync for AlterTableData
§impl Unpin for AlterTableData
§impl UnwindSafe for AlterTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
index 473eaaaee000..6a100fc8420b 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
@@ -17,8 +17,8 @@
) -> Result<()>
Update table metadata for rename table operation.
sourceasync fn on_update_metadata_for_alter(
&self,
- new_table_info: RawTableInfo
-) -> Result<()>
sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
+ new_table_info: RawTableInfo
+) -> Result<()>sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
sourceasync fn on_broadcast(&mut self) -> Result<Status>
Broadcasts the invalidating table cache instructions.
sourcefn lock_key_inner(&self) -> Vec<String>
Trait Implementations§
source§impl Procedure for AlterTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff --git a/common_meta/ddl/create_table/struct.CreateTableData.html b/common_meta/ddl/create_table/struct.CreateTableData.html
index 2e5e27fd7eb4..4330b2fbd1af 100644
--- a/common_meta/ddl/create_table/struct.CreateTableData.html
+++ b/common_meta/ddl/create_table/struct.CreateTableData.html
@@ -3,7 +3,7 @@
pub task: CreateTableTask,
pub region_routes: Vec<RegionRoute>,
pub cluster_id: u64,
-}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
source§impl CreateTableData
sourcefn table_ref(&self) -> TableReference<'_>
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for CreateTableData
§impl Send for CreateTableData
§impl Sync for CreateTableData
§impl Unpin for CreateTableData
§impl UnwindSafe for CreateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/create_table/struct.CreateTableProcedure.html b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
index b71e4a8436f9..9a2a1de73fad 100644
--- a/common_meta/ddl/create_table/struct.CreateTableProcedure.html
+++ b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
@@ -6,7 +6,7 @@
task: CreateTableTask,
region_routes: Vec<RegionRoute>,
context: DdlContext
-) -> Self
sourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
+) -> Selfsourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
sourcepub fn create_region_request_template(&self) -> Result<PbCreateRegionRequest>
sourcepub async fn on_datanode_create_regions(&mut self) -> Result<Status>
sourceasync fn on_create_metadata(&self) -> Result<Status>
Trait Implementations§
source§impl Procedure for CreateTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_ctx: &'life1 ProcedureContext
diff --git a/common_meta/ddl/drop_table/struct.DropTableData.html b/common_meta/ddl/drop_table/struct.DropTableData.html
index 46e3a21db8cd..2b91fa24c713 100644
--- a/common_meta/ddl/drop_table/struct.DropTableData.html
+++ b/common_meta/ddl/drop_table/struct.DropTableData.html
@@ -9,7 +9,7 @@
task: DropTableTask,
table_route_value: DeserializedValueWithBytes<TableRouteValue>,
table_info_value: DeserializedValueWithBytes<TableInfoValue>
-) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for DropTableData
§impl Send for DropTableData
§impl Sync for DropTableData
§impl Unpin for DropTableData
§impl UnwindSafe for DropTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/trait.TableMetadataAllocator.html b/common_meta/ddl/trait.TableMetadataAllocator.html
index b095be070299..36cbad59636a 100644
--- a/common_meta/ddl/trait.TableMetadataAllocator.html
+++ b/common_meta/ddl/trait.TableMetadataAllocator.html
@@ -3,7 +3,7 @@
fn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>
where Self: 'async_trait,
@@ -14,7 +14,7 @@
}Required Methods§
sourcefn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/common_meta/ddl/truncate_table/struct.TruncateTableData.html b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
index 7363b523f063..708e5561808d 100644
--- a/common_meta/ddl/truncate_table/struct.TruncateTableData.html
+++ b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
@@ -9,7 +9,7 @@
task: TruncateTableTask,
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
region_routes: Vec<RegionRoute>
-) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for TruncateTableData
§impl Send for TruncateTableData
§impl Sync for TruncateTableData
§impl Unpin for TruncateTableData
§impl UnwindSafe for TruncateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/error/enum.Error.html b/common_meta/error/enum.Error.html
index 541ce4833b77..1a92776ff7a1 100644
--- a/common_meta/error/enum.Error.html
+++ b/common_meta/error/enum.Error.html
@@ -44,12 +44,12 @@
},
BuildTableMeta {
table_name: String,
- error: TableMetaBuilderError,
+ error: TableMetaBuilderError,
location: Location,
},
Table {
location: Location,
- source: Error,
+ source: Error,
},
TableRouteNotFound {
table_name: String,
@@ -145,7 +145,7 @@
location: Location,
},
MoveRegion {
- table_id: TableId,
+ table_id: TableId,
region: RegionNumber,
err_msg: String,
location: Location,
@@ -169,7 +169,7 @@
RetryLater {
source: BoxedError,
},
-
}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
+}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
sourcepub fn is_retry_later(&self) -> bool
Determine whether it is a retry later type through StatusCode
Trait Implementations§
source§impl Error for Errorwhere
Self: Debug + Display,
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§fn output_msg(&self) -> Stringwhere
Self: Sized,
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0> IntoError<Error> for CacheNotGetSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for CatalogAlreadyExistsSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -206,7 +206,7 @@
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0> IntoError<Error> for NextSequenceSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -245,7 +245,7 @@
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for TableRouteNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
+ Error: Error + ErrorCompat,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSnafu<__T0>where
Error: Error + ErrorCompat,
diff --git a/common_meta/error/struct.BuildTableMetaSnafu.html b/common_meta/error/struct.BuildTableMetaSnafu.html
index 848719b5d875..de793f19e317 100644
--- a/common_meta/error/struct.BuildTableMetaSnafu.html
+++ b/common_meta/error/struct.BuildTableMetaSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::BuildTableMeta
variant
Fields§
§table_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for BuildTableMetaSnafu<__T0>
source§fn clone(&self) -> BuildTableMetaSnafu<__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 BuildTableMetaSnafu<__T0>
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for BuildTableMetaSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for BuildTableMetaSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for BuildTableMetaSnafu<__T0>where
diff --git a/common_meta/error/struct.MoveRegionSnafu.html b/common_meta/error/struct.MoveRegionSnafu.html
index 7225b5d448e7..33e45ac82117 100644
--- a/common_meta/error/struct.MoveRegionSnafu.html
+++ b/common_meta/error/struct.MoveRegionSnafu.html
@@ -4,16 +4,16 @@
pub err_msg: __T2,
}Expand description
SNAFU context selector for the Error::MoveRegion
variant
Fields§
§table_id: __T0
§region: __T1
§err_msg: __T2
Implementations§
Trait Implementations§
source§impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for MoveRegionSnafu<__T0, __T1, __T2>
source§fn clone(&self) -> MoveRegionSnafu<__T0, __T1, __T2>
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, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for MoveRegionSnafu<__T0, __T1, __T2>
Auto Trait Implementations§
§impl<__T0, __T1, __T2> RefUnwindSafe for MoveRegionSnafu<__T0, __T1, __T2>where
__T0: RefUnwindSafe,
diff --git a/common_meta/error/struct.TableSnafu.html b/common_meta/error/struct.TableSnafu.html
index d9c91350619f..a2c1ecb55273 100644
--- a/common_meta/error/struct.TableSnafu.html
+++ b/common_meta/error/struct.TableSnafu.html
@@ -1,6 +1,6 @@
TableSnafu in common_meta::error - Rust Struct common_meta::error::TableSnafu
source · pub struct TableSnafu;
Expand description
SNAFU context selector for the Error::Table
variant
Trait Implementations§
source§impl Clone for TableSnafu
source§fn clone(&self) -> TableSnafu
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 TableSnafu
source§impl Copy for TableSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
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/common_meta/instruction/enum.Instruction.html b/common_meta/instruction/enum.Instruction.html
index 7a20097062e3..f2b72df49f65 100644
--- a/common_meta/instruction/enum.Instruction.html
+++ b/common_meta/instruction/enum.Instruction.html
@@ -1,9 +1,9 @@
Instruction in common_meta::instruction - Rust Enum common_meta::instruction::Instruction
source · pub enum Instruction {
OpenRegion(OpenRegion),
CloseRegion(RegionIdent),
- InvalidateTableIdCache(TableId),
+ InvalidateTableIdCache(TableId),
InvalidateTableNameCache(TableName),
-}
Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for Instruction
Auto Trait Implementations§
§impl RefUnwindSafe for Instruction
§impl Send for Instruction
§impl Sync for Instruction
§impl Unpin for Instruction
§impl UnwindSafe for Instruction
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/instruction/struct.RegionIdent.html b/common_meta/instruction/struct.RegionIdent.html
index 834642f1f56d..e1c0821020fb 100644
--- a/common_meta/instruction/struct.RegionIdent.html
+++ b/common_meta/instruction/struct.RegionIdent.html
@@ -1,10 +1,10 @@
RegionIdent in common_meta::instruction - Rust Struct common_meta::instruction::RegionIdent
source · pub struct RegionIdent {
pub cluster_id: ClusterId,
pub datanode_id: DatanodeId,
- pub table_id: TableId,
+ pub table_id: TableId,
pub region_number: RegionNumber,
pub engine: String,
-}
Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for RegionIdent
source§impl Hash for RegionIdent
source§impl PartialEq<RegionIdent> for RegionIdent
source§fn eq(&self, other: &RegionIdent) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableKey.html b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
index 831cc2a090bc..eb2071d8b654 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableKey.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
@@ -1,7 +1,7 @@
DatanodeTableKey in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableKey
source · pub struct DatanodeTableKey {
datanode_id: DatanodeId,
- table_id: TableId,
-}
Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
Blanket Implementations§
source§impl<T> Any for Twhere
+ table_id: TableId,
+}Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
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/common_meta/key/datanode_table/struct.DatanodeTableManager.html b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
index b1e8ab3c4b74..020d5420db60 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableManager.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
@@ -8,7 +8,7 @@
datanode_id: DatanodeId
) -> BoxStream<'static, Result<DatanodeTableValue>>
sourcepub fn build_create_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
engine: &str,
region_storage_path: &str,
region_options: HashMap<String, String>,
@@ -16,7 +16,7 @@
) -> Result<Txn>
Builds the create datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub(crate) fn build_update_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_region_distribution: RegionDistribution,
new_region_distribution: RegionDistribution,
@@ -24,7 +24,7 @@
) -> Result<Txn>
Builds the update datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub fn build_delete_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
distribution: RegionDistribution
) -> Result<Txn>
Builds the delete datanode table transactions. It only executes while the primary keys comparing successes.
Auto Trait Implementations§
§impl !RefUnwindSafe for DatanodeTableManager
§impl Send for DatanodeTableManager
§impl Sync for DatanodeTableManager
§impl Unpin for DatanodeTableManager
§impl !UnwindSafe for DatanodeTableManager
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableValue.html b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
index a32244212294..82d59648fcfd 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableValue.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
@@ -1,10 +1,10 @@
DatanodeTableValue in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableValue
source · pub struct DatanodeTableValue {
- pub table_id: TableId,
+ pub table_id: TableId,
pub regions: Vec<RegionNumber>,
pub region_info: RegionInfo,
version: u64,
-}
Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
- table_id: TableId,
+}Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
+ table_id: TableId,
regions: Vec<RegionNumber>,
region_info: RegionInfo
) -> Self
source§impl DatanodeTableValue
sourcepub fn try_from_raw_value(raw_value: &[u8]) -> Result<Self>
sourcepub fn try_as_raw_value(&self) -> Result<Vec<u8>>
Trait Implementations§
source§impl Clone for DatanodeTableValue
source§fn clone(&self) -> DatanodeTableValue
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 DatanodeTableValue
source§impl<'de> Deserialize<'de> for DatanodeTableValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
diff --git a/common_meta/key/struct.TableMetadataManager.html b/common_meta/key/struct.TableMetadataManager.html
index 6342e3e5e772..ca0e2101e96e 100644
--- a/common_meta/key/struct.TableMetadataManager.html
+++ b/common_meta/key/struct.TableMetadataManager.html
@@ -8,10 +8,10 @@
kv_backend: KvBackendRef,
}Fields§
§table_name_manager: TableNameManager
§table_info_manager: TableInfoManager
§datanode_table_manager: DatanodeTableManager
§catalog_manager: CatalogManager
§schema_manager: SchemaManager
§table_route_manager: TableRouteManager
§kv_backend: KvBackendRef
Implementations§
source§impl TableMetadataManager
sourcepub fn new(kv_backend: KvBackendRef) -> Self
sourcepub async fn init(&self) -> Result<()>
sourcepub fn table_name_manager(&self) -> &TableNameManager
sourcepub fn table_info_manager(&self) -> &TableInfoManager
sourcepub fn datanode_table_manager(&self) -> &DatanodeTableManager
sourcepub fn catalog_manager(&self) -> &CatalogManager
sourcepub fn schema_manager(&self) -> &SchemaManager
sourcepub fn table_route_manager(&self) -> &TableRouteManager
sourcepub fn kv_backend(&self) -> &KvBackendRef
sourcepub async fn get_full_table_info(
&self,
- table_id: TableId
+ table_id: TableId
) -> Result<(Option<DeserializedValueWithBytes<TableInfoValue>>, Option<DeserializedValueWithBytes<TableRouteValue>>)>
sourcepub async fn create_table_metadata(
&self,
- table_info: RawTableInfo,
+ table_info: RawTableInfo,
region_routes: Vec<RegionRoute>
) -> Result<()>
Creates metadata for table and returns an error if different metadata exists.
The caller MUST ensure it has the exclusive access to TableNameKey
.
@@ -31,11 +31,11 @@
sourcepub async fn update_table_info(
&self,
current_table_info_value: DeserializedValueWithBytes<TableInfoValue>,
- new_table_info: RawTableInfo
+ new_table_info: RawTableInfo
) -> Result<()>
Updates table info and returns an error if different metadata exists.
sourcepub async fn update_table_route(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_table_route_value: DeserializedValueWithBytes<TableRouteValue>,
new_region_routes: Vec<RegionRoute>,
diff --git a/common_meta/key/table_info/struct.TableInfoKey.html b/common_meta/key/table_info/struct.TableInfoKey.html
index a65b5c4c9471..f974bb124def 100644
--- a/common_meta/key/table_info/struct.TableInfoKey.html
+++ b/common_meta/key/table_info/struct.TableInfoKey.html
@@ -1,6 +1,6 @@
TableInfoKey in common_meta::key::table_info - Rust Struct common_meta::key::table_info::
fn conv<T>(self) -> Twhere
diff --git a/catalog/error/struct.CreateTableSnafu.html b/catalog/error/struct.CreateTableSnafu.html
index ef483f4e461a..3958ebed8037 100644
--- a/catalog/error/struct.CreateTableSnafu.html
+++ b/catalog/error/struct.CreateTableSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::CreateTable
variant
Fields§
§table_info: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for CreateTableSnafu<__T0>
source§fn clone(&self) -> CreateTableSnafu<__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 CreateTableSnafu<__T0>
source§impl<__T0> IntoError<Error> for CreateTableSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
source§impl<__T0: Copy> Copy for CreateTableSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for CreateTableSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for CreateTableSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for CreateTableSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for CreateTableSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for CreateTableSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for CreateTableSnafu<__T0>where
diff --git a/catalog/error/struct.InsertCatalogRecordSnafu.html b/catalog/error/struct.InsertCatalogRecordSnafu.html
index 9ae990c0942f..dc650ecc000b 100644
--- a/catalog/error/struct.InsertCatalogRecordSnafu.html
+++ b/catalog/error/struct.InsertCatalogRecordSnafu.html
@@ -1,6 +1,6 @@
InsertCatalogRecordSnafu in catalog::error - Rust Struct catalog::error::InsertCatalogRecordSnafu
source · pub struct InsertCatalogRecordSnafu;
Expand description
SNAFU context selector for the Error::InsertCatalogRecord
variant
Trait Implementations§
source§impl Clone for InsertCatalogRecordSnafu
source§fn clone(&self) -> InsertCatalogRecordSnafu
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 InsertCatalogRecordSnafu
source§impl Copy for InsertCatalogRecordSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for InsertCatalogRecordSnafu
§impl Send for InsertCatalogRecordSnafu
§impl Sync for InsertCatalogRecordSnafu
§impl Unpin for InsertCatalogRecordSnafu
§impl UnwindSafe for InsertCatalogRecordSnafu
Blanket Implementations§
source§impl Copy for InsertCatalogRecordSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for InsertCatalogRecordSnafu
§impl Send for InsertCatalogRecordSnafu
§impl Sync for InsertCatalogRecordSnafu
§impl Unpin for InsertCatalogRecordSnafu
§impl UnwindSafe for InsertCatalogRecordSnafu
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/error/struct.OpenSystemCatalogSnafu.html b/catalog/error/struct.OpenSystemCatalogSnafu.html
index cf223ff26e8b..7c8415b68235 100644
--- a/catalog/error/struct.OpenSystemCatalogSnafu.html
+++ b/catalog/error/struct.OpenSystemCatalogSnafu.html
@@ -1,6 +1,6 @@
OpenSystemCatalogSnafu in catalog::error - Rust Struct catalog::error::OpenSystemCatalogSnafu
source · pub struct OpenSystemCatalogSnafu;
Expand description
SNAFU context selector for the Error::OpenSystemCatalog
variant
Trait Implementations§
source§impl Clone for OpenSystemCatalogSnafu
source§fn clone(&self) -> OpenSystemCatalogSnafu
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 OpenSystemCatalogSnafu
source§impl Copy for OpenSystemCatalogSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for OpenSystemCatalogSnafu
§impl Send for OpenSystemCatalogSnafu
§impl Sync for OpenSystemCatalogSnafu
§impl Unpin for OpenSystemCatalogSnafu
§impl UnwindSafe for OpenSystemCatalogSnafu
Blanket Implementations§
source§impl Copy for OpenSystemCatalogSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for OpenSystemCatalogSnafu
§impl Send for OpenSystemCatalogSnafu
§impl Sync for OpenSystemCatalogSnafu
§impl Unpin for OpenSystemCatalogSnafu
§impl UnwindSafe for OpenSystemCatalogSnafu
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/error/struct.OpenTableSnafu.html b/catalog/error/struct.OpenTableSnafu.html
index 83c001bda093..84f43843dc99 100644
--- a/catalog/error/struct.OpenTableSnafu.html
+++ b/catalog/error/struct.OpenTableSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::OpenTable
variant
Fields§
§table_id: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for OpenTableSnafu<__T0>
source§fn clone(&self) -> OpenTableSnafu<__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 OpenTableSnafu<__T0>
source§impl<__T0> IntoError<Error> for OpenTableSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
source§impl<__T0: Copy> Copy for OpenTableSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for OpenTableSnafu<__T0>where
+ __T0: Into<TableId>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for OpenTableSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for OpenTableSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for OpenTableSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for OpenTableSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for OpenTableSnafu<__T0>where
diff --git a/catalog/error/struct.SystemCatalogTableScanSnafu.html b/catalog/error/struct.SystemCatalogTableScanSnafu.html
index a00f76149aaf..fadce0cea3da 100644
--- a/catalog/error/struct.SystemCatalogTableScanSnafu.html
+++ b/catalog/error/struct.SystemCatalogTableScanSnafu.html
@@ -1,6 +1,6 @@
SystemCatalogTableScanSnafu in catalog::error - Rust Struct catalog::error::SystemCatalogTableScanSnafu
source · pub struct SystemCatalogTableScanSnafu;
Expand description
SNAFU context selector for the Error::SystemCatalogTableScan
variant
Trait Implementations§
source§impl Clone for SystemCatalogTableScanSnafu
source§fn clone(&self) -> SystemCatalogTableScanSnafu
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 SystemCatalogTableScanSnafu
source§impl Copy for SystemCatalogTableScanSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for SystemCatalogTableScanSnafu
§impl Send for SystemCatalogTableScanSnafu
§impl Sync for SystemCatalogTableScanSnafu
§impl Unpin for SystemCatalogTableScanSnafu
§impl UnwindSafe for SystemCatalogTableScanSnafu
Blanket Implementations§
source§impl Copy for SystemCatalogTableScanSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for SystemCatalogTableScanSnafu
§impl Send for SystemCatalogTableScanSnafu
§impl Sync for SystemCatalogTableScanSnafu
§impl Unpin for SystemCatalogTableScanSnafu
§impl UnwindSafe for SystemCatalogTableScanSnafu
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/error/struct.TableEngineNotFoundSnafu.html b/catalog/error/struct.TableEngineNotFoundSnafu.html
index a8d218008b2d..177f8f49fc2c 100644
--- a/catalog/error/struct.TableEngineNotFoundSnafu.html
+++ b/catalog/error/struct.TableEngineNotFoundSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::TableEngineNotFound
variant
Fields§
§engine_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for TableEngineNotFoundSnafu<__T0>
source§fn clone(&self) -> TableEngineNotFoundSnafu<__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 TableEngineNotFoundSnafu<__T0>
source§impl<__T0> IntoError<Error> for TableEngineNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
source§impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for TableEngineNotFoundSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for TableEngineNotFoundSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for TableEngineNotFoundSnafu<__T0>where
diff --git a/catalog/error/struct.TableSchemaMismatchSnafu.html b/catalog/error/struct.TableSchemaMismatchSnafu.html
index 141d7bcece45..2d021adfe832 100644
--- a/catalog/error/struct.TableSchemaMismatchSnafu.html
+++ b/catalog/error/struct.TableSchemaMismatchSnafu.html
@@ -1,6 +1,6 @@
TableSchemaMismatchSnafu in catalog::error - Rust Struct catalog::error::TableSchemaMismatchSnafu
source · pub struct TableSchemaMismatchSnafu;
Expand description
SNAFU context selector for the Error::TableSchemaMismatch
variant
Trait Implementations§
source§impl Clone for TableSchemaMismatchSnafu
source§fn clone(&self) -> TableSchemaMismatchSnafu
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 TableSchemaMismatchSnafu
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
Blanket Implementations§
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
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.InformationSchemaColumns.html b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
index 45892b4c2c9f..fdbf90c162df 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumns.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaColumns
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcefn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaColumnsBuilder
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/struct.InformationSchemaProvider.html b/catalog/information_schema/struct.InformationSchemaProvider.html
index 741ca07a1fac..d65c01d75e79 100644
--- a/catalog/information_schema/struct.InformationSchemaProvider.html
+++ b/catalog/information_schema/struct.InformationSchemaProvider.html
@@ -7,15 +7,15 @@
) -> Self
sourcepub fn build(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> HashMap<String, TableRef>
sourcepub fn table(&self, name: &str) -> Option<TableRef>
sourcefn information_table(
&self,
name: &str
) -> Option<Arc<dyn InformationTable + Send + Sync>>
sourcefn table_info(
catalog_name: String,
table: &Arc<dyn InformationTable + Send + Sync>
-) -> TableInfoRef
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
Blanket Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
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.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index 73e111ed49d8..600a4d513cc8 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcepub(crate) fn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaTablesBuilder
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 fc2e7f26baaf..88ee74cf9d15 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -20,7 +20,7 @@
catalog_name: &str,
schema_name: &str,
table_name: &str,
- table_type: TableType,
+ table_type: TableType,
table_id: Option<u32>,
engine: Option<&str>
)
sourcefn finish(&mut self) -> Result<RecordBatch>
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTablesBuilder
§impl Send for InformationSchemaTablesBuilder
§impl Sync for InformationSchemaTablesBuilder
§impl Unpin for InformationSchemaTablesBuilder
§impl !UnwindSafe for InformationSchemaTablesBuilder
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 6050a90beb82..0cf10f8c594e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -6,5 +6,5 @@
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
+ 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
diff --git a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
index ea4fb44fea2f..8366825323a3 100644
--- a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
+++ b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
@@ -23,7 +23,7 @@
'life1: 'async_trait,source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
@@ -74,7 +74,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/kvbackend/manager/struct.SystemCatalog.html b/catalog/kvbackend/manager/struct.SystemCatalog.html
index 9eff387e8a4a..c383f8118964 100644
--- a/catalog/kvbackend/manager/struct.SystemCatalog.html
+++ b/catalog/kvbackend/manager/struct.SystemCatalog.html
@@ -11,7 +11,7 @@
catalog: &str,
schema: &str,
table_name: &str
-) -> Option<TableRef>
Trait Implementations§
source§impl Clone for SystemCatalog
source§fn clone(&self) -> SystemCatalog
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for SystemCatalog
§impl Send for SystemCatalog
§impl Sync for SystemCatalog
§impl Unpin for SystemCatalog
§impl !UnwindSafe for SystemCatalog
Blanket Implementations§
Trait Implementations§
source§impl Clone for SystemCatalog
source§fn clone(&self) -> SystemCatalog
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for SystemCatalog
§impl Send for SystemCatalog
§impl Sync for SystemCatalog
§impl Unpin for SystemCatalog
§impl !UnwindSafe for SystemCatalog
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/kvbackend/struct.KvBackendCatalogManager.html b/catalog/kvbackend/struct.KvBackendCatalogManager.html
index 239798bb5bac..bcc4e79f3030 100644
--- a/catalog/kvbackend/struct.KvBackendCatalogManager.html
+++ b/catalog/kvbackend/struct.KvBackendCatalogManager.html
@@ -23,7 +23,7 @@
'life1: 'async_trait,
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
@@ -74,7 +74,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/memory/manager/struct.MemoryCatalogManager.html b/catalog/memory/manager/struct.MemoryCatalogManager.html
index 83ced5e75e65..dd08e277d1c8 100644
--- a/catalog/memory/manager/struct.MemoryCatalogManager.html
+++ b/catalog/memory/manager/struct.MemoryCatalogManager.html
@@ -1,7 +1,7 @@
MemoryCatalogManager in catalog::memory::manager - Rust Struct catalog::memory::manager::MemoryCatalogManager
source · pub struct MemoryCatalogManager {
- catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
+ catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
}
Expand description
Simple in-memory list of catalogs
-Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
+Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
Implementations§
source§impl MemoryCatalogManager
sourcepub fn new() -> Arc<Self>
sourcepub fn with_default_setup() -> Arc<Self>
Creates a manager with some default setups
(e.g. default catalog/schema and information schema)
sourcefn schema_exist_sync(&self, catalog: &str, schema: &str) -> Result<bool>
sourcefn catalog_exist_sync(&self, catalog: &str) -> Result<bool>
sourcepub fn register_catalog_sync(&self, name: &str) -> Result<bool>
Registers a catalog if it does not exist and returns false if the schema exists.
@@ -18,7 +18,7 @@
sourcefn create_catalog_entry(
self: &Arc<Self>,
catalog: String
-) -> HashMap<String, HashMap<String, TableRef>>
Trait Implementations§
Trait Implementations§
source§impl CatalogManager for MemoryCatalogManager
source§fn schema_exists<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
catalog: &'life1 str,
schema: &'life2 str
@@ -31,7 +31,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/memory/manager/type.SchemaEntries.html b/catalog/memory/manager/type.SchemaEntries.html
index e08a73e4fce1..06ddf021ba39 100644
--- a/catalog/memory/manager/type.SchemaEntries.html
+++ b/catalog/memory/manager/type.SchemaEntries.html
@@ -1 +1 @@
-SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
+SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
diff --git a/catalog/struct.RegisterSystemTableRequest.html b/catalog/struct.RegisterSystemTableRequest.html
index 98ffda68e56e..a3007b081a96 100644
--- a/catalog/struct.RegisterSystemTableRequest.html
+++ b/catalog/struct.RegisterSystemTableRequest.html
@@ -1,5 +1,5 @@
RegisterSystemTableRequest in catalog - Rust Struct catalog::RegisterSystemTableRequest
source · pub struct RegisterSystemTableRequest {
- pub create_table_request: CreateTableRequest,
+ pub create_table_request: CreateTableRequest,
pub open_hook: Option<OpenSystemTableHook>,
}
Expand description
Register system table request:
@@ -7,7 +7,7 @@
with table ref after opening the system table
- When system table is not exists, create and register the table by create_table_request and calls open_hook with the created table.
-Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
Blanket Implementations§
Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
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/struct.RegisterTableRequest.html b/catalog/struct.RegisterTableRequest.html
index c2f30ba4aa53..91238cde5a87 100644
--- a/catalog/struct.RegisterTableRequest.html
+++ b/catalog/struct.RegisterTableRequest.html
@@ -2,9 +2,9 @@
pub catalog: String,
pub schema: String,
pub table_name: String,
- pub table_id: TableId,
- pub table: TableRef,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+ pub table: TableRef,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
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/struct.RenameTableRequest.html b/catalog/struct.RenameTableRequest.html
index c0a56b79a189..166aa7465716 100644
--- a/catalog/struct.RenameTableRequest.html
+++ b/catalog/struct.RenameTableRequest.html
@@ -3,8 +3,8 @@
pub schema: String,
pub table_name: String,
pub new_table_name: String,
- pub table_id: TableId,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
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/trait.CatalogManager.html b/catalog/trait.CatalogManager.html
index cc8091a5169e..3f057be0493b 100644
--- a/catalog/trait.CatalogManager.html
+++ b/catalog/trait.CatalogManager.html
@@ -54,7 +54,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
- ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
+ ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -107,7 +107,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/type.OpenSystemTableHook.html b/catalog/type.OpenSystemTableHook.html
index 6b2713f62a6a..1eefe22addab 100644
--- a/catalog/type.OpenSystemTableHook.html
+++ b/catalog/type.OpenSystemTableHook.html
@@ -1,2 +1,2 @@
-OpenSystemTableHook in catalog - Rust Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+OpenSystemTableHook in catalog - Rust
\ No newline at end of file
diff --git a/client/all.html b/client/all.html
index 1058c330a5ce..9bb88a75eba3 100644
--- a/client/all.html
+++ b/client/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
diff --git a/client/database/struct.Database.html b/client/database/struct.Database.html
index 1c72f65df0e4..2fe6e5e0e2fb 100644
--- a/client/database/struct.Database.html
+++ b/client/database/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/enum.Output.html b/client/enum.Output.html
new file mode 100644
index 000000000000..78dc13d76b4a
--- /dev/null
+++ b/client/enum.Output.html
@@ -0,0 +1,118 @@
+Output in client - Rust pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
§AffectedRows(usize)
§RecordBatches(RecordBatches)
§Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Output
§impl Send for Output
§impl !Sync for Output
§impl Unpin for Output
§impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/fn.from_grpc_response.html b/client/fn.from_grpc_response.html
index 0f422cea122b..0ffdc48fee12 100644
--- a/client/fn.from_grpc_response.html
+++ b/client/fn.from_grpc_response.html
@@ -1 +1 @@
-from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
+from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
diff --git a/client/index.html b/client/index.html
index 3c2e9096c074..1b3ba37a3ae1 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1 @@
-client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
\ No newline at end of file
+client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
\ No newline at end of file
diff --git a/client/region/struct.RegionRequester.html b/client/region/struct.RegionRequester.html
index c52e450ec287..74fb7ac4de8e 100644
--- a/client/region/struct.RegionRequester.html
+++ b/client/region/struct.RegionRequester.html
@@ -3,7 +3,7 @@
}Fields§
§client: Client
Implementations§
Trait Implementations§
source§impl Datanode for RegionRequester
Trait Implementations§
source§impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
Handles DML, and DDL requests.source§fn handle_query<'life0, 'async_trait>(
&'life0 self,
request: QueryRequest
-) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
§impl !RefUnwindSafe for RegionRequester
§impl Send for RegionRequester
§impl Sync for RegionRequester
§impl Unpin for RegionRequester
§impl !UnwindSafe for RegionRequester
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/struct.RecordBatches.html b/client/struct.RecordBatches.html
new file mode 100644
index 000000000000..d4b5134bef55
--- /dev/null
+++ b/client/struct.RecordBatches.html
@@ -0,0 +1,134 @@
+RecordBatches in client - Rust Struct client::RecordBatches
pub struct RecordBatches {
+ pub(crate) schema: Arc<Schema, Global>,
+ pub(crate) batches: Vec<RecordBatch, Global>,
+}
Fields§
§schema: Arc<Schema, Global>
§batches: Vec<RecordBatch, Global>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema, Global>,
+ columns: I
+) -> Result<RecordBatches, Error>where
+ I: IntoIterator<Item = Arc<dyn Vector, Global>>,
pub async fn try_collect(
+ stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
+) -> impl Future<Output = 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, Global>,
+ batches: Vec<RecordBatch, Global>
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema, Global>
pub fn take(self) -> Vec<RecordBatch, Global>
pub fn as_stream(
+ &self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
pub fn into_df_stream(
+ self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, DataFusionError>> + Send, Global>>
Trait Implementations§
§impl Debug for RecordBatches
§impl IntoIterator for RecordBatches
§type IntoIter = IntoIter<<RecordBatches as IntoIterator>::Item, Global>
Which kind of iterator are we turning this into?§fn into_iter(self) -> <RecordBatches as IntoIterator>::IntoIter
Creates an iterator from a value. Read more§impl PartialEq<RecordBatches> for RecordBatches
§fn eq(&self, other: &RecordBatches) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.§impl StructuralPartialEq for RecordBatches
Auto Trait Implementations§
§impl !RefUnwindSafe for RecordBatches
§impl Send for RecordBatches
§impl Sync for RecordBatches
§impl Unpin for RecordBatches
§impl !UnwindSafe for RecordBatches
Blanket Implementations§
§impl<I> BidiIterator for Iwhere
+ I: IntoIterator,
+ <I as IntoIterator>::IntoIter: DoubleEndedIterator,
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/type.SendableRecordBatchStream.html b/client/type.SendableRecordBatchStream.html
new file mode 100644
index 000000000000..df7268aab19a
--- /dev/null
+++ b/client/type.SendableRecordBatchStream.html
@@ -0,0 +1 @@
+SendableRecordBatchStream in client - Rust
\ No newline at end of file
diff --git a/common_grpc_expr/alter/fn.alter_expr_to_request.html b/common_grpc_expr/alter/fn.alter_expr_to_request.html
index 63f2342d02da..1850a92935fc 100644
--- a/common_grpc_expr/alter/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/alter/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr::alter - Rust Function common_grpc_expr::alter::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/alter/index.html b/common_grpc_expr/alter/index.html
index bd7e5b33fbcf..4206ec54f54a 100644
--- a/common_grpc_expr/alter/index.html
+++ b/common_grpc_expr/alter/index.html
@@ -1 +1 @@
-common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/delete/fn.to_table_delete_request.html b/common_grpc_expr/delete/fn.to_table_delete_request.html
index 17bb5cee292b..4d6dd1ad4737 100644
--- a/common_grpc_expr/delete/fn.to_table_delete_request.html
+++ b/common_grpc_expr/delete/fn.to_table_delete_request.html
@@ -2,4 +2,4 @@
catalog_name: &str,
schema_name: &str,
request: DeleteRequest
-) -> Result<DeleteRequest>
\ No newline at end of file
+) -> Result<DeleteRequest>
\ No newline at end of file
diff --git a/common_grpc_expr/fn.alter_expr_to_request.html b/common_grpc_expr/fn.alter_expr_to_request.html
index fb020673c315..e83fe76ebb26 100644
--- a/common_grpc_expr/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr - Rust Function common_grpc_expr::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/index.html b/common_grpc_expr/index.html
index 123b65c2895b..3fd0656e8b4a 100644
--- a/common_grpc_expr/index.html
+++ b/common_grpc_expr/index.html
@@ -1 +1 @@
-common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
index 36f3cb9ff049..d204bc70ab7b 100644
--- a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
+++ b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
@@ -1,7 +1,7 @@
build_create_expr_from_insertion in common_grpc_expr::insert - Rust Function common_grpc_expr::insert::build_create_expr_from_insertion
source · pub fn build_create_expr_from_insertion(
catalog_name: &str,
schema_name: &str,
- table_id: Option<TableId>,
+ table_id: Option<TableId>,
table_name: &str,
columns: &[Column],
engine: &str
diff --git a/common_grpc_expr/util/fn.build_create_table_expr.html b/common_grpc_expr/util/fn.build_create_table_expr.html
index e78b4de945b9..76a2b47b82aa 100644
--- a/common_grpc_expr/util/fn.build_create_table_expr.html
+++ b/common_grpc_expr/util/fn.build_create_table_expr.html
@@ -1,6 +1,6 @@
build_create_table_expr in common_grpc_expr::util - Rust Function common_grpc_expr::util::build_create_table_expr
source · pub fn build_create_table_expr(
- table_id: Option<TableId>,
- table_name: &TableReference<'_>,
+ table_id: Option<TableId>,
+ table_name: &TableReference<'_>,
column_exprs: Vec<ColumnExpr<'_>>,
engine: &str,
desc: &str
diff --git a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
index 13feb0240fbf..94e9334f09a2 100644
--- a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
+++ b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
@@ -1,7 +1,7 @@
DummyCacheInvalidator in common_meta::cache_invalidator - Rust pub struct DummyCacheInvalidator;
Trait Implementations§
source§impl CacheInvalidator for DummyCacheInvalidator
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
- _table_id: TableId
+ _table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/cache_invalidator/trait.CacheInvalidator.html b/common_meta/cache_invalidator/trait.CacheInvalidator.html
index dc6e8864c3a7..004d340a376a 100644
--- a/common_meta/cache_invalidator/trait.CacheInvalidator.html
+++ b/common_meta/cache_invalidator/trait.CacheInvalidator.html
@@ -3,7 +3,7 @@
fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
@@ -19,7 +19,7 @@
}Required Methods§
sourcefn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
index 625083846c6d..4e32e147c5db 100644
--- a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
+++ b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
@@ -1,5 +1,5 @@
create_proto_alter_kind in common_meta::ddl::alter_table - Rust Function common_meta::ddl::alter_table::create_proto_alter_kind
source · pub fn create_proto_alter_kind(
- table_info: &RawTableInfo,
+ table_info: &RawTableInfo,
alter_kind: &Kind
) -> Result<(Option<Kind>, Option<ColumnId>)>
Expand description
Creates region proto alter kind from table_info
and alter_kind
.
Returns the kind and next column id if it adds new columns.
diff --git a/common_meta/ddl/alter_table/struct.AlterTableData.html b/common_meta/ddl/alter_table/struct.AlterTableData.html
index f9a58a4e56bc..018ff5a55e63 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableData.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableData.html
@@ -11,7 +11,7 @@
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
cluster_id: u64,
next_column_id: Option<ColumnId>
-) -> Selfsourcefn table_ref(&self) -> TableReference<'_>
sourcefn table_id(&self) -> TableId
sourcefn table_info(&self) -> &RawTableInfo
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for AlterTableData
§impl Send for AlterTableData
§impl Sync for AlterTableData
§impl Unpin for AlterTableData
§impl UnwindSafe for AlterTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
index 473eaaaee000..6a100fc8420b 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
@@ -17,8 +17,8 @@
) -> Result<()>
Update table metadata for rename table operation.
sourceasync fn on_update_metadata_for_alter(
&self,
- new_table_info: RawTableInfo
-) -> Result<()>
sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
+ new_table_info: RawTableInfo
+) -> Result<()>sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
sourceasync fn on_broadcast(&mut self) -> Result<Status>
Broadcasts the invalidating table cache instructions.
sourcefn lock_key_inner(&self) -> Vec<String>
Trait Implementations§
source§impl Procedure for AlterTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff --git a/common_meta/ddl/create_table/struct.CreateTableData.html b/common_meta/ddl/create_table/struct.CreateTableData.html
index 2e5e27fd7eb4..4330b2fbd1af 100644
--- a/common_meta/ddl/create_table/struct.CreateTableData.html
+++ b/common_meta/ddl/create_table/struct.CreateTableData.html
@@ -3,7 +3,7 @@
pub task: CreateTableTask,
pub region_routes: Vec<RegionRoute>,
pub cluster_id: u64,
-}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
source§impl CreateTableData
sourcefn table_ref(&self) -> TableReference<'_>
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for CreateTableData
§impl Send for CreateTableData
§impl Sync for CreateTableData
§impl Unpin for CreateTableData
§impl UnwindSafe for CreateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/create_table/struct.CreateTableProcedure.html b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
index b71e4a8436f9..9a2a1de73fad 100644
--- a/common_meta/ddl/create_table/struct.CreateTableProcedure.html
+++ b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
@@ -6,7 +6,7 @@
task: CreateTableTask,
region_routes: Vec<RegionRoute>,
context: DdlContext
-) -> Self
sourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
+) -> Selfsourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
sourcepub fn create_region_request_template(&self) -> Result<PbCreateRegionRequest>
sourcepub async fn on_datanode_create_regions(&mut self) -> Result<Status>
sourceasync fn on_create_metadata(&self) -> Result<Status>
Trait Implementations§
source§impl Procedure for CreateTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_ctx: &'life1 ProcedureContext
diff --git a/common_meta/ddl/drop_table/struct.DropTableData.html b/common_meta/ddl/drop_table/struct.DropTableData.html
index 46e3a21db8cd..2b91fa24c713 100644
--- a/common_meta/ddl/drop_table/struct.DropTableData.html
+++ b/common_meta/ddl/drop_table/struct.DropTableData.html
@@ -9,7 +9,7 @@
task: DropTableTask,
table_route_value: DeserializedValueWithBytes<TableRouteValue>,
table_info_value: DeserializedValueWithBytes<TableInfoValue>
-) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for DropTableData
§impl Send for DropTableData
§impl Sync for DropTableData
§impl Unpin for DropTableData
§impl UnwindSafe for DropTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/trait.TableMetadataAllocator.html b/common_meta/ddl/trait.TableMetadataAllocator.html
index b095be070299..36cbad59636a 100644
--- a/common_meta/ddl/trait.TableMetadataAllocator.html
+++ b/common_meta/ddl/trait.TableMetadataAllocator.html
@@ -3,7 +3,7 @@
fn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>
where Self: 'async_trait,
@@ -14,7 +14,7 @@
}Required Methods§
sourcefn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/common_meta/ddl/truncate_table/struct.TruncateTableData.html b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
index 7363b523f063..708e5561808d 100644
--- a/common_meta/ddl/truncate_table/struct.TruncateTableData.html
+++ b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
@@ -9,7 +9,7 @@
task: TruncateTableTask,
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
region_routes: Vec<RegionRoute>
-) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for TruncateTableData
§impl Send for TruncateTableData
§impl Sync for TruncateTableData
§impl Unpin for TruncateTableData
§impl UnwindSafe for TruncateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/error/enum.Error.html b/common_meta/error/enum.Error.html
index 541ce4833b77..1a92776ff7a1 100644
--- a/common_meta/error/enum.Error.html
+++ b/common_meta/error/enum.Error.html
@@ -44,12 +44,12 @@
},
BuildTableMeta {
table_name: String,
- error: TableMetaBuilderError,
+ error: TableMetaBuilderError,
location: Location,
},
Table {
location: Location,
- source: Error,
+ source: Error,
},
TableRouteNotFound {
table_name: String,
@@ -145,7 +145,7 @@
location: Location,
},
MoveRegion {
- table_id: TableId,
+ table_id: TableId,
region: RegionNumber,
err_msg: String,
location: Location,
@@ -169,7 +169,7 @@
RetryLater {
source: BoxedError,
},
-
}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
+}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
sourcepub fn is_retry_later(&self) -> bool
Determine whether it is a retry later type through StatusCode
Trait Implementations§
source§impl Error for Errorwhere
Self: Debug + Display,
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§fn output_msg(&self) -> Stringwhere
Self: Sized,
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0> IntoError<Error> for CacheNotGetSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for CatalogAlreadyExistsSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -206,7 +206,7 @@
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0> IntoError<Error> for NextSequenceSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -245,7 +245,7 @@
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for TableRouteNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
+ Error: Error + ErrorCompat,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSnafu<__T0>where
Error: Error + ErrorCompat,
diff --git a/common_meta/error/struct.BuildTableMetaSnafu.html b/common_meta/error/struct.BuildTableMetaSnafu.html
index 848719b5d875..de793f19e317 100644
--- a/common_meta/error/struct.BuildTableMetaSnafu.html
+++ b/common_meta/error/struct.BuildTableMetaSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::BuildTableMeta
variant
Fields§
§table_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for BuildTableMetaSnafu<__T0>
source§fn clone(&self) -> BuildTableMetaSnafu<__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 BuildTableMetaSnafu<__T0>
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for BuildTableMetaSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for BuildTableMetaSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for BuildTableMetaSnafu<__T0>where
diff --git a/common_meta/error/struct.MoveRegionSnafu.html b/common_meta/error/struct.MoveRegionSnafu.html
index 7225b5d448e7..33e45ac82117 100644
--- a/common_meta/error/struct.MoveRegionSnafu.html
+++ b/common_meta/error/struct.MoveRegionSnafu.html
@@ -4,16 +4,16 @@
pub err_msg: __T2,
}Expand description
SNAFU context selector for the Error::MoveRegion
variant
Fields§
§table_id: __T0
§region: __T1
§err_msg: __T2
Implementations§
Trait Implementations§
source§impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for MoveRegionSnafu<__T0, __T1, __T2>
source§fn clone(&self) -> MoveRegionSnafu<__T0, __T1, __T2>
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, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for MoveRegionSnafu<__T0, __T1, __T2>
Auto Trait Implementations§
§impl<__T0, __T1, __T2> RefUnwindSafe for MoveRegionSnafu<__T0, __T1, __T2>where
__T0: RefUnwindSafe,
diff --git a/common_meta/error/struct.TableSnafu.html b/common_meta/error/struct.TableSnafu.html
index d9c91350619f..a2c1ecb55273 100644
--- a/common_meta/error/struct.TableSnafu.html
+++ b/common_meta/error/struct.TableSnafu.html
@@ -1,6 +1,6 @@
TableSnafu in common_meta::error - Rust Struct common_meta::error::TableSnafu
source · pub struct TableSnafu;
Expand description
SNAFU context selector for the Error::Table
variant
Trait Implementations§
source§impl Clone for TableSnafu
source§fn clone(&self) -> TableSnafu
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 TableSnafu
source§impl Copy for TableSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
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/common_meta/instruction/enum.Instruction.html b/common_meta/instruction/enum.Instruction.html
index 7a20097062e3..f2b72df49f65 100644
--- a/common_meta/instruction/enum.Instruction.html
+++ b/common_meta/instruction/enum.Instruction.html
@@ -1,9 +1,9 @@
Instruction in common_meta::instruction - Rust Enum common_meta::instruction::Instruction
source · pub enum Instruction {
OpenRegion(OpenRegion),
CloseRegion(RegionIdent),
- InvalidateTableIdCache(TableId),
+ InvalidateTableIdCache(TableId),
InvalidateTableNameCache(TableName),
-}
Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for Instruction
Auto Trait Implementations§
§impl RefUnwindSafe for Instruction
§impl Send for Instruction
§impl Sync for Instruction
§impl Unpin for Instruction
§impl UnwindSafe for Instruction
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/instruction/struct.RegionIdent.html b/common_meta/instruction/struct.RegionIdent.html
index 834642f1f56d..e1c0821020fb 100644
--- a/common_meta/instruction/struct.RegionIdent.html
+++ b/common_meta/instruction/struct.RegionIdent.html
@@ -1,10 +1,10 @@
RegionIdent in common_meta::instruction - Rust Struct common_meta::instruction::RegionIdent
source · pub struct RegionIdent {
pub cluster_id: ClusterId,
pub datanode_id: DatanodeId,
- pub table_id: TableId,
+ pub table_id: TableId,
pub region_number: RegionNumber,
pub engine: String,
-}
Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for RegionIdent
source§impl Hash for RegionIdent
source§impl PartialEq<RegionIdent> for RegionIdent
source§fn eq(&self, other: &RegionIdent) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableKey.html b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
index 831cc2a090bc..eb2071d8b654 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableKey.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
@@ -1,7 +1,7 @@
DatanodeTableKey in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableKey
source · pub struct DatanodeTableKey {
datanode_id: DatanodeId,
- table_id: TableId,
-}
Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
Blanket Implementations§
source§impl<T> Any for Twhere
+ table_id: TableId,
+}Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
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/common_meta/key/datanode_table/struct.DatanodeTableManager.html b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
index b1e8ab3c4b74..020d5420db60 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableManager.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
@@ -8,7 +8,7 @@
datanode_id: DatanodeId
) -> BoxStream<'static, Result<DatanodeTableValue>>
sourcepub fn build_create_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
engine: &str,
region_storage_path: &str,
region_options: HashMap<String, String>,
@@ -16,7 +16,7 @@
) -> Result<Txn>
Builds the create datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub(crate) fn build_update_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_region_distribution: RegionDistribution,
new_region_distribution: RegionDistribution,
@@ -24,7 +24,7 @@
) -> Result<Txn>
Builds the update datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub fn build_delete_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
distribution: RegionDistribution
) -> Result<Txn>
Builds the delete datanode table transactions. It only executes while the primary keys comparing successes.
Auto Trait Implementations§
§impl !RefUnwindSafe for DatanodeTableManager
§impl Send for DatanodeTableManager
§impl Sync for DatanodeTableManager
§impl Unpin for DatanodeTableManager
§impl !UnwindSafe for DatanodeTableManager
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableValue.html b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
index a32244212294..82d59648fcfd 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableValue.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
@@ -1,10 +1,10 @@
DatanodeTableValue in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableValue
source · pub struct DatanodeTableValue {
- pub table_id: TableId,
+ pub table_id: TableId,
pub regions: Vec<RegionNumber>,
pub region_info: RegionInfo,
version: u64,
-}
Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
- table_id: TableId,
+}Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
+ table_id: TableId,
regions: Vec<RegionNumber>,
region_info: RegionInfo
) -> Self
source§impl DatanodeTableValue
sourcepub fn try_from_raw_value(raw_value: &[u8]) -> Result<Self>
sourcepub fn try_as_raw_value(&self) -> Result<Vec<u8>>
Trait Implementations§
source§impl Clone for DatanodeTableValue
source§fn clone(&self) -> DatanodeTableValue
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 DatanodeTableValue
source§impl<'de> Deserialize<'de> for DatanodeTableValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
diff --git a/common_meta/key/struct.TableMetadataManager.html b/common_meta/key/struct.TableMetadataManager.html
index 6342e3e5e772..ca0e2101e96e 100644
--- a/common_meta/key/struct.TableMetadataManager.html
+++ b/common_meta/key/struct.TableMetadataManager.html
@@ -8,10 +8,10 @@
kv_backend: KvBackendRef,
}Fields§
§table_name_manager: TableNameManager
§table_info_manager: TableInfoManager
§datanode_table_manager: DatanodeTableManager
§catalog_manager: CatalogManager
§schema_manager: SchemaManager
§table_route_manager: TableRouteManager
§kv_backend: KvBackendRef
Implementations§
source§impl TableMetadataManager
sourcepub fn new(kv_backend: KvBackendRef) -> Self
sourcepub async fn init(&self) -> Result<()>
sourcepub fn table_name_manager(&self) -> &TableNameManager
sourcepub fn table_info_manager(&self) -> &TableInfoManager
sourcepub fn datanode_table_manager(&self) -> &DatanodeTableManager
sourcepub fn catalog_manager(&self) -> &CatalogManager
sourcepub fn schema_manager(&self) -> &SchemaManager
sourcepub fn table_route_manager(&self) -> &TableRouteManager
sourcepub fn kv_backend(&self) -> &KvBackendRef
sourcepub async fn get_full_table_info(
&self,
- table_id: TableId
+ table_id: TableId
) -> Result<(Option<DeserializedValueWithBytes<TableInfoValue>>, Option<DeserializedValueWithBytes<TableRouteValue>>)>
sourcepub async fn create_table_metadata(
&self,
- table_info: RawTableInfo,
+ table_info: RawTableInfo,
region_routes: Vec<RegionRoute>
) -> Result<()>
Creates metadata for table and returns an error if different metadata exists.
The caller MUST ensure it has the exclusive access to TableNameKey
.
@@ -31,11 +31,11 @@
sourcepub async fn update_table_info(
&self,
current_table_info_value: DeserializedValueWithBytes<TableInfoValue>,
- new_table_info: RawTableInfo
+ new_table_info: RawTableInfo
) -> Result<()>
Updates table info and returns an error if different metadata exists.
sourcepub async fn update_table_route(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_table_route_value: DeserializedValueWithBytes<TableRouteValue>,
new_region_routes: Vec<RegionRoute>,
diff --git a/common_meta/key/table_info/struct.TableInfoKey.html b/common_meta/key/table_info/struct.TableInfoKey.html
index a65b5c4c9471..f974bb124def 100644
--- a/common_meta/key/table_info/struct.TableInfoKey.html
+++ b/common_meta/key/table_info/struct.TableInfoKey.html
@@ -1,6 +1,6 @@
TableInfoKey in common_meta::key::table_info - Rust Struct common_meta::key::table_info::
Expand description
SNAFU context selector for the Error::CreateTable
variant
source§impl<__T0: Clone> Clone for CreateTableSnafu<__T0>
impl<__T0: Clone> Clone for CreateTableSnafu<__T0>
source§fn clone(&self) -> CreateTableSnafu<__T0>
fn clone(&self) -> CreateTableSnafu<__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 CreateTableSnafu<__T0>
impl<__T0: Debug> Debug for CreateTableSnafu<__T0>
source§impl<__T0> IntoError<Error> for CreateTableSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
impl<__T0> IntoError<Error> for CreateTableSnafu<__T0>where Error: Error + ErrorCompat, - __T0: Into<String>,
impl<__T0: Copy> Copy for CreateTableSnafu<__T0>
impl<__T0> RefUnwindSafe for CreateTableSnafu<__T0>where + __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
fn into_error(self, error: Self::Source) -> Error
impl<__T0: Copy> Copy for CreateTableSnafu<__T0>
impl<__T0> RefUnwindSafe for CreateTableSnafu<__T0>where __T0: RefUnwindSafe,
impl<__T0> Send for CreateTableSnafu<__T0>where __T0: Send,
impl<__T0> Sync for CreateTableSnafu<__T0>where __T0: Sync,
impl<__T0> Unpin for CreateTableSnafu<__T0>where
diff --git a/catalog/error/struct.InsertCatalogRecordSnafu.html b/catalog/error/struct.InsertCatalogRecordSnafu.html
index 9ae990c0942f..dc650ecc000b 100644
--- a/catalog/error/struct.InsertCatalogRecordSnafu.html
+++ b/catalog/error/struct.InsertCatalogRecordSnafu.html
@@ -1,6 +1,6 @@
InsertCatalogRecordSnafu in catalog::error - Rust Struct catalog::error::InsertCatalogRecordSnafu
source · pub struct InsertCatalogRecordSnafu;
Expand description
SNAFU context selector for the Error::InsertCatalogRecord
variant
Trait Implementations§
source§impl Clone for InsertCatalogRecordSnafu
source§fn clone(&self) -> InsertCatalogRecordSnafu
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 InsertCatalogRecordSnafu
source§impl Copy for InsertCatalogRecordSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for InsertCatalogRecordSnafu
§impl Send for InsertCatalogRecordSnafu
§impl Sync for InsertCatalogRecordSnafu
§impl Unpin for InsertCatalogRecordSnafu
§impl UnwindSafe for InsertCatalogRecordSnafu
Blanket Implementations§
source§impl Copy for InsertCatalogRecordSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for InsertCatalogRecordSnafu
§impl Send for InsertCatalogRecordSnafu
§impl Sync for InsertCatalogRecordSnafu
§impl Unpin for InsertCatalogRecordSnafu
§impl UnwindSafe for InsertCatalogRecordSnafu
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/error/struct.OpenSystemCatalogSnafu.html b/catalog/error/struct.OpenSystemCatalogSnafu.html
index cf223ff26e8b..7c8415b68235 100644
--- a/catalog/error/struct.OpenSystemCatalogSnafu.html
+++ b/catalog/error/struct.OpenSystemCatalogSnafu.html
@@ -1,6 +1,6 @@
OpenSystemCatalogSnafu in catalog::error - Rust Struct catalog::error::OpenSystemCatalogSnafu
source · pub struct OpenSystemCatalogSnafu;
Expand description
SNAFU context selector for the Error::OpenSystemCatalog
variant
Trait Implementations§
source§impl Clone for OpenSystemCatalogSnafu
source§fn clone(&self) -> OpenSystemCatalogSnafu
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 OpenSystemCatalogSnafu
source§impl Copy for OpenSystemCatalogSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for OpenSystemCatalogSnafu
§impl Send for OpenSystemCatalogSnafu
§impl Sync for OpenSystemCatalogSnafu
§impl Unpin for OpenSystemCatalogSnafu
§impl UnwindSafe for OpenSystemCatalogSnafu
Blanket Implementations§
source§impl Copy for OpenSystemCatalogSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for OpenSystemCatalogSnafu
§impl Send for OpenSystemCatalogSnafu
§impl Sync for OpenSystemCatalogSnafu
§impl Unpin for OpenSystemCatalogSnafu
§impl UnwindSafe for OpenSystemCatalogSnafu
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/error/struct.OpenTableSnafu.html b/catalog/error/struct.OpenTableSnafu.html
index 83c001bda093..84f43843dc99 100644
--- a/catalog/error/struct.OpenTableSnafu.html
+++ b/catalog/error/struct.OpenTableSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::OpenTable
variant
Fields§
§table_id: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for OpenTableSnafu<__T0>
source§fn clone(&self) -> OpenTableSnafu<__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 OpenTableSnafu<__T0>
source§impl<__T0> IntoError<Error> for OpenTableSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
source§impl<__T0: Copy> Copy for OpenTableSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for OpenTableSnafu<__T0>where
+ __T0: Into<TableId>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for OpenTableSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for OpenTableSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for OpenTableSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for OpenTableSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for OpenTableSnafu<__T0>where
diff --git a/catalog/error/struct.SystemCatalogTableScanSnafu.html b/catalog/error/struct.SystemCatalogTableScanSnafu.html
index a00f76149aaf..fadce0cea3da 100644
--- a/catalog/error/struct.SystemCatalogTableScanSnafu.html
+++ b/catalog/error/struct.SystemCatalogTableScanSnafu.html
@@ -1,6 +1,6 @@
SystemCatalogTableScanSnafu in catalog::error - Rust Struct catalog::error::SystemCatalogTableScanSnafu
source · pub struct SystemCatalogTableScanSnafu;
Expand description
SNAFU context selector for the Error::SystemCatalogTableScan
variant
Trait Implementations§
source§impl Clone for SystemCatalogTableScanSnafu
source§fn clone(&self) -> SystemCatalogTableScanSnafu
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 SystemCatalogTableScanSnafu
source§impl Copy for SystemCatalogTableScanSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for SystemCatalogTableScanSnafu
§impl Send for SystemCatalogTableScanSnafu
§impl Sync for SystemCatalogTableScanSnafu
§impl Unpin for SystemCatalogTableScanSnafu
§impl UnwindSafe for SystemCatalogTableScanSnafu
Blanket Implementations§
source§impl Copy for SystemCatalogTableScanSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for SystemCatalogTableScanSnafu
§impl Send for SystemCatalogTableScanSnafu
§impl Sync for SystemCatalogTableScanSnafu
§impl Unpin for SystemCatalogTableScanSnafu
§impl UnwindSafe for SystemCatalogTableScanSnafu
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/error/struct.TableEngineNotFoundSnafu.html b/catalog/error/struct.TableEngineNotFoundSnafu.html
index a8d218008b2d..177f8f49fc2c 100644
--- a/catalog/error/struct.TableEngineNotFoundSnafu.html
+++ b/catalog/error/struct.TableEngineNotFoundSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::TableEngineNotFound
variant
Fields§
§engine_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for TableEngineNotFoundSnafu<__T0>
source§fn clone(&self) -> TableEngineNotFoundSnafu<__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 TableEngineNotFoundSnafu<__T0>
source§impl<__T0> IntoError<Error> for TableEngineNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
source§impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for TableEngineNotFoundSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for TableEngineNotFoundSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for TableEngineNotFoundSnafu<__T0>where
diff --git a/catalog/error/struct.TableSchemaMismatchSnafu.html b/catalog/error/struct.TableSchemaMismatchSnafu.html
index 141d7bcece45..2d021adfe832 100644
--- a/catalog/error/struct.TableSchemaMismatchSnafu.html
+++ b/catalog/error/struct.TableSchemaMismatchSnafu.html
@@ -1,6 +1,6 @@
TableSchemaMismatchSnafu in catalog::error - Rust Struct catalog::error::TableSchemaMismatchSnafu
source · pub struct TableSchemaMismatchSnafu;
Expand description
SNAFU context selector for the Error::TableSchemaMismatch
variant
Trait Implementations§
source§impl Clone for TableSchemaMismatchSnafu
source§fn clone(&self) -> TableSchemaMismatchSnafu
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 TableSchemaMismatchSnafu
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
Blanket Implementations§
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
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.InformationSchemaColumns.html b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
index 45892b4c2c9f..fdbf90c162df 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumns.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaColumns
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcefn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaColumnsBuilder
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/struct.InformationSchemaProvider.html b/catalog/information_schema/struct.InformationSchemaProvider.html
index 741ca07a1fac..d65c01d75e79 100644
--- a/catalog/information_schema/struct.InformationSchemaProvider.html
+++ b/catalog/information_schema/struct.InformationSchemaProvider.html
@@ -7,15 +7,15 @@
) -> Self
sourcepub fn build(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> HashMap<String, TableRef>
sourcepub fn table(&self, name: &str) -> Option<TableRef>
sourcefn information_table(
&self,
name: &str
) -> Option<Arc<dyn InformationTable + Send + Sync>>
sourcefn table_info(
catalog_name: String,
table: &Arc<dyn InformationTable + Send + Sync>
-) -> TableInfoRef
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
Blanket Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
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.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index 73e111ed49d8..600a4d513cc8 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcepub(crate) fn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaTablesBuilder
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 fc2e7f26baaf..88ee74cf9d15 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -20,7 +20,7 @@
catalog_name: &str,
schema_name: &str,
table_name: &str,
- table_type: TableType,
+ table_type: TableType,
table_id: Option<u32>,
engine: Option<&str>
)
sourcefn finish(&mut self) -> Result<RecordBatch>
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTablesBuilder
§impl Send for InformationSchemaTablesBuilder
§impl Sync for InformationSchemaTablesBuilder
§impl Unpin for InformationSchemaTablesBuilder
§impl !UnwindSafe for InformationSchemaTablesBuilder
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 6050a90beb82..0cf10f8c594e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -6,5 +6,5 @@
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
+ 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
diff --git a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
index ea4fb44fea2f..8366825323a3 100644
--- a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
+++ b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
@@ -23,7 +23,7 @@
'life1: 'async_trait,source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
@@ -74,7 +74,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/kvbackend/manager/struct.SystemCatalog.html b/catalog/kvbackend/manager/struct.SystemCatalog.html
index 9eff387e8a4a..c383f8118964 100644
--- a/catalog/kvbackend/manager/struct.SystemCatalog.html
+++ b/catalog/kvbackend/manager/struct.SystemCatalog.html
@@ -11,7 +11,7 @@
catalog: &str,
schema: &str,
table_name: &str
-) -> Option<TableRef>
Trait Implementations§
source§impl Clone for SystemCatalog
source§fn clone(&self) -> SystemCatalog
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for SystemCatalog
§impl Send for SystemCatalog
§impl Sync for SystemCatalog
§impl Unpin for SystemCatalog
§impl !UnwindSafe for SystemCatalog
Blanket Implementations§
Trait Implementations§
source§impl Clone for SystemCatalog
source§fn clone(&self) -> SystemCatalog
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for SystemCatalog
§impl Send for SystemCatalog
§impl Sync for SystemCatalog
§impl Unpin for SystemCatalog
§impl !UnwindSafe for SystemCatalog
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/kvbackend/struct.KvBackendCatalogManager.html b/catalog/kvbackend/struct.KvBackendCatalogManager.html
index 239798bb5bac..bcc4e79f3030 100644
--- a/catalog/kvbackend/struct.KvBackendCatalogManager.html
+++ b/catalog/kvbackend/struct.KvBackendCatalogManager.html
@@ -23,7 +23,7 @@
'life1: 'async_trait,
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
@@ -74,7 +74,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/memory/manager/struct.MemoryCatalogManager.html b/catalog/memory/manager/struct.MemoryCatalogManager.html
index 83ced5e75e65..dd08e277d1c8 100644
--- a/catalog/memory/manager/struct.MemoryCatalogManager.html
+++ b/catalog/memory/manager/struct.MemoryCatalogManager.html
@@ -1,7 +1,7 @@
MemoryCatalogManager in catalog::memory::manager - Rust Struct catalog::memory::manager::MemoryCatalogManager
source · pub struct MemoryCatalogManager {
- catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
+ catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
}
Expand description
Simple in-memory list of catalogs
-Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
+Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
Implementations§
source§impl MemoryCatalogManager
sourcepub fn new() -> Arc<Self>
sourcepub fn with_default_setup() -> Arc<Self>
Creates a manager with some default setups
(e.g. default catalog/schema and information schema)
sourcefn schema_exist_sync(&self, catalog: &str, schema: &str) -> Result<bool>
sourcefn catalog_exist_sync(&self, catalog: &str) -> Result<bool>
sourcepub fn register_catalog_sync(&self, name: &str) -> Result<bool>
Registers a catalog if it does not exist and returns false if the schema exists.
@@ -18,7 +18,7 @@
sourcefn create_catalog_entry(
self: &Arc<Self>,
catalog: String
-) -> HashMap<String, HashMap<String, TableRef>>
Trait Implementations§
Trait Implementations§
source§impl CatalogManager for MemoryCatalogManager
source§fn schema_exists<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
catalog: &'life1 str,
schema: &'life2 str
@@ -31,7 +31,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/memory/manager/type.SchemaEntries.html b/catalog/memory/manager/type.SchemaEntries.html
index e08a73e4fce1..06ddf021ba39 100644
--- a/catalog/memory/manager/type.SchemaEntries.html
+++ b/catalog/memory/manager/type.SchemaEntries.html
@@ -1 +1 @@
-SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
+SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
diff --git a/catalog/struct.RegisterSystemTableRequest.html b/catalog/struct.RegisterSystemTableRequest.html
index 98ffda68e56e..a3007b081a96 100644
--- a/catalog/struct.RegisterSystemTableRequest.html
+++ b/catalog/struct.RegisterSystemTableRequest.html
@@ -1,5 +1,5 @@
RegisterSystemTableRequest in catalog - Rust Struct catalog::RegisterSystemTableRequest
source · pub struct RegisterSystemTableRequest {
- pub create_table_request: CreateTableRequest,
+ pub create_table_request: CreateTableRequest,
pub open_hook: Option<OpenSystemTableHook>,
}
Expand description
Register system table request:
@@ -7,7 +7,7 @@
with table ref after opening the system table
- When system table is not exists, create and register the table by create_table_request and calls open_hook with the created table.
-Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
Blanket Implementations§
Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
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/struct.RegisterTableRequest.html b/catalog/struct.RegisterTableRequest.html
index c2f30ba4aa53..91238cde5a87 100644
--- a/catalog/struct.RegisterTableRequest.html
+++ b/catalog/struct.RegisterTableRequest.html
@@ -2,9 +2,9 @@
pub catalog: String,
pub schema: String,
pub table_name: String,
- pub table_id: TableId,
- pub table: TableRef,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+ pub table: TableRef,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
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/struct.RenameTableRequest.html b/catalog/struct.RenameTableRequest.html
index c0a56b79a189..166aa7465716 100644
--- a/catalog/struct.RenameTableRequest.html
+++ b/catalog/struct.RenameTableRequest.html
@@ -3,8 +3,8 @@
pub schema: String,
pub table_name: String,
pub new_table_name: String,
- pub table_id: TableId,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
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/trait.CatalogManager.html b/catalog/trait.CatalogManager.html
index cc8091a5169e..3f057be0493b 100644
--- a/catalog/trait.CatalogManager.html
+++ b/catalog/trait.CatalogManager.html
@@ -54,7 +54,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
- ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
+ ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -107,7 +107,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/type.OpenSystemTableHook.html b/catalog/type.OpenSystemTableHook.html
index 6b2713f62a6a..1eefe22addab 100644
--- a/catalog/type.OpenSystemTableHook.html
+++ b/catalog/type.OpenSystemTableHook.html
@@ -1,2 +1,2 @@
-OpenSystemTableHook in catalog - Rust Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+OpenSystemTableHook in catalog - Rust
\ No newline at end of file
diff --git a/client/all.html b/client/all.html
index 1058c330a5ce..9bb88a75eba3 100644
--- a/client/all.html
+++ b/client/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
diff --git a/client/database/struct.Database.html b/client/database/struct.Database.html
index 1c72f65df0e4..2fe6e5e0e2fb 100644
--- a/client/database/struct.Database.html
+++ b/client/database/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/enum.Output.html b/client/enum.Output.html
new file mode 100644
index 000000000000..78dc13d76b4a
--- /dev/null
+++ b/client/enum.Output.html
@@ -0,0 +1,118 @@
+Output in client - Rust pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
§AffectedRows(usize)
§RecordBatches(RecordBatches)
§Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Output
§impl Send for Output
§impl !Sync for Output
§impl Unpin for Output
§impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/fn.from_grpc_response.html b/client/fn.from_grpc_response.html
index 0f422cea122b..0ffdc48fee12 100644
--- a/client/fn.from_grpc_response.html
+++ b/client/fn.from_grpc_response.html
@@ -1 +1 @@
-from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
+from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
diff --git a/client/index.html b/client/index.html
index 3c2e9096c074..1b3ba37a3ae1 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1 @@
-client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
\ No newline at end of file
+client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
\ No newline at end of file
diff --git a/client/region/struct.RegionRequester.html b/client/region/struct.RegionRequester.html
index c52e450ec287..74fb7ac4de8e 100644
--- a/client/region/struct.RegionRequester.html
+++ b/client/region/struct.RegionRequester.html
@@ -3,7 +3,7 @@
}Fields§
§client: Client
Implementations§
Trait Implementations§
source§impl Datanode for RegionRequester
Trait Implementations§
source§impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
Handles DML, and DDL requests.source§fn handle_query<'life0, 'async_trait>(
&'life0 self,
request: QueryRequest
-) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
§impl !RefUnwindSafe for RegionRequester
§impl Send for RegionRequester
§impl Sync for RegionRequester
§impl Unpin for RegionRequester
§impl !UnwindSafe for RegionRequester
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/struct.RecordBatches.html b/client/struct.RecordBatches.html
new file mode 100644
index 000000000000..d4b5134bef55
--- /dev/null
+++ b/client/struct.RecordBatches.html
@@ -0,0 +1,134 @@
+RecordBatches in client - Rust Struct client::RecordBatches
pub struct RecordBatches {
+ pub(crate) schema: Arc<Schema, Global>,
+ pub(crate) batches: Vec<RecordBatch, Global>,
+}
Fields§
§schema: Arc<Schema, Global>
§batches: Vec<RecordBatch, Global>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema, Global>,
+ columns: I
+) -> Result<RecordBatches, Error>where
+ I: IntoIterator<Item = Arc<dyn Vector, Global>>,
pub async fn try_collect(
+ stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
+) -> impl Future<Output = 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, Global>,
+ batches: Vec<RecordBatch, Global>
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema, Global>
pub fn take(self) -> Vec<RecordBatch, Global>
pub fn as_stream(
+ &self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
pub fn into_df_stream(
+ self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, DataFusionError>> + Send, Global>>
Trait Implementations§
§impl Debug for RecordBatches
§impl IntoIterator for RecordBatches
§type IntoIter = IntoIter<<RecordBatches as IntoIterator>::Item, Global>
Which kind of iterator are we turning this into?§fn into_iter(self) -> <RecordBatches as IntoIterator>::IntoIter
Creates an iterator from a value. Read more§impl PartialEq<RecordBatches> for RecordBatches
§fn eq(&self, other: &RecordBatches) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.§impl StructuralPartialEq for RecordBatches
Auto Trait Implementations§
§impl !RefUnwindSafe for RecordBatches
§impl Send for RecordBatches
§impl Sync for RecordBatches
§impl Unpin for RecordBatches
§impl !UnwindSafe for RecordBatches
Blanket Implementations§
§impl<I> BidiIterator for Iwhere
+ I: IntoIterator,
+ <I as IntoIterator>::IntoIter: DoubleEndedIterator,
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/type.SendableRecordBatchStream.html b/client/type.SendableRecordBatchStream.html
new file mode 100644
index 000000000000..df7268aab19a
--- /dev/null
+++ b/client/type.SendableRecordBatchStream.html
@@ -0,0 +1 @@
+SendableRecordBatchStream in client - Rust
\ No newline at end of file
diff --git a/common_grpc_expr/alter/fn.alter_expr_to_request.html b/common_grpc_expr/alter/fn.alter_expr_to_request.html
index 63f2342d02da..1850a92935fc 100644
--- a/common_grpc_expr/alter/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/alter/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr::alter - Rust Function common_grpc_expr::alter::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/alter/index.html b/common_grpc_expr/alter/index.html
index bd7e5b33fbcf..4206ec54f54a 100644
--- a/common_grpc_expr/alter/index.html
+++ b/common_grpc_expr/alter/index.html
@@ -1 +1 @@
-common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/delete/fn.to_table_delete_request.html b/common_grpc_expr/delete/fn.to_table_delete_request.html
index 17bb5cee292b..4d6dd1ad4737 100644
--- a/common_grpc_expr/delete/fn.to_table_delete_request.html
+++ b/common_grpc_expr/delete/fn.to_table_delete_request.html
@@ -2,4 +2,4 @@
catalog_name: &str,
schema_name: &str,
request: DeleteRequest
-) -> Result<DeleteRequest>
\ No newline at end of file
+) -> Result<DeleteRequest>
\ No newline at end of file
diff --git a/common_grpc_expr/fn.alter_expr_to_request.html b/common_grpc_expr/fn.alter_expr_to_request.html
index fb020673c315..e83fe76ebb26 100644
--- a/common_grpc_expr/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr - Rust Function common_grpc_expr::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/index.html b/common_grpc_expr/index.html
index 123b65c2895b..3fd0656e8b4a 100644
--- a/common_grpc_expr/index.html
+++ b/common_grpc_expr/index.html
@@ -1 +1 @@
-common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
index 36f3cb9ff049..d204bc70ab7b 100644
--- a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
+++ b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
@@ -1,7 +1,7 @@
build_create_expr_from_insertion in common_grpc_expr::insert - Rust Function common_grpc_expr::insert::build_create_expr_from_insertion
source · pub fn build_create_expr_from_insertion(
catalog_name: &str,
schema_name: &str,
- table_id: Option<TableId>,
+ table_id: Option<TableId>,
table_name: &str,
columns: &[Column],
engine: &str
diff --git a/common_grpc_expr/util/fn.build_create_table_expr.html b/common_grpc_expr/util/fn.build_create_table_expr.html
index e78b4de945b9..76a2b47b82aa 100644
--- a/common_grpc_expr/util/fn.build_create_table_expr.html
+++ b/common_grpc_expr/util/fn.build_create_table_expr.html
@@ -1,6 +1,6 @@
build_create_table_expr in common_grpc_expr::util - Rust Function common_grpc_expr::util::build_create_table_expr
source · pub fn build_create_table_expr(
- table_id: Option<TableId>,
- table_name: &TableReference<'_>,
+ table_id: Option<TableId>,
+ table_name: &TableReference<'_>,
column_exprs: Vec<ColumnExpr<'_>>,
engine: &str,
desc: &str
diff --git a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
index 13feb0240fbf..94e9334f09a2 100644
--- a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
+++ b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
@@ -1,7 +1,7 @@
DummyCacheInvalidator in common_meta::cache_invalidator - Rust pub struct DummyCacheInvalidator;
Trait Implementations§
source§impl CacheInvalidator for DummyCacheInvalidator
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
- _table_id: TableId
+ _table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/cache_invalidator/trait.CacheInvalidator.html b/common_meta/cache_invalidator/trait.CacheInvalidator.html
index dc6e8864c3a7..004d340a376a 100644
--- a/common_meta/cache_invalidator/trait.CacheInvalidator.html
+++ b/common_meta/cache_invalidator/trait.CacheInvalidator.html
@@ -3,7 +3,7 @@
fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
@@ -19,7 +19,7 @@
}Required Methods§
sourcefn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
index 625083846c6d..4e32e147c5db 100644
--- a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
+++ b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
@@ -1,5 +1,5 @@
create_proto_alter_kind in common_meta::ddl::alter_table - Rust Function common_meta::ddl::alter_table::create_proto_alter_kind
source · pub fn create_proto_alter_kind(
- table_info: &RawTableInfo,
+ table_info: &RawTableInfo,
alter_kind: &Kind
) -> Result<(Option<Kind>, Option<ColumnId>)>
Expand description
Creates region proto alter kind from table_info
and alter_kind
.
Returns the kind and next column id if it adds new columns.
diff --git a/common_meta/ddl/alter_table/struct.AlterTableData.html b/common_meta/ddl/alter_table/struct.AlterTableData.html
index f9a58a4e56bc..018ff5a55e63 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableData.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableData.html
@@ -11,7 +11,7 @@
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
cluster_id: u64,
next_column_id: Option<ColumnId>
-) -> Selfsourcefn table_ref(&self) -> TableReference<'_>
sourcefn table_id(&self) -> TableId
sourcefn table_info(&self) -> &RawTableInfo
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for AlterTableData
§impl Send for AlterTableData
§impl Sync for AlterTableData
§impl Unpin for AlterTableData
§impl UnwindSafe for AlterTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
index 473eaaaee000..6a100fc8420b 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
@@ -17,8 +17,8 @@
) -> Result<()>
Update table metadata for rename table operation.
sourceasync fn on_update_metadata_for_alter(
&self,
- new_table_info: RawTableInfo
-) -> Result<()>
sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
+ new_table_info: RawTableInfo
+) -> Result<()>sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
sourceasync fn on_broadcast(&mut self) -> Result<Status>
Broadcasts the invalidating table cache instructions.
sourcefn lock_key_inner(&self) -> Vec<String>
Trait Implementations§
source§impl Procedure for AlterTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff --git a/common_meta/ddl/create_table/struct.CreateTableData.html b/common_meta/ddl/create_table/struct.CreateTableData.html
index 2e5e27fd7eb4..4330b2fbd1af 100644
--- a/common_meta/ddl/create_table/struct.CreateTableData.html
+++ b/common_meta/ddl/create_table/struct.CreateTableData.html
@@ -3,7 +3,7 @@
pub task: CreateTableTask,
pub region_routes: Vec<RegionRoute>,
pub cluster_id: u64,
-}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
source§impl CreateTableData
sourcefn table_ref(&self) -> TableReference<'_>
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for CreateTableData
§impl Send for CreateTableData
§impl Sync for CreateTableData
§impl Unpin for CreateTableData
§impl UnwindSafe for CreateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/create_table/struct.CreateTableProcedure.html b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
index b71e4a8436f9..9a2a1de73fad 100644
--- a/common_meta/ddl/create_table/struct.CreateTableProcedure.html
+++ b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
@@ -6,7 +6,7 @@
task: CreateTableTask,
region_routes: Vec<RegionRoute>,
context: DdlContext
-) -> Self
sourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
+) -> Selfsourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
sourcepub fn create_region_request_template(&self) -> Result<PbCreateRegionRequest>
sourcepub async fn on_datanode_create_regions(&mut self) -> Result<Status>
sourceasync fn on_create_metadata(&self) -> Result<Status>
Trait Implementations§
source§impl Procedure for CreateTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_ctx: &'life1 ProcedureContext
diff --git a/common_meta/ddl/drop_table/struct.DropTableData.html b/common_meta/ddl/drop_table/struct.DropTableData.html
index 46e3a21db8cd..2b91fa24c713 100644
--- a/common_meta/ddl/drop_table/struct.DropTableData.html
+++ b/common_meta/ddl/drop_table/struct.DropTableData.html
@@ -9,7 +9,7 @@
task: DropTableTask,
table_route_value: DeserializedValueWithBytes<TableRouteValue>,
table_info_value: DeserializedValueWithBytes<TableInfoValue>
-) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for DropTableData
§impl Send for DropTableData
§impl Sync for DropTableData
§impl Unpin for DropTableData
§impl UnwindSafe for DropTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/trait.TableMetadataAllocator.html b/common_meta/ddl/trait.TableMetadataAllocator.html
index b095be070299..36cbad59636a 100644
--- a/common_meta/ddl/trait.TableMetadataAllocator.html
+++ b/common_meta/ddl/trait.TableMetadataAllocator.html
@@ -3,7 +3,7 @@
fn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>
where Self: 'async_trait,
@@ -14,7 +14,7 @@
}Required Methods§
sourcefn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/common_meta/ddl/truncate_table/struct.TruncateTableData.html b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
index 7363b523f063..708e5561808d 100644
--- a/common_meta/ddl/truncate_table/struct.TruncateTableData.html
+++ b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
@@ -9,7 +9,7 @@
task: TruncateTableTask,
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
region_routes: Vec<RegionRoute>
-) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for TruncateTableData
§impl Send for TruncateTableData
§impl Sync for TruncateTableData
§impl Unpin for TruncateTableData
§impl UnwindSafe for TruncateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/error/enum.Error.html b/common_meta/error/enum.Error.html
index 541ce4833b77..1a92776ff7a1 100644
--- a/common_meta/error/enum.Error.html
+++ b/common_meta/error/enum.Error.html
@@ -44,12 +44,12 @@
},
BuildTableMeta {
table_name: String,
- error: TableMetaBuilderError,
+ error: TableMetaBuilderError,
location: Location,
},
Table {
location: Location,
- source: Error,
+ source: Error,
},
TableRouteNotFound {
table_name: String,
@@ -145,7 +145,7 @@
location: Location,
},
MoveRegion {
- table_id: TableId,
+ table_id: TableId,
region: RegionNumber,
err_msg: String,
location: Location,
@@ -169,7 +169,7 @@
RetryLater {
source: BoxedError,
},
-
}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
+}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
sourcepub fn is_retry_later(&self) -> bool
Determine whether it is a retry later type through StatusCode
Trait Implementations§
source§impl Error for Errorwhere
Self: Debug + Display,
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§fn output_msg(&self) -> Stringwhere
Self: Sized,
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0> IntoError<Error> for CacheNotGetSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for CatalogAlreadyExistsSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -206,7 +206,7 @@
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0> IntoError<Error> for NextSequenceSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -245,7 +245,7 @@
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for TableRouteNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
+ Error: Error + ErrorCompat,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSnafu<__T0>where
Error: Error + ErrorCompat,
diff --git a/common_meta/error/struct.BuildTableMetaSnafu.html b/common_meta/error/struct.BuildTableMetaSnafu.html
index 848719b5d875..de793f19e317 100644
--- a/common_meta/error/struct.BuildTableMetaSnafu.html
+++ b/common_meta/error/struct.BuildTableMetaSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::BuildTableMeta
variant
Fields§
§table_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for BuildTableMetaSnafu<__T0>
source§fn clone(&self) -> BuildTableMetaSnafu<__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 BuildTableMetaSnafu<__T0>
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for BuildTableMetaSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for BuildTableMetaSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for BuildTableMetaSnafu<__T0>where
diff --git a/common_meta/error/struct.MoveRegionSnafu.html b/common_meta/error/struct.MoveRegionSnafu.html
index 7225b5d448e7..33e45ac82117 100644
--- a/common_meta/error/struct.MoveRegionSnafu.html
+++ b/common_meta/error/struct.MoveRegionSnafu.html
@@ -4,16 +4,16 @@
pub err_msg: __T2,
}Expand description
SNAFU context selector for the Error::MoveRegion
variant
Fields§
§table_id: __T0
§region: __T1
§err_msg: __T2
Implementations§
Trait Implementations§
source§impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for MoveRegionSnafu<__T0, __T1, __T2>
source§fn clone(&self) -> MoveRegionSnafu<__T0, __T1, __T2>
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, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for MoveRegionSnafu<__T0, __T1, __T2>
Auto Trait Implementations§
§impl<__T0, __T1, __T2> RefUnwindSafe for MoveRegionSnafu<__T0, __T1, __T2>where
__T0: RefUnwindSafe,
diff --git a/common_meta/error/struct.TableSnafu.html b/common_meta/error/struct.TableSnafu.html
index d9c91350619f..a2c1ecb55273 100644
--- a/common_meta/error/struct.TableSnafu.html
+++ b/common_meta/error/struct.TableSnafu.html
@@ -1,6 +1,6 @@
TableSnafu in common_meta::error - Rust Struct common_meta::error::TableSnafu
source · pub struct TableSnafu;
Expand description
SNAFU context selector for the Error::Table
variant
Trait Implementations§
source§impl Clone for TableSnafu
source§fn clone(&self) -> TableSnafu
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 TableSnafu
source§impl Copy for TableSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
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/common_meta/instruction/enum.Instruction.html b/common_meta/instruction/enum.Instruction.html
index 7a20097062e3..f2b72df49f65 100644
--- a/common_meta/instruction/enum.Instruction.html
+++ b/common_meta/instruction/enum.Instruction.html
@@ -1,9 +1,9 @@
Instruction in common_meta::instruction - Rust Enum common_meta::instruction::Instruction
source · pub enum Instruction {
OpenRegion(OpenRegion),
CloseRegion(RegionIdent),
- InvalidateTableIdCache(TableId),
+ InvalidateTableIdCache(TableId),
InvalidateTableNameCache(TableName),
-}
Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for Instruction
Auto Trait Implementations§
§impl RefUnwindSafe for Instruction
§impl Send for Instruction
§impl Sync for Instruction
§impl Unpin for Instruction
§impl UnwindSafe for Instruction
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/instruction/struct.RegionIdent.html b/common_meta/instruction/struct.RegionIdent.html
index 834642f1f56d..e1c0821020fb 100644
--- a/common_meta/instruction/struct.RegionIdent.html
+++ b/common_meta/instruction/struct.RegionIdent.html
@@ -1,10 +1,10 @@
RegionIdent in common_meta::instruction - Rust Struct common_meta::instruction::RegionIdent
source · pub struct RegionIdent {
pub cluster_id: ClusterId,
pub datanode_id: DatanodeId,
- pub table_id: TableId,
+ pub table_id: TableId,
pub region_number: RegionNumber,
pub engine: String,
-}
Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for RegionIdent
source§impl Hash for RegionIdent
source§impl PartialEq<RegionIdent> for RegionIdent
source§fn eq(&self, other: &RegionIdent) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableKey.html b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
index 831cc2a090bc..eb2071d8b654 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableKey.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
@@ -1,7 +1,7 @@
DatanodeTableKey in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableKey
source · pub struct DatanodeTableKey {
datanode_id: DatanodeId,
- table_id: TableId,
-}
Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
Blanket Implementations§
source§impl<T> Any for Twhere
+ table_id: TableId,
+}Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
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/common_meta/key/datanode_table/struct.DatanodeTableManager.html b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
index b1e8ab3c4b74..020d5420db60 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableManager.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
@@ -8,7 +8,7 @@
datanode_id: DatanodeId
) -> BoxStream<'static, Result<DatanodeTableValue>>
sourcepub fn build_create_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
engine: &str,
region_storage_path: &str,
region_options: HashMap<String, String>,
@@ -16,7 +16,7 @@
) -> Result<Txn>
Builds the create datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub(crate) fn build_update_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_region_distribution: RegionDistribution,
new_region_distribution: RegionDistribution,
@@ -24,7 +24,7 @@
) -> Result<Txn>
Builds the update datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub fn build_delete_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
distribution: RegionDistribution
) -> Result<Txn>
Builds the delete datanode table transactions. It only executes while the primary keys comparing successes.
Auto Trait Implementations§
§impl !RefUnwindSafe for DatanodeTableManager
§impl Send for DatanodeTableManager
§impl Sync for DatanodeTableManager
§impl Unpin for DatanodeTableManager
§impl !UnwindSafe for DatanodeTableManager
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableValue.html b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
index a32244212294..82d59648fcfd 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableValue.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
@@ -1,10 +1,10 @@
DatanodeTableValue in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableValue
source · pub struct DatanodeTableValue {
- pub table_id: TableId,
+ pub table_id: TableId,
pub regions: Vec<RegionNumber>,
pub region_info: RegionInfo,
version: u64,
-}
Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
- table_id: TableId,
+}Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
+ table_id: TableId,
regions: Vec<RegionNumber>,
region_info: RegionInfo
) -> Self
source§impl DatanodeTableValue
sourcepub fn try_from_raw_value(raw_value: &[u8]) -> Result<Self>
sourcepub fn try_as_raw_value(&self) -> Result<Vec<u8>>
Trait Implementations§
source§impl Clone for DatanodeTableValue
source§fn clone(&self) -> DatanodeTableValue
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 DatanodeTableValue
source§impl<'de> Deserialize<'de> for DatanodeTableValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
diff --git a/common_meta/key/struct.TableMetadataManager.html b/common_meta/key/struct.TableMetadataManager.html
index 6342e3e5e772..ca0e2101e96e 100644
--- a/common_meta/key/struct.TableMetadataManager.html
+++ b/common_meta/key/struct.TableMetadataManager.html
@@ -8,10 +8,10 @@
kv_backend: KvBackendRef,
}Fields§
§table_name_manager: TableNameManager
§table_info_manager: TableInfoManager
§datanode_table_manager: DatanodeTableManager
§catalog_manager: CatalogManager
§schema_manager: SchemaManager
§table_route_manager: TableRouteManager
§kv_backend: KvBackendRef
Implementations§
source§impl TableMetadataManager
sourcepub fn new(kv_backend: KvBackendRef) -> Self
sourcepub async fn init(&self) -> Result<()>
sourcepub fn table_name_manager(&self) -> &TableNameManager
sourcepub fn table_info_manager(&self) -> &TableInfoManager
sourcepub fn datanode_table_manager(&self) -> &DatanodeTableManager
sourcepub fn catalog_manager(&self) -> &CatalogManager
sourcepub fn schema_manager(&self) -> &SchemaManager
sourcepub fn table_route_manager(&self) -> &TableRouteManager
sourcepub fn kv_backend(&self) -> &KvBackendRef
sourcepub async fn get_full_table_info(
&self,
- table_id: TableId
+ table_id: TableId
) -> Result<(Option<DeserializedValueWithBytes<TableInfoValue>>, Option<DeserializedValueWithBytes<TableRouteValue>>)>
sourcepub async fn create_table_metadata(
&self,
- table_info: RawTableInfo,
+ table_info: RawTableInfo,
region_routes: Vec<RegionRoute>
) -> Result<()>
Creates metadata for table and returns an error if different metadata exists.
The caller MUST ensure it has the exclusive access to TableNameKey
.
@@ -31,11 +31,11 @@
sourcepub async fn update_table_info(
&self,
current_table_info_value: DeserializedValueWithBytes<TableInfoValue>,
- new_table_info: RawTableInfo
+ new_table_info: RawTableInfo
) -> Result<()>
Updates table info and returns an error if different metadata exists.
sourcepub async fn update_table_route(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_table_route_value: DeserializedValueWithBytes<TableRouteValue>,
new_region_routes: Vec<RegionRoute>,
diff --git a/common_meta/key/table_info/struct.TableInfoKey.html b/common_meta/key/table_info/struct.TableInfoKey.html
index a65b5c4c9471..f974bb124def 100644
--- a/common_meta/key/table_info/struct.TableInfoKey.html
+++ b/common_meta/key/table_info/struct.TableInfoKey.html
@@ -1,6 +1,6 @@
TableInfoKey in common_meta::key::table_info - Rust Struct common_meta::key::table_info::
Struct catalog::error::InsertCatalogRecordSnafu
source · pub struct InsertCatalogRecordSnafu;
Expand description
SNAFU context selector for the Error::InsertCatalogRecord
variant
Trait Implementations§
source§impl Clone for InsertCatalogRecordSnafu
impl Clone for InsertCatalogRecordSnafu
source§fn clone(&self) -> InsertCatalogRecordSnafu
fn clone(&self) -> InsertCatalogRecordSnafu
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InsertCatalogRecordSnafu
impl Debug for InsertCatalogRecordSnafu
impl Copy for InsertCatalogRecordSnafu
Auto Trait Implementations§
impl RefUnwindSafe for InsertCatalogRecordSnafu
impl Send for InsertCatalogRecordSnafu
impl Sync for InsertCatalogRecordSnafu
impl Unpin for InsertCatalogRecordSnafu
impl UnwindSafe for InsertCatalogRecordSnafu
Blanket Implementations§
impl Copy for InsertCatalogRecordSnafu
Auto Trait Implementations§
impl RefUnwindSafe for InsertCatalogRecordSnafu
impl Send for InsertCatalogRecordSnafu
impl Sync for InsertCatalogRecordSnafu
impl Unpin for InsertCatalogRecordSnafu
impl UnwindSafe for InsertCatalogRecordSnafu
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.OpenSystemCatalogSnafu.html b/catalog/error/struct.OpenSystemCatalogSnafu.html
index cf223ff26e8b..7c8415b68235 100644
--- a/catalog/error/struct.OpenSystemCatalogSnafu.html
+++ b/catalog/error/struct.OpenSystemCatalogSnafu.html
@@ -1,6 +1,6 @@
OpenSystemCatalogSnafu in catalog::error - Rust Struct catalog::error::OpenSystemCatalogSnafu
source · pub struct OpenSystemCatalogSnafu;
Expand description
SNAFU context selector for the Error::OpenSystemCatalog
variant
Trait Implementations§
source§impl Clone for OpenSystemCatalogSnafu
source§fn clone(&self) -> OpenSystemCatalogSnafu
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 OpenSystemCatalogSnafu
source§impl Copy for OpenSystemCatalogSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for OpenSystemCatalogSnafu
§impl Send for OpenSystemCatalogSnafu
§impl Sync for OpenSystemCatalogSnafu
§impl Unpin for OpenSystemCatalogSnafu
§impl UnwindSafe for OpenSystemCatalogSnafu
Blanket Implementations§
source§impl Copy for OpenSystemCatalogSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for OpenSystemCatalogSnafu
§impl Send for OpenSystemCatalogSnafu
§impl Sync for OpenSystemCatalogSnafu
§impl Unpin for OpenSystemCatalogSnafu
§impl UnwindSafe for OpenSystemCatalogSnafu
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/error/struct.OpenTableSnafu.html b/catalog/error/struct.OpenTableSnafu.html
index 83c001bda093..84f43843dc99 100644
--- a/catalog/error/struct.OpenTableSnafu.html
+++ b/catalog/error/struct.OpenTableSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::OpenTable
variant
Fields§
§table_id: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for OpenTableSnafu<__T0>
source§fn clone(&self) -> OpenTableSnafu<__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 OpenTableSnafu<__T0>
source§impl<__T0> IntoError<Error> for OpenTableSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
source§impl<__T0: Copy> Copy for OpenTableSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for OpenTableSnafu<__T0>where
+ __T0: Into<TableId>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for OpenTableSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for OpenTableSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for OpenTableSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for OpenTableSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for OpenTableSnafu<__T0>where
diff --git a/catalog/error/struct.SystemCatalogTableScanSnafu.html b/catalog/error/struct.SystemCatalogTableScanSnafu.html
index a00f76149aaf..fadce0cea3da 100644
--- a/catalog/error/struct.SystemCatalogTableScanSnafu.html
+++ b/catalog/error/struct.SystemCatalogTableScanSnafu.html
@@ -1,6 +1,6 @@
SystemCatalogTableScanSnafu in catalog::error - Rust Struct catalog::error::SystemCatalogTableScanSnafu
source · pub struct SystemCatalogTableScanSnafu;
Expand description
SNAFU context selector for the Error::SystemCatalogTableScan
variant
Trait Implementations§
source§impl Clone for SystemCatalogTableScanSnafu
source§fn clone(&self) -> SystemCatalogTableScanSnafu
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 SystemCatalogTableScanSnafu
source§impl Copy for SystemCatalogTableScanSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for SystemCatalogTableScanSnafu
§impl Send for SystemCatalogTableScanSnafu
§impl Sync for SystemCatalogTableScanSnafu
§impl Unpin for SystemCatalogTableScanSnafu
§impl UnwindSafe for SystemCatalogTableScanSnafu
Blanket Implementations§
source§impl Copy for SystemCatalogTableScanSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for SystemCatalogTableScanSnafu
§impl Send for SystemCatalogTableScanSnafu
§impl Sync for SystemCatalogTableScanSnafu
§impl Unpin for SystemCatalogTableScanSnafu
§impl UnwindSafe for SystemCatalogTableScanSnafu
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/error/struct.TableEngineNotFoundSnafu.html b/catalog/error/struct.TableEngineNotFoundSnafu.html
index a8d218008b2d..177f8f49fc2c 100644
--- a/catalog/error/struct.TableEngineNotFoundSnafu.html
+++ b/catalog/error/struct.TableEngineNotFoundSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::TableEngineNotFound
variant
Fields§
§engine_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for TableEngineNotFoundSnafu<__T0>
source§fn clone(&self) -> TableEngineNotFoundSnafu<__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 TableEngineNotFoundSnafu<__T0>
source§impl<__T0> IntoError<Error> for TableEngineNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
source§impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for TableEngineNotFoundSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for TableEngineNotFoundSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for TableEngineNotFoundSnafu<__T0>where
diff --git a/catalog/error/struct.TableSchemaMismatchSnafu.html b/catalog/error/struct.TableSchemaMismatchSnafu.html
index 141d7bcece45..2d021adfe832 100644
--- a/catalog/error/struct.TableSchemaMismatchSnafu.html
+++ b/catalog/error/struct.TableSchemaMismatchSnafu.html
@@ -1,6 +1,6 @@
TableSchemaMismatchSnafu in catalog::error - Rust Struct catalog::error::TableSchemaMismatchSnafu
source · pub struct TableSchemaMismatchSnafu;
Expand description
SNAFU context selector for the Error::TableSchemaMismatch
variant
Trait Implementations§
source§impl Clone for TableSchemaMismatchSnafu
source§fn clone(&self) -> TableSchemaMismatchSnafu
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 TableSchemaMismatchSnafu
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
Blanket Implementations§
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
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.InformationSchemaColumns.html b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
index 45892b4c2c9f..fdbf90c162df 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumns.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaColumns
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcefn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaColumnsBuilder
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/struct.InformationSchemaProvider.html b/catalog/information_schema/struct.InformationSchemaProvider.html
index 741ca07a1fac..d65c01d75e79 100644
--- a/catalog/information_schema/struct.InformationSchemaProvider.html
+++ b/catalog/information_schema/struct.InformationSchemaProvider.html
@@ -7,15 +7,15 @@
) -> Self
sourcepub fn build(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> HashMap<String, TableRef>
sourcepub fn table(&self, name: &str) -> Option<TableRef>
sourcefn information_table(
&self,
name: &str
) -> Option<Arc<dyn InformationTable + Send + Sync>>
sourcefn table_info(
catalog_name: String,
table: &Arc<dyn InformationTable + Send + Sync>
-) -> TableInfoRef
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
Blanket Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
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.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index 73e111ed49d8..600a4d513cc8 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcepub(crate) fn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaTablesBuilder
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 fc2e7f26baaf..88ee74cf9d15 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -20,7 +20,7 @@
catalog_name: &str,
schema_name: &str,
table_name: &str,
- table_type: TableType,
+ table_type: TableType,
table_id: Option<u32>,
engine: Option<&str>
)
sourcefn finish(&mut self) -> Result<RecordBatch>
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTablesBuilder
§impl Send for InformationSchemaTablesBuilder
§impl Sync for InformationSchemaTablesBuilder
§impl Unpin for InformationSchemaTablesBuilder
§impl !UnwindSafe for InformationSchemaTablesBuilder
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 6050a90beb82..0cf10f8c594e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -6,5 +6,5 @@
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
+ 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
diff --git a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
index ea4fb44fea2f..8366825323a3 100644
--- a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
+++ b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
@@ -23,7 +23,7 @@
'life1: 'async_trait,source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
@@ -74,7 +74,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/kvbackend/manager/struct.SystemCatalog.html b/catalog/kvbackend/manager/struct.SystemCatalog.html
index 9eff387e8a4a..c383f8118964 100644
--- a/catalog/kvbackend/manager/struct.SystemCatalog.html
+++ b/catalog/kvbackend/manager/struct.SystemCatalog.html
@@ -11,7 +11,7 @@
catalog: &str,
schema: &str,
table_name: &str
-) -> Option<TableRef>
Trait Implementations§
source§impl Clone for SystemCatalog
source§fn clone(&self) -> SystemCatalog
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for SystemCatalog
§impl Send for SystemCatalog
§impl Sync for SystemCatalog
§impl Unpin for SystemCatalog
§impl !UnwindSafe for SystemCatalog
Blanket Implementations§
Trait Implementations§
source§impl Clone for SystemCatalog
source§fn clone(&self) -> SystemCatalog
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for SystemCatalog
§impl Send for SystemCatalog
§impl Sync for SystemCatalog
§impl Unpin for SystemCatalog
§impl !UnwindSafe for SystemCatalog
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/kvbackend/struct.KvBackendCatalogManager.html b/catalog/kvbackend/struct.KvBackendCatalogManager.html
index 239798bb5bac..bcc4e79f3030 100644
--- a/catalog/kvbackend/struct.KvBackendCatalogManager.html
+++ b/catalog/kvbackend/struct.KvBackendCatalogManager.html
@@ -23,7 +23,7 @@
'life1: 'async_trait,
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
@@ -74,7 +74,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/memory/manager/struct.MemoryCatalogManager.html b/catalog/memory/manager/struct.MemoryCatalogManager.html
index 83ced5e75e65..dd08e277d1c8 100644
--- a/catalog/memory/manager/struct.MemoryCatalogManager.html
+++ b/catalog/memory/manager/struct.MemoryCatalogManager.html
@@ -1,7 +1,7 @@
MemoryCatalogManager in catalog::memory::manager - Rust Struct catalog::memory::manager::MemoryCatalogManager
source · pub struct MemoryCatalogManager {
- catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
+ catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
}
Expand description
Simple in-memory list of catalogs
-Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
+Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
Implementations§
source§impl MemoryCatalogManager
sourcepub fn new() -> Arc<Self>
sourcepub fn with_default_setup() -> Arc<Self>
Creates a manager with some default setups
(e.g. default catalog/schema and information schema)
sourcefn schema_exist_sync(&self, catalog: &str, schema: &str) -> Result<bool>
sourcefn catalog_exist_sync(&self, catalog: &str) -> Result<bool>
sourcepub fn register_catalog_sync(&self, name: &str) -> Result<bool>
Registers a catalog if it does not exist and returns false if the schema exists.
@@ -18,7 +18,7 @@
sourcefn create_catalog_entry(
self: &Arc<Self>,
catalog: String
-) -> HashMap<String, HashMap<String, TableRef>>
Trait Implementations§
Trait Implementations§
source§impl CatalogManager for MemoryCatalogManager
source§fn schema_exists<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
catalog: &'life1 str,
schema: &'life2 str
@@ -31,7 +31,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/memory/manager/type.SchemaEntries.html b/catalog/memory/manager/type.SchemaEntries.html
index e08a73e4fce1..06ddf021ba39 100644
--- a/catalog/memory/manager/type.SchemaEntries.html
+++ b/catalog/memory/manager/type.SchemaEntries.html
@@ -1 +1 @@
-SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
+SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
diff --git a/catalog/struct.RegisterSystemTableRequest.html b/catalog/struct.RegisterSystemTableRequest.html
index 98ffda68e56e..a3007b081a96 100644
--- a/catalog/struct.RegisterSystemTableRequest.html
+++ b/catalog/struct.RegisterSystemTableRequest.html
@@ -1,5 +1,5 @@
RegisterSystemTableRequest in catalog - Rust Struct catalog::RegisterSystemTableRequest
source · pub struct RegisterSystemTableRequest {
- pub create_table_request: CreateTableRequest,
+ pub create_table_request: CreateTableRequest,
pub open_hook: Option<OpenSystemTableHook>,
}
Expand description
Register system table request:
@@ -7,7 +7,7 @@
with table ref after opening the system table
- When system table is not exists, create and register the table by create_table_request and calls open_hook with the created table.
-Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
Blanket Implementations§
Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
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/struct.RegisterTableRequest.html b/catalog/struct.RegisterTableRequest.html
index c2f30ba4aa53..91238cde5a87 100644
--- a/catalog/struct.RegisterTableRequest.html
+++ b/catalog/struct.RegisterTableRequest.html
@@ -2,9 +2,9 @@
pub catalog: String,
pub schema: String,
pub table_name: String,
- pub table_id: TableId,
- pub table: TableRef,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+ pub table: TableRef,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
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/struct.RenameTableRequest.html b/catalog/struct.RenameTableRequest.html
index c0a56b79a189..166aa7465716 100644
--- a/catalog/struct.RenameTableRequest.html
+++ b/catalog/struct.RenameTableRequest.html
@@ -3,8 +3,8 @@
pub schema: String,
pub table_name: String,
pub new_table_name: String,
- pub table_id: TableId,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
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/trait.CatalogManager.html b/catalog/trait.CatalogManager.html
index cc8091a5169e..3f057be0493b 100644
--- a/catalog/trait.CatalogManager.html
+++ b/catalog/trait.CatalogManager.html
@@ -54,7 +54,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
- ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
+ ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -107,7 +107,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/type.OpenSystemTableHook.html b/catalog/type.OpenSystemTableHook.html
index 6b2713f62a6a..1eefe22addab 100644
--- a/catalog/type.OpenSystemTableHook.html
+++ b/catalog/type.OpenSystemTableHook.html
@@ -1,2 +1,2 @@
-OpenSystemTableHook in catalog - Rust Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+OpenSystemTableHook in catalog - Rust
\ No newline at end of file
diff --git a/client/all.html b/client/all.html
index 1058c330a5ce..9bb88a75eba3 100644
--- a/client/all.html
+++ b/client/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
diff --git a/client/database/struct.Database.html b/client/database/struct.Database.html
index 1c72f65df0e4..2fe6e5e0e2fb 100644
--- a/client/database/struct.Database.html
+++ b/client/database/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/enum.Output.html b/client/enum.Output.html
new file mode 100644
index 000000000000..78dc13d76b4a
--- /dev/null
+++ b/client/enum.Output.html
@@ -0,0 +1,118 @@
+Output in client - Rust pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
§AffectedRows(usize)
§RecordBatches(RecordBatches)
§Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Output
§impl Send for Output
§impl !Sync for Output
§impl Unpin for Output
§impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/fn.from_grpc_response.html b/client/fn.from_grpc_response.html
index 0f422cea122b..0ffdc48fee12 100644
--- a/client/fn.from_grpc_response.html
+++ b/client/fn.from_grpc_response.html
@@ -1 +1 @@
-from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
+from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
diff --git a/client/index.html b/client/index.html
index 3c2e9096c074..1b3ba37a3ae1 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1 @@
-client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
\ No newline at end of file
+client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
\ No newline at end of file
diff --git a/client/region/struct.RegionRequester.html b/client/region/struct.RegionRequester.html
index c52e450ec287..74fb7ac4de8e 100644
--- a/client/region/struct.RegionRequester.html
+++ b/client/region/struct.RegionRequester.html
@@ -3,7 +3,7 @@
}Fields§
§client: Client
Implementations§
Trait Implementations§
source§impl Datanode for RegionRequester
Trait Implementations§
source§impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
Handles DML, and DDL requests.source§fn handle_query<'life0, 'async_trait>(
&'life0 self,
request: QueryRequest
-) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
§impl !RefUnwindSafe for RegionRequester
§impl Send for RegionRequester
§impl Sync for RegionRequester
§impl Unpin for RegionRequester
§impl !UnwindSafe for RegionRequester
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/struct.RecordBatches.html b/client/struct.RecordBatches.html
new file mode 100644
index 000000000000..d4b5134bef55
--- /dev/null
+++ b/client/struct.RecordBatches.html
@@ -0,0 +1,134 @@
+RecordBatches in client - Rust Struct client::RecordBatches
pub struct RecordBatches {
+ pub(crate) schema: Arc<Schema, Global>,
+ pub(crate) batches: Vec<RecordBatch, Global>,
+}
Fields§
§schema: Arc<Schema, Global>
§batches: Vec<RecordBatch, Global>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema, Global>,
+ columns: I
+) -> Result<RecordBatches, Error>where
+ I: IntoIterator<Item = Arc<dyn Vector, Global>>,
pub async fn try_collect(
+ stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
+) -> impl Future<Output = 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, Global>,
+ batches: Vec<RecordBatch, Global>
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema, Global>
pub fn take(self) -> Vec<RecordBatch, Global>
pub fn as_stream(
+ &self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
pub fn into_df_stream(
+ self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, DataFusionError>> + Send, Global>>
Trait Implementations§
§impl Debug for RecordBatches
§impl IntoIterator for RecordBatches
§type IntoIter = IntoIter<<RecordBatches as IntoIterator>::Item, Global>
Which kind of iterator are we turning this into?§fn into_iter(self) -> <RecordBatches as IntoIterator>::IntoIter
Creates an iterator from a value. Read more§impl PartialEq<RecordBatches> for RecordBatches
§fn eq(&self, other: &RecordBatches) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.§impl StructuralPartialEq for RecordBatches
Auto Trait Implementations§
§impl !RefUnwindSafe for RecordBatches
§impl Send for RecordBatches
§impl Sync for RecordBatches
§impl Unpin for RecordBatches
§impl !UnwindSafe for RecordBatches
Blanket Implementations§
§impl<I> BidiIterator for Iwhere
+ I: IntoIterator,
+ <I as IntoIterator>::IntoIter: DoubleEndedIterator,
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/type.SendableRecordBatchStream.html b/client/type.SendableRecordBatchStream.html
new file mode 100644
index 000000000000..df7268aab19a
--- /dev/null
+++ b/client/type.SendableRecordBatchStream.html
@@ -0,0 +1 @@
+SendableRecordBatchStream in client - Rust
\ No newline at end of file
diff --git a/common_grpc_expr/alter/fn.alter_expr_to_request.html b/common_grpc_expr/alter/fn.alter_expr_to_request.html
index 63f2342d02da..1850a92935fc 100644
--- a/common_grpc_expr/alter/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/alter/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr::alter - Rust Function common_grpc_expr::alter::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/alter/index.html b/common_grpc_expr/alter/index.html
index bd7e5b33fbcf..4206ec54f54a 100644
--- a/common_grpc_expr/alter/index.html
+++ b/common_grpc_expr/alter/index.html
@@ -1 +1 @@
-common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/delete/fn.to_table_delete_request.html b/common_grpc_expr/delete/fn.to_table_delete_request.html
index 17bb5cee292b..4d6dd1ad4737 100644
--- a/common_grpc_expr/delete/fn.to_table_delete_request.html
+++ b/common_grpc_expr/delete/fn.to_table_delete_request.html
@@ -2,4 +2,4 @@
catalog_name: &str,
schema_name: &str,
request: DeleteRequest
-) -> Result<DeleteRequest>
\ No newline at end of file
+) -> Result<DeleteRequest>
\ No newline at end of file
diff --git a/common_grpc_expr/fn.alter_expr_to_request.html b/common_grpc_expr/fn.alter_expr_to_request.html
index fb020673c315..e83fe76ebb26 100644
--- a/common_grpc_expr/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr - Rust Function common_grpc_expr::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/index.html b/common_grpc_expr/index.html
index 123b65c2895b..3fd0656e8b4a 100644
--- a/common_grpc_expr/index.html
+++ b/common_grpc_expr/index.html
@@ -1 +1 @@
-common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
index 36f3cb9ff049..d204bc70ab7b 100644
--- a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
+++ b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
@@ -1,7 +1,7 @@
build_create_expr_from_insertion in common_grpc_expr::insert - Rust Function common_grpc_expr::insert::build_create_expr_from_insertion
source · pub fn build_create_expr_from_insertion(
catalog_name: &str,
schema_name: &str,
- table_id: Option<TableId>,
+ table_id: Option<TableId>,
table_name: &str,
columns: &[Column],
engine: &str
diff --git a/common_grpc_expr/util/fn.build_create_table_expr.html b/common_grpc_expr/util/fn.build_create_table_expr.html
index e78b4de945b9..76a2b47b82aa 100644
--- a/common_grpc_expr/util/fn.build_create_table_expr.html
+++ b/common_grpc_expr/util/fn.build_create_table_expr.html
@@ -1,6 +1,6 @@
build_create_table_expr in common_grpc_expr::util - Rust Function common_grpc_expr::util::build_create_table_expr
source · pub fn build_create_table_expr(
- table_id: Option<TableId>,
- table_name: &TableReference<'_>,
+ table_id: Option<TableId>,
+ table_name: &TableReference<'_>,
column_exprs: Vec<ColumnExpr<'_>>,
engine: &str,
desc: &str
diff --git a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
index 13feb0240fbf..94e9334f09a2 100644
--- a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
+++ b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
@@ -1,7 +1,7 @@
DummyCacheInvalidator in common_meta::cache_invalidator - Rust pub struct DummyCacheInvalidator;
Trait Implementations§
source§impl CacheInvalidator for DummyCacheInvalidator
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
- _table_id: TableId
+ _table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/cache_invalidator/trait.CacheInvalidator.html b/common_meta/cache_invalidator/trait.CacheInvalidator.html
index dc6e8864c3a7..004d340a376a 100644
--- a/common_meta/cache_invalidator/trait.CacheInvalidator.html
+++ b/common_meta/cache_invalidator/trait.CacheInvalidator.html
@@ -3,7 +3,7 @@
fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
@@ -19,7 +19,7 @@
}Required Methods§
sourcefn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
index 625083846c6d..4e32e147c5db 100644
--- a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
+++ b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
@@ -1,5 +1,5 @@
create_proto_alter_kind in common_meta::ddl::alter_table - Rust Function common_meta::ddl::alter_table::create_proto_alter_kind
source · pub fn create_proto_alter_kind(
- table_info: &RawTableInfo,
+ table_info: &RawTableInfo,
alter_kind: &Kind
) -> Result<(Option<Kind>, Option<ColumnId>)>
Expand description
Creates region proto alter kind from table_info
and alter_kind
.
Returns the kind and next column id if it adds new columns.
diff --git a/common_meta/ddl/alter_table/struct.AlterTableData.html b/common_meta/ddl/alter_table/struct.AlterTableData.html
index f9a58a4e56bc..018ff5a55e63 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableData.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableData.html
@@ -11,7 +11,7 @@
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
cluster_id: u64,
next_column_id: Option<ColumnId>
-) -> Selfsourcefn table_ref(&self) -> TableReference<'_>
sourcefn table_id(&self) -> TableId
sourcefn table_info(&self) -> &RawTableInfo
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for AlterTableData
§impl Send for AlterTableData
§impl Sync for AlterTableData
§impl Unpin for AlterTableData
§impl UnwindSafe for AlterTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
index 473eaaaee000..6a100fc8420b 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
@@ -17,8 +17,8 @@
) -> Result<()>
Update table metadata for rename table operation.
sourceasync fn on_update_metadata_for_alter(
&self,
- new_table_info: RawTableInfo
-) -> Result<()>
sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
+ new_table_info: RawTableInfo
+) -> Result<()>sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
sourceasync fn on_broadcast(&mut self) -> Result<Status>
Broadcasts the invalidating table cache instructions.
sourcefn lock_key_inner(&self) -> Vec<String>
Trait Implementations§
source§impl Procedure for AlterTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff --git a/common_meta/ddl/create_table/struct.CreateTableData.html b/common_meta/ddl/create_table/struct.CreateTableData.html
index 2e5e27fd7eb4..4330b2fbd1af 100644
--- a/common_meta/ddl/create_table/struct.CreateTableData.html
+++ b/common_meta/ddl/create_table/struct.CreateTableData.html
@@ -3,7 +3,7 @@
pub task: CreateTableTask,
pub region_routes: Vec<RegionRoute>,
pub cluster_id: u64,
-}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
source§impl CreateTableData
sourcefn table_ref(&self) -> TableReference<'_>
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for CreateTableData
§impl Send for CreateTableData
§impl Sync for CreateTableData
§impl Unpin for CreateTableData
§impl UnwindSafe for CreateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/create_table/struct.CreateTableProcedure.html b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
index b71e4a8436f9..9a2a1de73fad 100644
--- a/common_meta/ddl/create_table/struct.CreateTableProcedure.html
+++ b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
@@ -6,7 +6,7 @@
task: CreateTableTask,
region_routes: Vec<RegionRoute>,
context: DdlContext
-) -> Self
sourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
+) -> Selfsourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
sourcepub fn create_region_request_template(&self) -> Result<PbCreateRegionRequest>
sourcepub async fn on_datanode_create_regions(&mut self) -> Result<Status>
sourceasync fn on_create_metadata(&self) -> Result<Status>
Trait Implementations§
source§impl Procedure for CreateTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_ctx: &'life1 ProcedureContext
diff --git a/common_meta/ddl/drop_table/struct.DropTableData.html b/common_meta/ddl/drop_table/struct.DropTableData.html
index 46e3a21db8cd..2b91fa24c713 100644
--- a/common_meta/ddl/drop_table/struct.DropTableData.html
+++ b/common_meta/ddl/drop_table/struct.DropTableData.html
@@ -9,7 +9,7 @@
task: DropTableTask,
table_route_value: DeserializedValueWithBytes<TableRouteValue>,
table_info_value: DeserializedValueWithBytes<TableInfoValue>
-) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for DropTableData
§impl Send for DropTableData
§impl Sync for DropTableData
§impl Unpin for DropTableData
§impl UnwindSafe for DropTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/trait.TableMetadataAllocator.html b/common_meta/ddl/trait.TableMetadataAllocator.html
index b095be070299..36cbad59636a 100644
--- a/common_meta/ddl/trait.TableMetadataAllocator.html
+++ b/common_meta/ddl/trait.TableMetadataAllocator.html
@@ -3,7 +3,7 @@
fn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>
where Self: 'async_trait,
@@ -14,7 +14,7 @@
}Required Methods§
sourcefn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/common_meta/ddl/truncate_table/struct.TruncateTableData.html b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
index 7363b523f063..708e5561808d 100644
--- a/common_meta/ddl/truncate_table/struct.TruncateTableData.html
+++ b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
@@ -9,7 +9,7 @@
task: TruncateTableTask,
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
region_routes: Vec<RegionRoute>
-) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for TruncateTableData
§impl Send for TruncateTableData
§impl Sync for TruncateTableData
§impl Unpin for TruncateTableData
§impl UnwindSafe for TruncateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/error/enum.Error.html b/common_meta/error/enum.Error.html
index 541ce4833b77..1a92776ff7a1 100644
--- a/common_meta/error/enum.Error.html
+++ b/common_meta/error/enum.Error.html
@@ -44,12 +44,12 @@
},
BuildTableMeta {
table_name: String,
- error: TableMetaBuilderError,
+ error: TableMetaBuilderError,
location: Location,
},
Table {
location: Location,
- source: Error,
+ source: Error,
},
TableRouteNotFound {
table_name: String,
@@ -145,7 +145,7 @@
location: Location,
},
MoveRegion {
- table_id: TableId,
+ table_id: TableId,
region: RegionNumber,
err_msg: String,
location: Location,
@@ -169,7 +169,7 @@
RetryLater {
source: BoxedError,
},
-
}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
+}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
sourcepub fn is_retry_later(&self) -> bool
Determine whether it is a retry later type through StatusCode
Trait Implementations§
source§impl Error for Errorwhere
Self: Debug + Display,
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§fn output_msg(&self) -> Stringwhere
Self: Sized,
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0> IntoError<Error> for CacheNotGetSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for CatalogAlreadyExistsSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -206,7 +206,7 @@
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0> IntoError<Error> for NextSequenceSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -245,7 +245,7 @@
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for TableRouteNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
+ Error: Error + ErrorCompat,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSnafu<__T0>where
Error: Error + ErrorCompat,
diff --git a/common_meta/error/struct.BuildTableMetaSnafu.html b/common_meta/error/struct.BuildTableMetaSnafu.html
index 848719b5d875..de793f19e317 100644
--- a/common_meta/error/struct.BuildTableMetaSnafu.html
+++ b/common_meta/error/struct.BuildTableMetaSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::BuildTableMeta
variant
Fields§
§table_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for BuildTableMetaSnafu<__T0>
source§fn clone(&self) -> BuildTableMetaSnafu<__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 BuildTableMetaSnafu<__T0>
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for BuildTableMetaSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for BuildTableMetaSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for BuildTableMetaSnafu<__T0>where
diff --git a/common_meta/error/struct.MoveRegionSnafu.html b/common_meta/error/struct.MoveRegionSnafu.html
index 7225b5d448e7..33e45ac82117 100644
--- a/common_meta/error/struct.MoveRegionSnafu.html
+++ b/common_meta/error/struct.MoveRegionSnafu.html
@@ -4,16 +4,16 @@
pub err_msg: __T2,
}Expand description
SNAFU context selector for the Error::MoveRegion
variant
Fields§
§table_id: __T0
§region: __T1
§err_msg: __T2
Implementations§
Trait Implementations§
source§impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for MoveRegionSnafu<__T0, __T1, __T2>
source§fn clone(&self) -> MoveRegionSnafu<__T0, __T1, __T2>
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, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for MoveRegionSnafu<__T0, __T1, __T2>
Auto Trait Implementations§
§impl<__T0, __T1, __T2> RefUnwindSafe for MoveRegionSnafu<__T0, __T1, __T2>where
__T0: RefUnwindSafe,
diff --git a/common_meta/error/struct.TableSnafu.html b/common_meta/error/struct.TableSnafu.html
index d9c91350619f..a2c1ecb55273 100644
--- a/common_meta/error/struct.TableSnafu.html
+++ b/common_meta/error/struct.TableSnafu.html
@@ -1,6 +1,6 @@
TableSnafu in common_meta::error - Rust Struct common_meta::error::TableSnafu
source · pub struct TableSnafu;
Expand description
SNAFU context selector for the Error::Table
variant
Trait Implementations§
source§impl Clone for TableSnafu
source§fn clone(&self) -> TableSnafu
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 TableSnafu
source§impl Copy for TableSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
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/common_meta/instruction/enum.Instruction.html b/common_meta/instruction/enum.Instruction.html
index 7a20097062e3..f2b72df49f65 100644
--- a/common_meta/instruction/enum.Instruction.html
+++ b/common_meta/instruction/enum.Instruction.html
@@ -1,9 +1,9 @@
Instruction in common_meta::instruction - Rust Enum common_meta::instruction::Instruction
source · pub enum Instruction {
OpenRegion(OpenRegion),
CloseRegion(RegionIdent),
- InvalidateTableIdCache(TableId),
+ InvalidateTableIdCache(TableId),
InvalidateTableNameCache(TableName),
-}
Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for Instruction
Auto Trait Implementations§
§impl RefUnwindSafe for Instruction
§impl Send for Instruction
§impl Sync for Instruction
§impl Unpin for Instruction
§impl UnwindSafe for Instruction
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/instruction/struct.RegionIdent.html b/common_meta/instruction/struct.RegionIdent.html
index 834642f1f56d..e1c0821020fb 100644
--- a/common_meta/instruction/struct.RegionIdent.html
+++ b/common_meta/instruction/struct.RegionIdent.html
@@ -1,10 +1,10 @@
RegionIdent in common_meta::instruction - Rust Struct common_meta::instruction::RegionIdent
source · pub struct RegionIdent {
pub cluster_id: ClusterId,
pub datanode_id: DatanodeId,
- pub table_id: TableId,
+ pub table_id: TableId,
pub region_number: RegionNumber,
pub engine: String,
-}
Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for RegionIdent
source§impl Hash for RegionIdent
source§impl PartialEq<RegionIdent> for RegionIdent
source§fn eq(&self, other: &RegionIdent) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableKey.html b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
index 831cc2a090bc..eb2071d8b654 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableKey.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
@@ -1,7 +1,7 @@
DatanodeTableKey in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableKey
source · pub struct DatanodeTableKey {
datanode_id: DatanodeId,
- table_id: TableId,
-}
Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
Blanket Implementations§
source§impl<T> Any for Twhere
+ table_id: TableId,
+}Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
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/common_meta/key/datanode_table/struct.DatanodeTableManager.html b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
index b1e8ab3c4b74..020d5420db60 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableManager.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
@@ -8,7 +8,7 @@
datanode_id: DatanodeId
) -> BoxStream<'static, Result<DatanodeTableValue>>
sourcepub fn build_create_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
engine: &str,
region_storage_path: &str,
region_options: HashMap<String, String>,
@@ -16,7 +16,7 @@
) -> Result<Txn>
Builds the create datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub(crate) fn build_update_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_region_distribution: RegionDistribution,
new_region_distribution: RegionDistribution,
@@ -24,7 +24,7 @@
) -> Result<Txn>
Builds the update datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub fn build_delete_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
distribution: RegionDistribution
) -> Result<Txn>
Builds the delete datanode table transactions. It only executes while the primary keys comparing successes.
Auto Trait Implementations§
§impl !RefUnwindSafe for DatanodeTableManager
§impl Send for DatanodeTableManager
§impl Sync for DatanodeTableManager
§impl Unpin for DatanodeTableManager
§impl !UnwindSafe for DatanodeTableManager
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableValue.html b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
index a32244212294..82d59648fcfd 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableValue.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
@@ -1,10 +1,10 @@
DatanodeTableValue in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableValue
source · pub struct DatanodeTableValue {
- pub table_id: TableId,
+ pub table_id: TableId,
pub regions: Vec<RegionNumber>,
pub region_info: RegionInfo,
version: u64,
-}
Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
- table_id: TableId,
+}Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
+ table_id: TableId,
regions: Vec<RegionNumber>,
region_info: RegionInfo
) -> Self
source§impl DatanodeTableValue
sourcepub fn try_from_raw_value(raw_value: &[u8]) -> Result<Self>
sourcepub fn try_as_raw_value(&self) -> Result<Vec<u8>>
Trait Implementations§
source§impl Clone for DatanodeTableValue
source§fn clone(&self) -> DatanodeTableValue
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 DatanodeTableValue
source§impl<'de> Deserialize<'de> for DatanodeTableValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
diff --git a/common_meta/key/struct.TableMetadataManager.html b/common_meta/key/struct.TableMetadataManager.html
index 6342e3e5e772..ca0e2101e96e 100644
--- a/common_meta/key/struct.TableMetadataManager.html
+++ b/common_meta/key/struct.TableMetadataManager.html
@@ -8,10 +8,10 @@
kv_backend: KvBackendRef,
}Fields§
§table_name_manager: TableNameManager
§table_info_manager: TableInfoManager
§datanode_table_manager: DatanodeTableManager
§catalog_manager: CatalogManager
§schema_manager: SchemaManager
§table_route_manager: TableRouteManager
§kv_backend: KvBackendRef
Implementations§
source§impl TableMetadataManager
sourcepub fn new(kv_backend: KvBackendRef) -> Self
sourcepub async fn init(&self) -> Result<()>
sourcepub fn table_name_manager(&self) -> &TableNameManager
sourcepub fn table_info_manager(&self) -> &TableInfoManager
sourcepub fn datanode_table_manager(&self) -> &DatanodeTableManager
sourcepub fn catalog_manager(&self) -> &CatalogManager
sourcepub fn schema_manager(&self) -> &SchemaManager
sourcepub fn table_route_manager(&self) -> &TableRouteManager
sourcepub fn kv_backend(&self) -> &KvBackendRef
sourcepub async fn get_full_table_info(
&self,
- table_id: TableId
+ table_id: TableId
) -> Result<(Option<DeserializedValueWithBytes<TableInfoValue>>, Option<DeserializedValueWithBytes<TableRouteValue>>)>
sourcepub async fn create_table_metadata(
&self,
- table_info: RawTableInfo,
+ table_info: RawTableInfo,
region_routes: Vec<RegionRoute>
) -> Result<()>
Creates metadata for table and returns an error if different metadata exists.
The caller MUST ensure it has the exclusive access to TableNameKey
.
@@ -31,11 +31,11 @@
sourcepub async fn update_table_info(
&self,
current_table_info_value: DeserializedValueWithBytes<TableInfoValue>,
- new_table_info: RawTableInfo
+ new_table_info: RawTableInfo
) -> Result<()>
Updates table info and returns an error if different metadata exists.
sourcepub async fn update_table_route(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_table_route_value: DeserializedValueWithBytes<TableRouteValue>,
new_region_routes: Vec<RegionRoute>,
diff --git a/common_meta/key/table_info/struct.TableInfoKey.html b/common_meta/key/table_info/struct.TableInfoKey.html
index a65b5c4c9471..f974bb124def 100644
--- a/common_meta/key/table_info/struct.TableInfoKey.html
+++ b/common_meta/key/table_info/struct.TableInfoKey.html
@@ -1,6 +1,6 @@
TableInfoKey in common_meta::key::table_info - Rust Struct common_meta::key::table_info::
fn conv<T>(self) -> Twhere
diff --git a/catalog/error/struct.OpenSystemCatalogSnafu.html b/catalog/error/struct.OpenSystemCatalogSnafu.html
index cf223ff26e8b..7c8415b68235 100644
--- a/catalog/error/struct.OpenSystemCatalogSnafu.html
+++ b/catalog/error/struct.OpenSystemCatalogSnafu.html
@@ -1,6 +1,6 @@
OpenSystemCatalogSnafu in catalog::error - Rust Struct catalog::error::OpenSystemCatalogSnafu
source · pub struct OpenSystemCatalogSnafu;
Expand description
SNAFU context selector for the Error::OpenSystemCatalog
variant
Trait Implementations§
source§impl Clone for OpenSystemCatalogSnafu
source§fn clone(&self) -> OpenSystemCatalogSnafu
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 OpenSystemCatalogSnafu
source§impl Copy for OpenSystemCatalogSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for OpenSystemCatalogSnafu
§impl Send for OpenSystemCatalogSnafu
§impl Sync for OpenSystemCatalogSnafu
§impl Unpin for OpenSystemCatalogSnafu
§impl UnwindSafe for OpenSystemCatalogSnafu
Blanket Implementations§
source§impl Copy for OpenSystemCatalogSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for OpenSystemCatalogSnafu
§impl Send for OpenSystemCatalogSnafu
§impl Sync for OpenSystemCatalogSnafu
§impl Unpin for OpenSystemCatalogSnafu
§impl UnwindSafe for OpenSystemCatalogSnafu
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/error/struct.OpenTableSnafu.html b/catalog/error/struct.OpenTableSnafu.html
index 83c001bda093..84f43843dc99 100644
--- a/catalog/error/struct.OpenTableSnafu.html
+++ b/catalog/error/struct.OpenTableSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::OpenTable
variant
Fields§
§table_id: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for OpenTableSnafu<__T0>
source§fn clone(&self) -> OpenTableSnafu<__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 OpenTableSnafu<__T0>
source§impl<__T0> IntoError<Error> for OpenTableSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
source§impl<__T0: Copy> Copy for OpenTableSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for OpenTableSnafu<__T0>where
+ __T0: Into<TableId>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for OpenTableSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for OpenTableSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for OpenTableSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for OpenTableSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for OpenTableSnafu<__T0>where
diff --git a/catalog/error/struct.SystemCatalogTableScanSnafu.html b/catalog/error/struct.SystemCatalogTableScanSnafu.html
index a00f76149aaf..fadce0cea3da 100644
--- a/catalog/error/struct.SystemCatalogTableScanSnafu.html
+++ b/catalog/error/struct.SystemCatalogTableScanSnafu.html
@@ -1,6 +1,6 @@
SystemCatalogTableScanSnafu in catalog::error - Rust Struct catalog::error::SystemCatalogTableScanSnafu
source · pub struct SystemCatalogTableScanSnafu;
Expand description
SNAFU context selector for the Error::SystemCatalogTableScan
variant
Trait Implementations§
source§impl Clone for SystemCatalogTableScanSnafu
source§fn clone(&self) -> SystemCatalogTableScanSnafu
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 SystemCatalogTableScanSnafu
source§impl Copy for SystemCatalogTableScanSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for SystemCatalogTableScanSnafu
§impl Send for SystemCatalogTableScanSnafu
§impl Sync for SystemCatalogTableScanSnafu
§impl Unpin for SystemCatalogTableScanSnafu
§impl UnwindSafe for SystemCatalogTableScanSnafu
Blanket Implementations§
source§impl Copy for SystemCatalogTableScanSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for SystemCatalogTableScanSnafu
§impl Send for SystemCatalogTableScanSnafu
§impl Sync for SystemCatalogTableScanSnafu
§impl Unpin for SystemCatalogTableScanSnafu
§impl UnwindSafe for SystemCatalogTableScanSnafu
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/error/struct.TableEngineNotFoundSnafu.html b/catalog/error/struct.TableEngineNotFoundSnafu.html
index a8d218008b2d..177f8f49fc2c 100644
--- a/catalog/error/struct.TableEngineNotFoundSnafu.html
+++ b/catalog/error/struct.TableEngineNotFoundSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::TableEngineNotFound
variant
Fields§
§engine_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for TableEngineNotFoundSnafu<__T0>
source§fn clone(&self) -> TableEngineNotFoundSnafu<__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 TableEngineNotFoundSnafu<__T0>
source§impl<__T0> IntoError<Error> for TableEngineNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
source§impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for TableEngineNotFoundSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for TableEngineNotFoundSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for TableEngineNotFoundSnafu<__T0>where
diff --git a/catalog/error/struct.TableSchemaMismatchSnafu.html b/catalog/error/struct.TableSchemaMismatchSnafu.html
index 141d7bcece45..2d021adfe832 100644
--- a/catalog/error/struct.TableSchemaMismatchSnafu.html
+++ b/catalog/error/struct.TableSchemaMismatchSnafu.html
@@ -1,6 +1,6 @@
TableSchemaMismatchSnafu in catalog::error - Rust Struct catalog::error::TableSchemaMismatchSnafu
source · pub struct TableSchemaMismatchSnafu;
Expand description
SNAFU context selector for the Error::TableSchemaMismatch
variant
Trait Implementations§
source§impl Clone for TableSchemaMismatchSnafu
source§fn clone(&self) -> TableSchemaMismatchSnafu
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 TableSchemaMismatchSnafu
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
Blanket Implementations§
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
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.InformationSchemaColumns.html b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
index 45892b4c2c9f..fdbf90c162df 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumns.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaColumns
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcefn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaColumnsBuilder
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/struct.InformationSchemaProvider.html b/catalog/information_schema/struct.InformationSchemaProvider.html
index 741ca07a1fac..d65c01d75e79 100644
--- a/catalog/information_schema/struct.InformationSchemaProvider.html
+++ b/catalog/information_schema/struct.InformationSchemaProvider.html
@@ -7,15 +7,15 @@
) -> Self
sourcepub fn build(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> HashMap<String, TableRef>
sourcepub fn table(&self, name: &str) -> Option<TableRef>
sourcefn information_table(
&self,
name: &str
) -> Option<Arc<dyn InformationTable + Send + Sync>>
sourcefn table_info(
catalog_name: String,
table: &Arc<dyn InformationTable + Send + Sync>
-) -> TableInfoRef
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
Blanket Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
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.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index 73e111ed49d8..600a4d513cc8 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcepub(crate) fn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaTablesBuilder
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 fc2e7f26baaf..88ee74cf9d15 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -20,7 +20,7 @@
catalog_name: &str,
schema_name: &str,
table_name: &str,
- table_type: TableType,
+ table_type: TableType,
table_id: Option<u32>,
engine: Option<&str>
)
sourcefn finish(&mut self) -> Result<RecordBatch>
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTablesBuilder
§impl Send for InformationSchemaTablesBuilder
§impl Sync for InformationSchemaTablesBuilder
§impl Unpin for InformationSchemaTablesBuilder
§impl !UnwindSafe for InformationSchemaTablesBuilder
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 6050a90beb82..0cf10f8c594e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -6,5 +6,5 @@
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
+ 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
diff --git a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
index ea4fb44fea2f..8366825323a3 100644
--- a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
+++ b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
@@ -23,7 +23,7 @@
'life1: 'async_trait,source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
@@ -74,7 +74,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/kvbackend/manager/struct.SystemCatalog.html b/catalog/kvbackend/manager/struct.SystemCatalog.html
index 9eff387e8a4a..c383f8118964 100644
--- a/catalog/kvbackend/manager/struct.SystemCatalog.html
+++ b/catalog/kvbackend/manager/struct.SystemCatalog.html
@@ -11,7 +11,7 @@
catalog: &str,
schema: &str,
table_name: &str
-) -> Option<TableRef>
Trait Implementations§
source§impl Clone for SystemCatalog
source§fn clone(&self) -> SystemCatalog
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for SystemCatalog
§impl Send for SystemCatalog
§impl Sync for SystemCatalog
§impl Unpin for SystemCatalog
§impl !UnwindSafe for SystemCatalog
Blanket Implementations§
Trait Implementations§
source§impl Clone for SystemCatalog
source§fn clone(&self) -> SystemCatalog
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for SystemCatalog
§impl Send for SystemCatalog
§impl Sync for SystemCatalog
§impl Unpin for SystemCatalog
§impl !UnwindSafe for SystemCatalog
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/kvbackend/struct.KvBackendCatalogManager.html b/catalog/kvbackend/struct.KvBackendCatalogManager.html
index 239798bb5bac..bcc4e79f3030 100644
--- a/catalog/kvbackend/struct.KvBackendCatalogManager.html
+++ b/catalog/kvbackend/struct.KvBackendCatalogManager.html
@@ -23,7 +23,7 @@
'life1: 'async_trait,
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
@@ -74,7 +74,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/memory/manager/struct.MemoryCatalogManager.html b/catalog/memory/manager/struct.MemoryCatalogManager.html
index 83ced5e75e65..dd08e277d1c8 100644
--- a/catalog/memory/manager/struct.MemoryCatalogManager.html
+++ b/catalog/memory/manager/struct.MemoryCatalogManager.html
@@ -1,7 +1,7 @@
MemoryCatalogManager in catalog::memory::manager - Rust Struct catalog::memory::manager::MemoryCatalogManager
source · pub struct MemoryCatalogManager {
- catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
+ catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
}
Expand description
Simple in-memory list of catalogs
-Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
+Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
Implementations§
source§impl MemoryCatalogManager
sourcepub fn new() -> Arc<Self>
sourcepub fn with_default_setup() -> Arc<Self>
Creates a manager with some default setups
(e.g. default catalog/schema and information schema)
sourcefn schema_exist_sync(&self, catalog: &str, schema: &str) -> Result<bool>
sourcefn catalog_exist_sync(&self, catalog: &str) -> Result<bool>
sourcepub fn register_catalog_sync(&self, name: &str) -> Result<bool>
Registers a catalog if it does not exist and returns false if the schema exists.
@@ -18,7 +18,7 @@
sourcefn create_catalog_entry(
self: &Arc<Self>,
catalog: String
-) -> HashMap<String, HashMap<String, TableRef>>
Trait Implementations§
Trait Implementations§
source§impl CatalogManager for MemoryCatalogManager
source§fn schema_exists<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
catalog: &'life1 str,
schema: &'life2 str
@@ -31,7 +31,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/memory/manager/type.SchemaEntries.html b/catalog/memory/manager/type.SchemaEntries.html
index e08a73e4fce1..06ddf021ba39 100644
--- a/catalog/memory/manager/type.SchemaEntries.html
+++ b/catalog/memory/manager/type.SchemaEntries.html
@@ -1 +1 @@
-SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
+SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
diff --git a/catalog/struct.RegisterSystemTableRequest.html b/catalog/struct.RegisterSystemTableRequest.html
index 98ffda68e56e..a3007b081a96 100644
--- a/catalog/struct.RegisterSystemTableRequest.html
+++ b/catalog/struct.RegisterSystemTableRequest.html
@@ -1,5 +1,5 @@
RegisterSystemTableRequest in catalog - Rust Struct catalog::RegisterSystemTableRequest
source · pub struct RegisterSystemTableRequest {
- pub create_table_request: CreateTableRequest,
+ pub create_table_request: CreateTableRequest,
pub open_hook: Option<OpenSystemTableHook>,
}
Expand description
Register system table request:
@@ -7,7 +7,7 @@
with table ref after opening the system table
- When system table is not exists, create and register the table by create_table_request and calls open_hook with the created table.
-Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
Blanket Implementations§
Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
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/struct.RegisterTableRequest.html b/catalog/struct.RegisterTableRequest.html
index c2f30ba4aa53..91238cde5a87 100644
--- a/catalog/struct.RegisterTableRequest.html
+++ b/catalog/struct.RegisterTableRequest.html
@@ -2,9 +2,9 @@
pub catalog: String,
pub schema: String,
pub table_name: String,
- pub table_id: TableId,
- pub table: TableRef,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+ pub table: TableRef,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
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/struct.RenameTableRequest.html b/catalog/struct.RenameTableRequest.html
index c0a56b79a189..166aa7465716 100644
--- a/catalog/struct.RenameTableRequest.html
+++ b/catalog/struct.RenameTableRequest.html
@@ -3,8 +3,8 @@
pub schema: String,
pub table_name: String,
pub new_table_name: String,
- pub table_id: TableId,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
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/trait.CatalogManager.html b/catalog/trait.CatalogManager.html
index cc8091a5169e..3f057be0493b 100644
--- a/catalog/trait.CatalogManager.html
+++ b/catalog/trait.CatalogManager.html
@@ -54,7 +54,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
- ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
+ ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -107,7 +107,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/type.OpenSystemTableHook.html b/catalog/type.OpenSystemTableHook.html
index 6b2713f62a6a..1eefe22addab 100644
--- a/catalog/type.OpenSystemTableHook.html
+++ b/catalog/type.OpenSystemTableHook.html
@@ -1,2 +1,2 @@
-OpenSystemTableHook in catalog - Rust Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+OpenSystemTableHook in catalog - Rust
\ No newline at end of file
diff --git a/client/all.html b/client/all.html
index 1058c330a5ce..9bb88a75eba3 100644
--- a/client/all.html
+++ b/client/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
diff --git a/client/database/struct.Database.html b/client/database/struct.Database.html
index 1c72f65df0e4..2fe6e5e0e2fb 100644
--- a/client/database/struct.Database.html
+++ b/client/database/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/enum.Output.html b/client/enum.Output.html
new file mode 100644
index 000000000000..78dc13d76b4a
--- /dev/null
+++ b/client/enum.Output.html
@@ -0,0 +1,118 @@
+Output in client - Rust pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
§AffectedRows(usize)
§RecordBatches(RecordBatches)
§Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Output
§impl Send for Output
§impl !Sync for Output
§impl Unpin for Output
§impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/fn.from_grpc_response.html b/client/fn.from_grpc_response.html
index 0f422cea122b..0ffdc48fee12 100644
--- a/client/fn.from_grpc_response.html
+++ b/client/fn.from_grpc_response.html
@@ -1 +1 @@
-from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
+from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
diff --git a/client/index.html b/client/index.html
index 3c2e9096c074..1b3ba37a3ae1 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1 @@
-client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
\ No newline at end of file
+client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
\ No newline at end of file
diff --git a/client/region/struct.RegionRequester.html b/client/region/struct.RegionRequester.html
index c52e450ec287..74fb7ac4de8e 100644
--- a/client/region/struct.RegionRequester.html
+++ b/client/region/struct.RegionRequester.html
@@ -3,7 +3,7 @@
}Fields§
§client: Client
Implementations§
Trait Implementations§
source§impl Datanode for RegionRequester
Trait Implementations§
source§impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
Handles DML, and DDL requests.source§fn handle_query<'life0, 'async_trait>(
&'life0 self,
request: QueryRequest
-) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
§impl !RefUnwindSafe for RegionRequester
§impl Send for RegionRequester
§impl Sync for RegionRequester
§impl Unpin for RegionRequester
§impl !UnwindSafe for RegionRequester
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/struct.RecordBatches.html b/client/struct.RecordBatches.html
new file mode 100644
index 000000000000..d4b5134bef55
--- /dev/null
+++ b/client/struct.RecordBatches.html
@@ -0,0 +1,134 @@
+RecordBatches in client - Rust Struct client::RecordBatches
pub struct RecordBatches {
+ pub(crate) schema: Arc<Schema, Global>,
+ pub(crate) batches: Vec<RecordBatch, Global>,
+}
Fields§
§schema: Arc<Schema, Global>
§batches: Vec<RecordBatch, Global>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema, Global>,
+ columns: I
+) -> Result<RecordBatches, Error>where
+ I: IntoIterator<Item = Arc<dyn Vector, Global>>,
pub async fn try_collect(
+ stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
+) -> impl Future<Output = 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, Global>,
+ batches: Vec<RecordBatch, Global>
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema, Global>
pub fn take(self) -> Vec<RecordBatch, Global>
pub fn as_stream(
+ &self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
pub fn into_df_stream(
+ self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, DataFusionError>> + Send, Global>>
Trait Implementations§
§impl Debug for RecordBatches
§impl IntoIterator for RecordBatches
§type IntoIter = IntoIter<<RecordBatches as IntoIterator>::Item, Global>
Which kind of iterator are we turning this into?§fn into_iter(self) -> <RecordBatches as IntoIterator>::IntoIter
Creates an iterator from a value. Read more§impl PartialEq<RecordBatches> for RecordBatches
§fn eq(&self, other: &RecordBatches) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.§impl StructuralPartialEq for RecordBatches
Auto Trait Implementations§
§impl !RefUnwindSafe for RecordBatches
§impl Send for RecordBatches
§impl Sync for RecordBatches
§impl Unpin for RecordBatches
§impl !UnwindSafe for RecordBatches
Blanket Implementations§
§impl<I> BidiIterator for Iwhere
+ I: IntoIterator,
+ <I as IntoIterator>::IntoIter: DoubleEndedIterator,
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/type.SendableRecordBatchStream.html b/client/type.SendableRecordBatchStream.html
new file mode 100644
index 000000000000..df7268aab19a
--- /dev/null
+++ b/client/type.SendableRecordBatchStream.html
@@ -0,0 +1 @@
+SendableRecordBatchStream in client - Rust
\ No newline at end of file
diff --git a/common_grpc_expr/alter/fn.alter_expr_to_request.html b/common_grpc_expr/alter/fn.alter_expr_to_request.html
index 63f2342d02da..1850a92935fc 100644
--- a/common_grpc_expr/alter/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/alter/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr::alter - Rust Function common_grpc_expr::alter::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/alter/index.html b/common_grpc_expr/alter/index.html
index bd7e5b33fbcf..4206ec54f54a 100644
--- a/common_grpc_expr/alter/index.html
+++ b/common_grpc_expr/alter/index.html
@@ -1 +1 @@
-common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/delete/fn.to_table_delete_request.html b/common_grpc_expr/delete/fn.to_table_delete_request.html
index 17bb5cee292b..4d6dd1ad4737 100644
--- a/common_grpc_expr/delete/fn.to_table_delete_request.html
+++ b/common_grpc_expr/delete/fn.to_table_delete_request.html
@@ -2,4 +2,4 @@
catalog_name: &str,
schema_name: &str,
request: DeleteRequest
-) -> Result<DeleteRequest>
\ No newline at end of file
+) -> Result<DeleteRequest>
\ No newline at end of file
diff --git a/common_grpc_expr/fn.alter_expr_to_request.html b/common_grpc_expr/fn.alter_expr_to_request.html
index fb020673c315..e83fe76ebb26 100644
--- a/common_grpc_expr/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr - Rust Function common_grpc_expr::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/index.html b/common_grpc_expr/index.html
index 123b65c2895b..3fd0656e8b4a 100644
--- a/common_grpc_expr/index.html
+++ b/common_grpc_expr/index.html
@@ -1 +1 @@
-common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
index 36f3cb9ff049..d204bc70ab7b 100644
--- a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
+++ b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
@@ -1,7 +1,7 @@
build_create_expr_from_insertion in common_grpc_expr::insert - Rust Function common_grpc_expr::insert::build_create_expr_from_insertion
source · pub fn build_create_expr_from_insertion(
catalog_name: &str,
schema_name: &str,
- table_id: Option<TableId>,
+ table_id: Option<TableId>,
table_name: &str,
columns: &[Column],
engine: &str
diff --git a/common_grpc_expr/util/fn.build_create_table_expr.html b/common_grpc_expr/util/fn.build_create_table_expr.html
index e78b4de945b9..76a2b47b82aa 100644
--- a/common_grpc_expr/util/fn.build_create_table_expr.html
+++ b/common_grpc_expr/util/fn.build_create_table_expr.html
@@ -1,6 +1,6 @@
build_create_table_expr in common_grpc_expr::util - Rust Function common_grpc_expr::util::build_create_table_expr
source · pub fn build_create_table_expr(
- table_id: Option<TableId>,
- table_name: &TableReference<'_>,
+ table_id: Option<TableId>,
+ table_name: &TableReference<'_>,
column_exprs: Vec<ColumnExpr<'_>>,
engine: &str,
desc: &str
diff --git a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
index 13feb0240fbf..94e9334f09a2 100644
--- a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
+++ b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
@@ -1,7 +1,7 @@
DummyCacheInvalidator in common_meta::cache_invalidator - Rust pub struct DummyCacheInvalidator;
Trait Implementations§
source§impl CacheInvalidator for DummyCacheInvalidator
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
- _table_id: TableId
+ _table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/cache_invalidator/trait.CacheInvalidator.html b/common_meta/cache_invalidator/trait.CacheInvalidator.html
index dc6e8864c3a7..004d340a376a 100644
--- a/common_meta/cache_invalidator/trait.CacheInvalidator.html
+++ b/common_meta/cache_invalidator/trait.CacheInvalidator.html
@@ -3,7 +3,7 @@
fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
@@ -19,7 +19,7 @@
}Required Methods§
sourcefn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
index 625083846c6d..4e32e147c5db 100644
--- a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
+++ b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
@@ -1,5 +1,5 @@
create_proto_alter_kind in common_meta::ddl::alter_table - Rust Function common_meta::ddl::alter_table::create_proto_alter_kind
source · pub fn create_proto_alter_kind(
- table_info: &RawTableInfo,
+ table_info: &RawTableInfo,
alter_kind: &Kind
) -> Result<(Option<Kind>, Option<ColumnId>)>
Expand description
Creates region proto alter kind from table_info
and alter_kind
.
Returns the kind and next column id if it adds new columns.
diff --git a/common_meta/ddl/alter_table/struct.AlterTableData.html b/common_meta/ddl/alter_table/struct.AlterTableData.html
index f9a58a4e56bc..018ff5a55e63 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableData.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableData.html
@@ -11,7 +11,7 @@
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
cluster_id: u64,
next_column_id: Option<ColumnId>
-) -> Selfsourcefn table_ref(&self) -> TableReference<'_>
sourcefn table_id(&self) -> TableId
sourcefn table_info(&self) -> &RawTableInfo
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for AlterTableData
§impl Send for AlterTableData
§impl Sync for AlterTableData
§impl Unpin for AlterTableData
§impl UnwindSafe for AlterTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
index 473eaaaee000..6a100fc8420b 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
@@ -17,8 +17,8 @@
) -> Result<()>
Update table metadata for rename table operation.
sourceasync fn on_update_metadata_for_alter(
&self,
- new_table_info: RawTableInfo
-) -> Result<()>
sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
+ new_table_info: RawTableInfo
+) -> Result<()>sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
sourceasync fn on_broadcast(&mut self) -> Result<Status>
Broadcasts the invalidating table cache instructions.
sourcefn lock_key_inner(&self) -> Vec<String>
Trait Implementations§
source§impl Procedure for AlterTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff --git a/common_meta/ddl/create_table/struct.CreateTableData.html b/common_meta/ddl/create_table/struct.CreateTableData.html
index 2e5e27fd7eb4..4330b2fbd1af 100644
--- a/common_meta/ddl/create_table/struct.CreateTableData.html
+++ b/common_meta/ddl/create_table/struct.CreateTableData.html
@@ -3,7 +3,7 @@
pub task: CreateTableTask,
pub region_routes: Vec<RegionRoute>,
pub cluster_id: u64,
-}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
source§impl CreateTableData
sourcefn table_ref(&self) -> TableReference<'_>
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for CreateTableData
§impl Send for CreateTableData
§impl Sync for CreateTableData
§impl Unpin for CreateTableData
§impl UnwindSafe for CreateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/create_table/struct.CreateTableProcedure.html b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
index b71e4a8436f9..9a2a1de73fad 100644
--- a/common_meta/ddl/create_table/struct.CreateTableProcedure.html
+++ b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
@@ -6,7 +6,7 @@
task: CreateTableTask,
region_routes: Vec<RegionRoute>,
context: DdlContext
-) -> Self
sourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
+) -> Selfsourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
sourcepub fn create_region_request_template(&self) -> Result<PbCreateRegionRequest>
sourcepub async fn on_datanode_create_regions(&mut self) -> Result<Status>
sourceasync fn on_create_metadata(&self) -> Result<Status>
Trait Implementations§
source§impl Procedure for CreateTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_ctx: &'life1 ProcedureContext
diff --git a/common_meta/ddl/drop_table/struct.DropTableData.html b/common_meta/ddl/drop_table/struct.DropTableData.html
index 46e3a21db8cd..2b91fa24c713 100644
--- a/common_meta/ddl/drop_table/struct.DropTableData.html
+++ b/common_meta/ddl/drop_table/struct.DropTableData.html
@@ -9,7 +9,7 @@
task: DropTableTask,
table_route_value: DeserializedValueWithBytes<TableRouteValue>,
table_info_value: DeserializedValueWithBytes<TableInfoValue>
-) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for DropTableData
§impl Send for DropTableData
§impl Sync for DropTableData
§impl Unpin for DropTableData
§impl UnwindSafe for DropTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/trait.TableMetadataAllocator.html b/common_meta/ddl/trait.TableMetadataAllocator.html
index b095be070299..36cbad59636a 100644
--- a/common_meta/ddl/trait.TableMetadataAllocator.html
+++ b/common_meta/ddl/trait.TableMetadataAllocator.html
@@ -3,7 +3,7 @@
fn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>
where Self: 'async_trait,
@@ -14,7 +14,7 @@
}Required Methods§
sourcefn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/common_meta/ddl/truncate_table/struct.TruncateTableData.html b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
index 7363b523f063..708e5561808d 100644
--- a/common_meta/ddl/truncate_table/struct.TruncateTableData.html
+++ b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
@@ -9,7 +9,7 @@
task: TruncateTableTask,
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
region_routes: Vec<RegionRoute>
-) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for TruncateTableData
§impl Send for TruncateTableData
§impl Sync for TruncateTableData
§impl Unpin for TruncateTableData
§impl UnwindSafe for TruncateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/error/enum.Error.html b/common_meta/error/enum.Error.html
index 541ce4833b77..1a92776ff7a1 100644
--- a/common_meta/error/enum.Error.html
+++ b/common_meta/error/enum.Error.html
@@ -44,12 +44,12 @@
},
BuildTableMeta {
table_name: String,
- error: TableMetaBuilderError,
+ error: TableMetaBuilderError,
location: Location,
},
Table {
location: Location,
- source: Error,
+ source: Error,
},
TableRouteNotFound {
table_name: String,
@@ -145,7 +145,7 @@
location: Location,
},
MoveRegion {
- table_id: TableId,
+ table_id: TableId,
region: RegionNumber,
err_msg: String,
location: Location,
@@ -169,7 +169,7 @@
RetryLater {
source: BoxedError,
},
-
}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
+}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
sourcepub fn is_retry_later(&self) -> bool
Determine whether it is a retry later type through StatusCode
Trait Implementations§
source§impl Error for Errorwhere
Self: Debug + Display,
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§fn output_msg(&self) -> Stringwhere
Self: Sized,
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0> IntoError<Error> for CacheNotGetSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for CatalogAlreadyExistsSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -206,7 +206,7 @@
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0> IntoError<Error> for NextSequenceSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -245,7 +245,7 @@
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for TableRouteNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
+ Error: Error + ErrorCompat,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSnafu<__T0>where
Error: Error + ErrorCompat,
diff --git a/common_meta/error/struct.BuildTableMetaSnafu.html b/common_meta/error/struct.BuildTableMetaSnafu.html
index 848719b5d875..de793f19e317 100644
--- a/common_meta/error/struct.BuildTableMetaSnafu.html
+++ b/common_meta/error/struct.BuildTableMetaSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::BuildTableMeta
variant
Fields§
§table_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for BuildTableMetaSnafu<__T0>
source§fn clone(&self) -> BuildTableMetaSnafu<__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 BuildTableMetaSnafu<__T0>
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for BuildTableMetaSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for BuildTableMetaSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for BuildTableMetaSnafu<__T0>where
diff --git a/common_meta/error/struct.MoveRegionSnafu.html b/common_meta/error/struct.MoveRegionSnafu.html
index 7225b5d448e7..33e45ac82117 100644
--- a/common_meta/error/struct.MoveRegionSnafu.html
+++ b/common_meta/error/struct.MoveRegionSnafu.html
@@ -4,16 +4,16 @@
pub err_msg: __T2,
}Expand description
SNAFU context selector for the Error::MoveRegion
variant
Fields§
§table_id: __T0
§region: __T1
§err_msg: __T2
Implementations§
Trait Implementations§
source§impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for MoveRegionSnafu<__T0, __T1, __T2>
source§fn clone(&self) -> MoveRegionSnafu<__T0, __T1, __T2>
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, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for MoveRegionSnafu<__T0, __T1, __T2>
Auto Trait Implementations§
§impl<__T0, __T1, __T2> RefUnwindSafe for MoveRegionSnafu<__T0, __T1, __T2>where
__T0: RefUnwindSafe,
diff --git a/common_meta/error/struct.TableSnafu.html b/common_meta/error/struct.TableSnafu.html
index d9c91350619f..a2c1ecb55273 100644
--- a/common_meta/error/struct.TableSnafu.html
+++ b/common_meta/error/struct.TableSnafu.html
@@ -1,6 +1,6 @@
TableSnafu in common_meta::error - Rust Struct common_meta::error::TableSnafu
source · pub struct TableSnafu;
Expand description
SNAFU context selector for the Error::Table
variant
Trait Implementations§
source§impl Clone for TableSnafu
source§fn clone(&self) -> TableSnafu
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 TableSnafu
source§impl Copy for TableSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
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/common_meta/instruction/enum.Instruction.html b/common_meta/instruction/enum.Instruction.html
index 7a20097062e3..f2b72df49f65 100644
--- a/common_meta/instruction/enum.Instruction.html
+++ b/common_meta/instruction/enum.Instruction.html
@@ -1,9 +1,9 @@
Instruction in common_meta::instruction - Rust Enum common_meta::instruction::Instruction
source · pub enum Instruction {
OpenRegion(OpenRegion),
CloseRegion(RegionIdent),
- InvalidateTableIdCache(TableId),
+ InvalidateTableIdCache(TableId),
InvalidateTableNameCache(TableName),
-}
Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for Instruction
Auto Trait Implementations§
§impl RefUnwindSafe for Instruction
§impl Send for Instruction
§impl Sync for Instruction
§impl Unpin for Instruction
§impl UnwindSafe for Instruction
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/instruction/struct.RegionIdent.html b/common_meta/instruction/struct.RegionIdent.html
index 834642f1f56d..e1c0821020fb 100644
--- a/common_meta/instruction/struct.RegionIdent.html
+++ b/common_meta/instruction/struct.RegionIdent.html
@@ -1,10 +1,10 @@
RegionIdent in common_meta::instruction - Rust Struct common_meta::instruction::RegionIdent
source · pub struct RegionIdent {
pub cluster_id: ClusterId,
pub datanode_id: DatanodeId,
- pub table_id: TableId,
+ pub table_id: TableId,
pub region_number: RegionNumber,
pub engine: String,
-}
Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for RegionIdent
source§impl Hash for RegionIdent
source§impl PartialEq<RegionIdent> for RegionIdent
source§fn eq(&self, other: &RegionIdent) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableKey.html b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
index 831cc2a090bc..eb2071d8b654 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableKey.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
@@ -1,7 +1,7 @@
DatanodeTableKey in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableKey
source · pub struct DatanodeTableKey {
datanode_id: DatanodeId,
- table_id: TableId,
-}
Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
Blanket Implementations§
source§impl<T> Any for Twhere
+ table_id: TableId,
+}Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
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/common_meta/key/datanode_table/struct.DatanodeTableManager.html b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
index b1e8ab3c4b74..020d5420db60 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableManager.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
@@ -8,7 +8,7 @@
datanode_id: DatanodeId
) -> BoxStream<'static, Result<DatanodeTableValue>>
sourcepub fn build_create_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
engine: &str,
region_storage_path: &str,
region_options: HashMap<String, String>,
@@ -16,7 +16,7 @@
) -> Result<Txn>
Builds the create datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub(crate) fn build_update_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_region_distribution: RegionDistribution,
new_region_distribution: RegionDistribution,
@@ -24,7 +24,7 @@
) -> Result<Txn>
Builds the update datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub fn build_delete_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
distribution: RegionDistribution
) -> Result<Txn>
Builds the delete datanode table transactions. It only executes while the primary keys comparing successes.
Auto Trait Implementations§
§impl !RefUnwindSafe for DatanodeTableManager
§impl Send for DatanodeTableManager
§impl Sync for DatanodeTableManager
§impl Unpin for DatanodeTableManager
§impl !UnwindSafe for DatanodeTableManager
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableValue.html b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
index a32244212294..82d59648fcfd 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableValue.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
@@ -1,10 +1,10 @@
DatanodeTableValue in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableValue
source · pub struct DatanodeTableValue {
- pub table_id: TableId,
+ pub table_id: TableId,
pub regions: Vec<RegionNumber>,
pub region_info: RegionInfo,
version: u64,
-}
Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
- table_id: TableId,
+}Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
+ table_id: TableId,
regions: Vec<RegionNumber>,
region_info: RegionInfo
) -> Self
source§impl DatanodeTableValue
sourcepub fn try_from_raw_value(raw_value: &[u8]) -> Result<Self>
sourcepub fn try_as_raw_value(&self) -> Result<Vec<u8>>
Trait Implementations§
source§impl Clone for DatanodeTableValue
source§fn clone(&self) -> DatanodeTableValue
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 DatanodeTableValue
source§impl<'de> Deserialize<'de> for DatanodeTableValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
diff --git a/common_meta/key/struct.TableMetadataManager.html b/common_meta/key/struct.TableMetadataManager.html
index 6342e3e5e772..ca0e2101e96e 100644
--- a/common_meta/key/struct.TableMetadataManager.html
+++ b/common_meta/key/struct.TableMetadataManager.html
@@ -8,10 +8,10 @@
kv_backend: KvBackendRef,
}Fields§
§table_name_manager: TableNameManager
§table_info_manager: TableInfoManager
§datanode_table_manager: DatanodeTableManager
§catalog_manager: CatalogManager
§schema_manager: SchemaManager
§table_route_manager: TableRouteManager
§kv_backend: KvBackendRef
Implementations§
source§impl TableMetadataManager
sourcepub fn new(kv_backend: KvBackendRef) -> Self
sourcepub async fn init(&self) -> Result<()>
sourcepub fn table_name_manager(&self) -> &TableNameManager
sourcepub fn table_info_manager(&self) -> &TableInfoManager
sourcepub fn datanode_table_manager(&self) -> &DatanodeTableManager
sourcepub fn catalog_manager(&self) -> &CatalogManager
sourcepub fn schema_manager(&self) -> &SchemaManager
sourcepub fn table_route_manager(&self) -> &TableRouteManager
sourcepub fn kv_backend(&self) -> &KvBackendRef
sourcepub async fn get_full_table_info(
&self,
- table_id: TableId
+ table_id: TableId
) -> Result<(Option<DeserializedValueWithBytes<TableInfoValue>>, Option<DeserializedValueWithBytes<TableRouteValue>>)>
sourcepub async fn create_table_metadata(
&self,
- table_info: RawTableInfo,
+ table_info: RawTableInfo,
region_routes: Vec<RegionRoute>
) -> Result<()>
Creates metadata for table and returns an error if different metadata exists.
The caller MUST ensure it has the exclusive access to TableNameKey
.
@@ -31,11 +31,11 @@
sourcepub async fn update_table_info(
&self,
current_table_info_value: DeserializedValueWithBytes<TableInfoValue>,
- new_table_info: RawTableInfo
+ new_table_info: RawTableInfo
) -> Result<()>
Updates table info and returns an error if different metadata exists.
sourcepub async fn update_table_route(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_table_route_value: DeserializedValueWithBytes<TableRouteValue>,
new_region_routes: Vec<RegionRoute>,
diff --git a/common_meta/key/table_info/struct.TableInfoKey.html b/common_meta/key/table_info/struct.TableInfoKey.html
index a65b5c4c9471..f974bb124def 100644
--- a/common_meta/key/table_info/struct.TableInfoKey.html
+++ b/common_meta/key/table_info/struct.TableInfoKey.html
@@ -1,6 +1,6 @@
TableInfoKey in common_meta::key::table_info - Rust Struct common_meta::key::table_info::
Struct catalog::error::OpenSystemCatalogSnafu
source · pub struct OpenSystemCatalogSnafu;
Expand description
SNAFU context selector for the Error::OpenSystemCatalog
variant
Trait Implementations§
source§impl Clone for OpenSystemCatalogSnafu
impl Clone for OpenSystemCatalogSnafu
source§fn clone(&self) -> OpenSystemCatalogSnafu
fn clone(&self) -> OpenSystemCatalogSnafu
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OpenSystemCatalogSnafu
impl Debug for OpenSystemCatalogSnafu
impl Copy for OpenSystemCatalogSnafu
Auto Trait Implementations§
impl RefUnwindSafe for OpenSystemCatalogSnafu
impl Send for OpenSystemCatalogSnafu
impl Sync for OpenSystemCatalogSnafu
impl Unpin for OpenSystemCatalogSnafu
impl UnwindSafe for OpenSystemCatalogSnafu
Blanket Implementations§
impl Copy for OpenSystemCatalogSnafu
Auto Trait Implementations§
impl RefUnwindSafe for OpenSystemCatalogSnafu
impl Send for OpenSystemCatalogSnafu
impl Sync for OpenSystemCatalogSnafu
impl Unpin for OpenSystemCatalogSnafu
impl UnwindSafe for OpenSystemCatalogSnafu
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.OpenTableSnafu.html b/catalog/error/struct.OpenTableSnafu.html
index 83c001bda093..84f43843dc99 100644
--- a/catalog/error/struct.OpenTableSnafu.html
+++ b/catalog/error/struct.OpenTableSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::OpenTable
variant
Fields§
§table_id: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for OpenTableSnafu<__T0>
source§fn clone(&self) -> OpenTableSnafu<__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 OpenTableSnafu<__T0>
source§impl<__T0> IntoError<Error> for OpenTableSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
source§impl<__T0: Copy> Copy for OpenTableSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for OpenTableSnafu<__T0>where
+ __T0: Into<TableId>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for OpenTableSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for OpenTableSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for OpenTableSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for OpenTableSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for OpenTableSnafu<__T0>where
diff --git a/catalog/error/struct.SystemCatalogTableScanSnafu.html b/catalog/error/struct.SystemCatalogTableScanSnafu.html
index a00f76149aaf..fadce0cea3da 100644
--- a/catalog/error/struct.SystemCatalogTableScanSnafu.html
+++ b/catalog/error/struct.SystemCatalogTableScanSnafu.html
@@ -1,6 +1,6 @@
SystemCatalogTableScanSnafu in catalog::error - Rust Struct catalog::error::SystemCatalogTableScanSnafu
source · pub struct SystemCatalogTableScanSnafu;
Expand description
SNAFU context selector for the Error::SystemCatalogTableScan
variant
Trait Implementations§
source§impl Clone for SystemCatalogTableScanSnafu
source§fn clone(&self) -> SystemCatalogTableScanSnafu
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 SystemCatalogTableScanSnafu
source§impl Copy for SystemCatalogTableScanSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for SystemCatalogTableScanSnafu
§impl Send for SystemCatalogTableScanSnafu
§impl Sync for SystemCatalogTableScanSnafu
§impl Unpin for SystemCatalogTableScanSnafu
§impl UnwindSafe for SystemCatalogTableScanSnafu
Blanket Implementations§
source§impl Copy for SystemCatalogTableScanSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for SystemCatalogTableScanSnafu
§impl Send for SystemCatalogTableScanSnafu
§impl Sync for SystemCatalogTableScanSnafu
§impl Unpin for SystemCatalogTableScanSnafu
§impl UnwindSafe for SystemCatalogTableScanSnafu
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/error/struct.TableEngineNotFoundSnafu.html b/catalog/error/struct.TableEngineNotFoundSnafu.html
index a8d218008b2d..177f8f49fc2c 100644
--- a/catalog/error/struct.TableEngineNotFoundSnafu.html
+++ b/catalog/error/struct.TableEngineNotFoundSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::TableEngineNotFound
variant
Fields§
§engine_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for TableEngineNotFoundSnafu<__T0>
source§fn clone(&self) -> TableEngineNotFoundSnafu<__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 TableEngineNotFoundSnafu<__T0>
source§impl<__T0> IntoError<Error> for TableEngineNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
source§impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for TableEngineNotFoundSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for TableEngineNotFoundSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for TableEngineNotFoundSnafu<__T0>where
diff --git a/catalog/error/struct.TableSchemaMismatchSnafu.html b/catalog/error/struct.TableSchemaMismatchSnafu.html
index 141d7bcece45..2d021adfe832 100644
--- a/catalog/error/struct.TableSchemaMismatchSnafu.html
+++ b/catalog/error/struct.TableSchemaMismatchSnafu.html
@@ -1,6 +1,6 @@
TableSchemaMismatchSnafu in catalog::error - Rust Struct catalog::error::TableSchemaMismatchSnafu
source · pub struct TableSchemaMismatchSnafu;
Expand description
SNAFU context selector for the Error::TableSchemaMismatch
variant
Trait Implementations§
source§impl Clone for TableSchemaMismatchSnafu
source§fn clone(&self) -> TableSchemaMismatchSnafu
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 TableSchemaMismatchSnafu
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
Blanket Implementations§
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
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.InformationSchemaColumns.html b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
index 45892b4c2c9f..fdbf90c162df 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumns.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaColumns
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcefn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaColumnsBuilder
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/struct.InformationSchemaProvider.html b/catalog/information_schema/struct.InformationSchemaProvider.html
index 741ca07a1fac..d65c01d75e79 100644
--- a/catalog/information_schema/struct.InformationSchemaProvider.html
+++ b/catalog/information_schema/struct.InformationSchemaProvider.html
@@ -7,15 +7,15 @@
) -> Self
sourcepub fn build(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> HashMap<String, TableRef>
sourcepub fn table(&self, name: &str) -> Option<TableRef>
sourcefn information_table(
&self,
name: &str
) -> Option<Arc<dyn InformationTable + Send + Sync>>
sourcefn table_info(
catalog_name: String,
table: &Arc<dyn InformationTable + Send + Sync>
-) -> TableInfoRef
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
Blanket Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
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.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index 73e111ed49d8..600a4d513cc8 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcepub(crate) fn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaTablesBuilder
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 fc2e7f26baaf..88ee74cf9d15 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -20,7 +20,7 @@
catalog_name: &str,
schema_name: &str,
table_name: &str,
- table_type: TableType,
+ table_type: TableType,
table_id: Option<u32>,
engine: Option<&str>
)
sourcefn finish(&mut self) -> Result<RecordBatch>
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTablesBuilder
§impl Send for InformationSchemaTablesBuilder
§impl Sync for InformationSchemaTablesBuilder
§impl Unpin for InformationSchemaTablesBuilder
§impl !UnwindSafe for InformationSchemaTablesBuilder
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 6050a90beb82..0cf10f8c594e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -6,5 +6,5 @@
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
+ 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
diff --git a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
index ea4fb44fea2f..8366825323a3 100644
--- a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
+++ b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
@@ -23,7 +23,7 @@
'life1: 'async_trait,source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
@@ -74,7 +74,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/kvbackend/manager/struct.SystemCatalog.html b/catalog/kvbackend/manager/struct.SystemCatalog.html
index 9eff387e8a4a..c383f8118964 100644
--- a/catalog/kvbackend/manager/struct.SystemCatalog.html
+++ b/catalog/kvbackend/manager/struct.SystemCatalog.html
@@ -11,7 +11,7 @@
catalog: &str,
schema: &str,
table_name: &str
-) -> Option<TableRef>
Trait Implementations§
source§impl Clone for SystemCatalog
source§fn clone(&self) -> SystemCatalog
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for SystemCatalog
§impl Send for SystemCatalog
§impl Sync for SystemCatalog
§impl Unpin for SystemCatalog
§impl !UnwindSafe for SystemCatalog
Blanket Implementations§
Trait Implementations§
source§impl Clone for SystemCatalog
source§fn clone(&self) -> SystemCatalog
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for SystemCatalog
§impl Send for SystemCatalog
§impl Sync for SystemCatalog
§impl Unpin for SystemCatalog
§impl !UnwindSafe for SystemCatalog
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/kvbackend/struct.KvBackendCatalogManager.html b/catalog/kvbackend/struct.KvBackendCatalogManager.html
index 239798bb5bac..bcc4e79f3030 100644
--- a/catalog/kvbackend/struct.KvBackendCatalogManager.html
+++ b/catalog/kvbackend/struct.KvBackendCatalogManager.html
@@ -23,7 +23,7 @@
'life1: 'async_trait,
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
@@ -74,7 +74,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/memory/manager/struct.MemoryCatalogManager.html b/catalog/memory/manager/struct.MemoryCatalogManager.html
index 83ced5e75e65..dd08e277d1c8 100644
--- a/catalog/memory/manager/struct.MemoryCatalogManager.html
+++ b/catalog/memory/manager/struct.MemoryCatalogManager.html
@@ -1,7 +1,7 @@
MemoryCatalogManager in catalog::memory::manager - Rust Struct catalog::memory::manager::MemoryCatalogManager
source · pub struct MemoryCatalogManager {
- catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
+ catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
}
Expand description
Simple in-memory list of catalogs
-Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
+Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
Implementations§
source§impl MemoryCatalogManager
sourcepub fn new() -> Arc<Self>
sourcepub fn with_default_setup() -> Arc<Self>
Creates a manager with some default setups
(e.g. default catalog/schema and information schema)
sourcefn schema_exist_sync(&self, catalog: &str, schema: &str) -> Result<bool>
sourcefn catalog_exist_sync(&self, catalog: &str) -> Result<bool>
sourcepub fn register_catalog_sync(&self, name: &str) -> Result<bool>
Registers a catalog if it does not exist and returns false if the schema exists.
@@ -18,7 +18,7 @@
sourcefn create_catalog_entry(
self: &Arc<Self>,
catalog: String
-) -> HashMap<String, HashMap<String, TableRef>>
Trait Implementations§
Trait Implementations§
source§impl CatalogManager for MemoryCatalogManager
source§fn schema_exists<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
catalog: &'life1 str,
schema: &'life2 str
@@ -31,7 +31,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/memory/manager/type.SchemaEntries.html b/catalog/memory/manager/type.SchemaEntries.html
index e08a73e4fce1..06ddf021ba39 100644
--- a/catalog/memory/manager/type.SchemaEntries.html
+++ b/catalog/memory/manager/type.SchemaEntries.html
@@ -1 +1 @@
-SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
+SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
diff --git a/catalog/struct.RegisterSystemTableRequest.html b/catalog/struct.RegisterSystemTableRequest.html
index 98ffda68e56e..a3007b081a96 100644
--- a/catalog/struct.RegisterSystemTableRequest.html
+++ b/catalog/struct.RegisterSystemTableRequest.html
@@ -1,5 +1,5 @@
RegisterSystemTableRequest in catalog - Rust Struct catalog::RegisterSystemTableRequest
source · pub struct RegisterSystemTableRequest {
- pub create_table_request: CreateTableRequest,
+ pub create_table_request: CreateTableRequest,
pub open_hook: Option<OpenSystemTableHook>,
}
Expand description
Register system table request:
@@ -7,7 +7,7 @@
with table ref after opening the system table
- When system table is not exists, create and register the table by create_table_request and calls open_hook with the created table.
-Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
Blanket Implementations§
Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
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/struct.RegisterTableRequest.html b/catalog/struct.RegisterTableRequest.html
index c2f30ba4aa53..91238cde5a87 100644
--- a/catalog/struct.RegisterTableRequest.html
+++ b/catalog/struct.RegisterTableRequest.html
@@ -2,9 +2,9 @@
pub catalog: String,
pub schema: String,
pub table_name: String,
- pub table_id: TableId,
- pub table: TableRef,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+ pub table: TableRef,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
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/struct.RenameTableRequest.html b/catalog/struct.RenameTableRequest.html
index c0a56b79a189..166aa7465716 100644
--- a/catalog/struct.RenameTableRequest.html
+++ b/catalog/struct.RenameTableRequest.html
@@ -3,8 +3,8 @@
pub schema: String,
pub table_name: String,
pub new_table_name: String,
- pub table_id: TableId,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
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/trait.CatalogManager.html b/catalog/trait.CatalogManager.html
index cc8091a5169e..3f057be0493b 100644
--- a/catalog/trait.CatalogManager.html
+++ b/catalog/trait.CatalogManager.html
@@ -54,7 +54,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
- ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
+ ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -107,7 +107,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/type.OpenSystemTableHook.html b/catalog/type.OpenSystemTableHook.html
index 6b2713f62a6a..1eefe22addab 100644
--- a/catalog/type.OpenSystemTableHook.html
+++ b/catalog/type.OpenSystemTableHook.html
@@ -1,2 +1,2 @@
-OpenSystemTableHook in catalog - Rust Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+OpenSystemTableHook in catalog - Rust
\ No newline at end of file
diff --git a/client/all.html b/client/all.html
index 1058c330a5ce..9bb88a75eba3 100644
--- a/client/all.html
+++ b/client/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
diff --git a/client/database/struct.Database.html b/client/database/struct.Database.html
index 1c72f65df0e4..2fe6e5e0e2fb 100644
--- a/client/database/struct.Database.html
+++ b/client/database/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/enum.Output.html b/client/enum.Output.html
new file mode 100644
index 000000000000..78dc13d76b4a
--- /dev/null
+++ b/client/enum.Output.html
@@ -0,0 +1,118 @@
+Output in client - Rust pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
§AffectedRows(usize)
§RecordBatches(RecordBatches)
§Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Output
§impl Send for Output
§impl !Sync for Output
§impl Unpin for Output
§impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/fn.from_grpc_response.html b/client/fn.from_grpc_response.html
index 0f422cea122b..0ffdc48fee12 100644
--- a/client/fn.from_grpc_response.html
+++ b/client/fn.from_grpc_response.html
@@ -1 +1 @@
-from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
+from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
diff --git a/client/index.html b/client/index.html
index 3c2e9096c074..1b3ba37a3ae1 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1 @@
-client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
\ No newline at end of file
+client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
\ No newline at end of file
diff --git a/client/region/struct.RegionRequester.html b/client/region/struct.RegionRequester.html
index c52e450ec287..74fb7ac4de8e 100644
--- a/client/region/struct.RegionRequester.html
+++ b/client/region/struct.RegionRequester.html
@@ -3,7 +3,7 @@
}Fields§
§client: Client
Implementations§
Trait Implementations§
source§impl Datanode for RegionRequester
Trait Implementations§
source§impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
Handles DML, and DDL requests.source§fn handle_query<'life0, 'async_trait>(
&'life0 self,
request: QueryRequest
-) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
§impl !RefUnwindSafe for RegionRequester
§impl Send for RegionRequester
§impl Sync for RegionRequester
§impl Unpin for RegionRequester
§impl !UnwindSafe for RegionRequester
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/struct.RecordBatches.html b/client/struct.RecordBatches.html
new file mode 100644
index 000000000000..d4b5134bef55
--- /dev/null
+++ b/client/struct.RecordBatches.html
@@ -0,0 +1,134 @@
+RecordBatches in client - Rust Struct client::RecordBatches
pub struct RecordBatches {
+ pub(crate) schema: Arc<Schema, Global>,
+ pub(crate) batches: Vec<RecordBatch, Global>,
+}
Fields§
§schema: Arc<Schema, Global>
§batches: Vec<RecordBatch, Global>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema, Global>,
+ columns: I
+) -> Result<RecordBatches, Error>where
+ I: IntoIterator<Item = Arc<dyn Vector, Global>>,
pub async fn try_collect(
+ stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
+) -> impl Future<Output = 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, Global>,
+ batches: Vec<RecordBatch, Global>
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema, Global>
pub fn take(self) -> Vec<RecordBatch, Global>
pub fn as_stream(
+ &self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
pub fn into_df_stream(
+ self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, DataFusionError>> + Send, Global>>
Trait Implementations§
§impl Debug for RecordBatches
§impl IntoIterator for RecordBatches
§type IntoIter = IntoIter<<RecordBatches as IntoIterator>::Item, Global>
Which kind of iterator are we turning this into?§fn into_iter(self) -> <RecordBatches as IntoIterator>::IntoIter
Creates an iterator from a value. Read more§impl PartialEq<RecordBatches> for RecordBatches
§fn eq(&self, other: &RecordBatches) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.§impl StructuralPartialEq for RecordBatches
Auto Trait Implementations§
§impl !RefUnwindSafe for RecordBatches
§impl Send for RecordBatches
§impl Sync for RecordBatches
§impl Unpin for RecordBatches
§impl !UnwindSafe for RecordBatches
Blanket Implementations§
§impl<I> BidiIterator for Iwhere
+ I: IntoIterator,
+ <I as IntoIterator>::IntoIter: DoubleEndedIterator,
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/type.SendableRecordBatchStream.html b/client/type.SendableRecordBatchStream.html
new file mode 100644
index 000000000000..df7268aab19a
--- /dev/null
+++ b/client/type.SendableRecordBatchStream.html
@@ -0,0 +1 @@
+SendableRecordBatchStream in client - Rust
\ No newline at end of file
diff --git a/common_grpc_expr/alter/fn.alter_expr_to_request.html b/common_grpc_expr/alter/fn.alter_expr_to_request.html
index 63f2342d02da..1850a92935fc 100644
--- a/common_grpc_expr/alter/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/alter/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr::alter - Rust Function common_grpc_expr::alter::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/alter/index.html b/common_grpc_expr/alter/index.html
index bd7e5b33fbcf..4206ec54f54a 100644
--- a/common_grpc_expr/alter/index.html
+++ b/common_grpc_expr/alter/index.html
@@ -1 +1 @@
-common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/delete/fn.to_table_delete_request.html b/common_grpc_expr/delete/fn.to_table_delete_request.html
index 17bb5cee292b..4d6dd1ad4737 100644
--- a/common_grpc_expr/delete/fn.to_table_delete_request.html
+++ b/common_grpc_expr/delete/fn.to_table_delete_request.html
@@ -2,4 +2,4 @@
catalog_name: &str,
schema_name: &str,
request: DeleteRequest
-) -> Result<DeleteRequest>
\ No newline at end of file
+) -> Result<DeleteRequest>
\ No newline at end of file
diff --git a/common_grpc_expr/fn.alter_expr_to_request.html b/common_grpc_expr/fn.alter_expr_to_request.html
index fb020673c315..e83fe76ebb26 100644
--- a/common_grpc_expr/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr - Rust Function common_grpc_expr::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/index.html b/common_grpc_expr/index.html
index 123b65c2895b..3fd0656e8b4a 100644
--- a/common_grpc_expr/index.html
+++ b/common_grpc_expr/index.html
@@ -1 +1 @@
-common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
index 36f3cb9ff049..d204bc70ab7b 100644
--- a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
+++ b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
@@ -1,7 +1,7 @@
build_create_expr_from_insertion in common_grpc_expr::insert - Rust Function common_grpc_expr::insert::build_create_expr_from_insertion
source · pub fn build_create_expr_from_insertion(
catalog_name: &str,
schema_name: &str,
- table_id: Option<TableId>,
+ table_id: Option<TableId>,
table_name: &str,
columns: &[Column],
engine: &str
diff --git a/common_grpc_expr/util/fn.build_create_table_expr.html b/common_grpc_expr/util/fn.build_create_table_expr.html
index e78b4de945b9..76a2b47b82aa 100644
--- a/common_grpc_expr/util/fn.build_create_table_expr.html
+++ b/common_grpc_expr/util/fn.build_create_table_expr.html
@@ -1,6 +1,6 @@
build_create_table_expr in common_grpc_expr::util - Rust Function common_grpc_expr::util::build_create_table_expr
source · pub fn build_create_table_expr(
- table_id: Option<TableId>,
- table_name: &TableReference<'_>,
+ table_id: Option<TableId>,
+ table_name: &TableReference<'_>,
column_exprs: Vec<ColumnExpr<'_>>,
engine: &str,
desc: &str
diff --git a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
index 13feb0240fbf..94e9334f09a2 100644
--- a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
+++ b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
@@ -1,7 +1,7 @@
DummyCacheInvalidator in common_meta::cache_invalidator - Rust pub struct DummyCacheInvalidator;
Trait Implementations§
source§impl CacheInvalidator for DummyCacheInvalidator
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
- _table_id: TableId
+ _table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/cache_invalidator/trait.CacheInvalidator.html b/common_meta/cache_invalidator/trait.CacheInvalidator.html
index dc6e8864c3a7..004d340a376a 100644
--- a/common_meta/cache_invalidator/trait.CacheInvalidator.html
+++ b/common_meta/cache_invalidator/trait.CacheInvalidator.html
@@ -3,7 +3,7 @@
fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
@@ -19,7 +19,7 @@
}Required Methods§
sourcefn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
index 625083846c6d..4e32e147c5db 100644
--- a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
+++ b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
@@ -1,5 +1,5 @@
create_proto_alter_kind in common_meta::ddl::alter_table - Rust Function common_meta::ddl::alter_table::create_proto_alter_kind
source · pub fn create_proto_alter_kind(
- table_info: &RawTableInfo,
+ table_info: &RawTableInfo,
alter_kind: &Kind
) -> Result<(Option<Kind>, Option<ColumnId>)>
Expand description
Creates region proto alter kind from table_info
and alter_kind
.
Returns the kind and next column id if it adds new columns.
diff --git a/common_meta/ddl/alter_table/struct.AlterTableData.html b/common_meta/ddl/alter_table/struct.AlterTableData.html
index f9a58a4e56bc..018ff5a55e63 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableData.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableData.html
@@ -11,7 +11,7 @@
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
cluster_id: u64,
next_column_id: Option<ColumnId>
-) -> Selfsourcefn table_ref(&self) -> TableReference<'_>
sourcefn table_id(&self) -> TableId
sourcefn table_info(&self) -> &RawTableInfo
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for AlterTableData
§impl Send for AlterTableData
§impl Sync for AlterTableData
§impl Unpin for AlterTableData
§impl UnwindSafe for AlterTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
index 473eaaaee000..6a100fc8420b 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
@@ -17,8 +17,8 @@
) -> Result<()>
Update table metadata for rename table operation.
sourceasync fn on_update_metadata_for_alter(
&self,
- new_table_info: RawTableInfo
-) -> Result<()>
sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
+ new_table_info: RawTableInfo
+) -> Result<()>sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
sourceasync fn on_broadcast(&mut self) -> Result<Status>
Broadcasts the invalidating table cache instructions.
sourcefn lock_key_inner(&self) -> Vec<String>
Trait Implementations§
source§impl Procedure for AlterTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff --git a/common_meta/ddl/create_table/struct.CreateTableData.html b/common_meta/ddl/create_table/struct.CreateTableData.html
index 2e5e27fd7eb4..4330b2fbd1af 100644
--- a/common_meta/ddl/create_table/struct.CreateTableData.html
+++ b/common_meta/ddl/create_table/struct.CreateTableData.html
@@ -3,7 +3,7 @@
pub task: CreateTableTask,
pub region_routes: Vec<RegionRoute>,
pub cluster_id: u64,
-}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
source§impl CreateTableData
sourcefn table_ref(&self) -> TableReference<'_>
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for CreateTableData
§impl Send for CreateTableData
§impl Sync for CreateTableData
§impl Unpin for CreateTableData
§impl UnwindSafe for CreateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/create_table/struct.CreateTableProcedure.html b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
index b71e4a8436f9..9a2a1de73fad 100644
--- a/common_meta/ddl/create_table/struct.CreateTableProcedure.html
+++ b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
@@ -6,7 +6,7 @@
task: CreateTableTask,
region_routes: Vec<RegionRoute>,
context: DdlContext
-) -> Self
sourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
+) -> Selfsourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
sourcepub fn create_region_request_template(&self) -> Result<PbCreateRegionRequest>
sourcepub async fn on_datanode_create_regions(&mut self) -> Result<Status>
sourceasync fn on_create_metadata(&self) -> Result<Status>
Trait Implementations§
source§impl Procedure for CreateTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_ctx: &'life1 ProcedureContext
diff --git a/common_meta/ddl/drop_table/struct.DropTableData.html b/common_meta/ddl/drop_table/struct.DropTableData.html
index 46e3a21db8cd..2b91fa24c713 100644
--- a/common_meta/ddl/drop_table/struct.DropTableData.html
+++ b/common_meta/ddl/drop_table/struct.DropTableData.html
@@ -9,7 +9,7 @@
task: DropTableTask,
table_route_value: DeserializedValueWithBytes<TableRouteValue>,
table_info_value: DeserializedValueWithBytes<TableInfoValue>
-) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for DropTableData
§impl Send for DropTableData
§impl Sync for DropTableData
§impl Unpin for DropTableData
§impl UnwindSafe for DropTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/trait.TableMetadataAllocator.html b/common_meta/ddl/trait.TableMetadataAllocator.html
index b095be070299..36cbad59636a 100644
--- a/common_meta/ddl/trait.TableMetadataAllocator.html
+++ b/common_meta/ddl/trait.TableMetadataAllocator.html
@@ -3,7 +3,7 @@
fn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>
where Self: 'async_trait,
@@ -14,7 +14,7 @@
}Required Methods§
sourcefn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/common_meta/ddl/truncate_table/struct.TruncateTableData.html b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
index 7363b523f063..708e5561808d 100644
--- a/common_meta/ddl/truncate_table/struct.TruncateTableData.html
+++ b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
@@ -9,7 +9,7 @@
task: TruncateTableTask,
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
region_routes: Vec<RegionRoute>
-) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for TruncateTableData
§impl Send for TruncateTableData
§impl Sync for TruncateTableData
§impl Unpin for TruncateTableData
§impl UnwindSafe for TruncateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/error/enum.Error.html b/common_meta/error/enum.Error.html
index 541ce4833b77..1a92776ff7a1 100644
--- a/common_meta/error/enum.Error.html
+++ b/common_meta/error/enum.Error.html
@@ -44,12 +44,12 @@
},
BuildTableMeta {
table_name: String,
- error: TableMetaBuilderError,
+ error: TableMetaBuilderError,
location: Location,
},
Table {
location: Location,
- source: Error,
+ source: Error,
},
TableRouteNotFound {
table_name: String,
@@ -145,7 +145,7 @@
location: Location,
},
MoveRegion {
- table_id: TableId,
+ table_id: TableId,
region: RegionNumber,
err_msg: String,
location: Location,
@@ -169,7 +169,7 @@
RetryLater {
source: BoxedError,
},
-
}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
+}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
sourcepub fn is_retry_later(&self) -> bool
Determine whether it is a retry later type through StatusCode
Trait Implementations§
source§impl Error for Errorwhere
Self: Debug + Display,
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§fn output_msg(&self) -> Stringwhere
Self: Sized,
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0> IntoError<Error> for CacheNotGetSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for CatalogAlreadyExistsSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -206,7 +206,7 @@
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0> IntoError<Error> for NextSequenceSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -245,7 +245,7 @@
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for TableRouteNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
+ Error: Error + ErrorCompat,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSnafu<__T0>where
Error: Error + ErrorCompat,
diff --git a/common_meta/error/struct.BuildTableMetaSnafu.html b/common_meta/error/struct.BuildTableMetaSnafu.html
index 848719b5d875..de793f19e317 100644
--- a/common_meta/error/struct.BuildTableMetaSnafu.html
+++ b/common_meta/error/struct.BuildTableMetaSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::BuildTableMeta
variant
Fields§
§table_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for BuildTableMetaSnafu<__T0>
source§fn clone(&self) -> BuildTableMetaSnafu<__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 BuildTableMetaSnafu<__T0>
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for BuildTableMetaSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for BuildTableMetaSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for BuildTableMetaSnafu<__T0>where
diff --git a/common_meta/error/struct.MoveRegionSnafu.html b/common_meta/error/struct.MoveRegionSnafu.html
index 7225b5d448e7..33e45ac82117 100644
--- a/common_meta/error/struct.MoveRegionSnafu.html
+++ b/common_meta/error/struct.MoveRegionSnafu.html
@@ -4,16 +4,16 @@
pub err_msg: __T2,
}Expand description
SNAFU context selector for the Error::MoveRegion
variant
Fields§
§table_id: __T0
§region: __T1
§err_msg: __T2
Implementations§
Trait Implementations§
source§impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for MoveRegionSnafu<__T0, __T1, __T2>
source§fn clone(&self) -> MoveRegionSnafu<__T0, __T1, __T2>
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, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for MoveRegionSnafu<__T0, __T1, __T2>
Auto Trait Implementations§
§impl<__T0, __T1, __T2> RefUnwindSafe for MoveRegionSnafu<__T0, __T1, __T2>where
__T0: RefUnwindSafe,
diff --git a/common_meta/error/struct.TableSnafu.html b/common_meta/error/struct.TableSnafu.html
index d9c91350619f..a2c1ecb55273 100644
--- a/common_meta/error/struct.TableSnafu.html
+++ b/common_meta/error/struct.TableSnafu.html
@@ -1,6 +1,6 @@
TableSnafu in common_meta::error - Rust Struct common_meta::error::TableSnafu
source · pub struct TableSnafu;
Expand description
SNAFU context selector for the Error::Table
variant
Trait Implementations§
source§impl Clone for TableSnafu
source§fn clone(&self) -> TableSnafu
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 TableSnafu
source§impl Copy for TableSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
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/common_meta/instruction/enum.Instruction.html b/common_meta/instruction/enum.Instruction.html
index 7a20097062e3..f2b72df49f65 100644
--- a/common_meta/instruction/enum.Instruction.html
+++ b/common_meta/instruction/enum.Instruction.html
@@ -1,9 +1,9 @@
Instruction in common_meta::instruction - Rust Enum common_meta::instruction::Instruction
source · pub enum Instruction {
OpenRegion(OpenRegion),
CloseRegion(RegionIdent),
- InvalidateTableIdCache(TableId),
+ InvalidateTableIdCache(TableId),
InvalidateTableNameCache(TableName),
-}
Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for Instruction
Auto Trait Implementations§
§impl RefUnwindSafe for Instruction
§impl Send for Instruction
§impl Sync for Instruction
§impl Unpin for Instruction
§impl UnwindSafe for Instruction
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/instruction/struct.RegionIdent.html b/common_meta/instruction/struct.RegionIdent.html
index 834642f1f56d..e1c0821020fb 100644
--- a/common_meta/instruction/struct.RegionIdent.html
+++ b/common_meta/instruction/struct.RegionIdent.html
@@ -1,10 +1,10 @@
RegionIdent in common_meta::instruction - Rust Struct common_meta::instruction::RegionIdent
source · pub struct RegionIdent {
pub cluster_id: ClusterId,
pub datanode_id: DatanodeId,
- pub table_id: TableId,
+ pub table_id: TableId,
pub region_number: RegionNumber,
pub engine: String,
-}
Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for RegionIdent
source§impl Hash for RegionIdent
source§impl PartialEq<RegionIdent> for RegionIdent
source§fn eq(&self, other: &RegionIdent) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableKey.html b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
index 831cc2a090bc..eb2071d8b654 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableKey.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
@@ -1,7 +1,7 @@
DatanodeTableKey in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableKey
source · pub struct DatanodeTableKey {
datanode_id: DatanodeId,
- table_id: TableId,
-}
Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
Blanket Implementations§
source§impl<T> Any for Twhere
+ table_id: TableId,
+}Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
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/common_meta/key/datanode_table/struct.DatanodeTableManager.html b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
index b1e8ab3c4b74..020d5420db60 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableManager.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
@@ -8,7 +8,7 @@
datanode_id: DatanodeId
) -> BoxStream<'static, Result<DatanodeTableValue>>
sourcepub fn build_create_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
engine: &str,
region_storage_path: &str,
region_options: HashMap<String, String>,
@@ -16,7 +16,7 @@
) -> Result<Txn>
Builds the create datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub(crate) fn build_update_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_region_distribution: RegionDistribution,
new_region_distribution: RegionDistribution,
@@ -24,7 +24,7 @@
) -> Result<Txn>
Builds the update datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub fn build_delete_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
distribution: RegionDistribution
) -> Result<Txn>
Builds the delete datanode table transactions. It only executes while the primary keys comparing successes.
Auto Trait Implementations§
§impl !RefUnwindSafe for DatanodeTableManager
§impl Send for DatanodeTableManager
§impl Sync for DatanodeTableManager
§impl Unpin for DatanodeTableManager
§impl !UnwindSafe for DatanodeTableManager
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableValue.html b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
index a32244212294..82d59648fcfd 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableValue.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
@@ -1,10 +1,10 @@
DatanodeTableValue in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableValue
source · pub struct DatanodeTableValue {
- pub table_id: TableId,
+ pub table_id: TableId,
pub regions: Vec<RegionNumber>,
pub region_info: RegionInfo,
version: u64,
-}
Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
- table_id: TableId,
+}Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
+ table_id: TableId,
regions: Vec<RegionNumber>,
region_info: RegionInfo
) -> Self
source§impl DatanodeTableValue
sourcepub fn try_from_raw_value(raw_value: &[u8]) -> Result<Self>
sourcepub fn try_as_raw_value(&self) -> Result<Vec<u8>>
Trait Implementations§
source§impl Clone for DatanodeTableValue
source§fn clone(&self) -> DatanodeTableValue
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 DatanodeTableValue
source§impl<'de> Deserialize<'de> for DatanodeTableValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
diff --git a/common_meta/key/struct.TableMetadataManager.html b/common_meta/key/struct.TableMetadataManager.html
index 6342e3e5e772..ca0e2101e96e 100644
--- a/common_meta/key/struct.TableMetadataManager.html
+++ b/common_meta/key/struct.TableMetadataManager.html
@@ -8,10 +8,10 @@
kv_backend: KvBackendRef,
}Fields§
§table_name_manager: TableNameManager
§table_info_manager: TableInfoManager
§datanode_table_manager: DatanodeTableManager
§catalog_manager: CatalogManager
§schema_manager: SchemaManager
§table_route_manager: TableRouteManager
§kv_backend: KvBackendRef
Implementations§
source§impl TableMetadataManager
sourcepub fn new(kv_backend: KvBackendRef) -> Self
sourcepub async fn init(&self) -> Result<()>
sourcepub fn table_name_manager(&self) -> &TableNameManager
sourcepub fn table_info_manager(&self) -> &TableInfoManager
sourcepub fn datanode_table_manager(&self) -> &DatanodeTableManager
sourcepub fn catalog_manager(&self) -> &CatalogManager
sourcepub fn schema_manager(&self) -> &SchemaManager
sourcepub fn table_route_manager(&self) -> &TableRouteManager
sourcepub fn kv_backend(&self) -> &KvBackendRef
sourcepub async fn get_full_table_info(
&self,
- table_id: TableId
+ table_id: TableId
) -> Result<(Option<DeserializedValueWithBytes<TableInfoValue>>, Option<DeserializedValueWithBytes<TableRouteValue>>)>
sourcepub async fn create_table_metadata(
&self,
- table_info: RawTableInfo,
+ table_info: RawTableInfo,
region_routes: Vec<RegionRoute>
) -> Result<()>
Creates metadata for table and returns an error if different metadata exists.
The caller MUST ensure it has the exclusive access to TableNameKey
.
@@ -31,11 +31,11 @@
sourcepub async fn update_table_info(
&self,
current_table_info_value: DeserializedValueWithBytes<TableInfoValue>,
- new_table_info: RawTableInfo
+ new_table_info: RawTableInfo
) -> Result<()>
Updates table info and returns an error if different metadata exists.
sourcepub async fn update_table_route(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_table_route_value: DeserializedValueWithBytes<TableRouteValue>,
new_region_routes: Vec<RegionRoute>,
diff --git a/common_meta/key/table_info/struct.TableInfoKey.html b/common_meta/key/table_info/struct.TableInfoKey.html
index a65b5c4c9471..f974bb124def 100644
--- a/common_meta/key/table_info/struct.TableInfoKey.html
+++ b/common_meta/key/table_info/struct.TableInfoKey.html
@@ -1,6 +1,6 @@
TableInfoKey in common_meta::key::table_info - Rust Struct common_meta::key::table_info::
fn conv<T>(self) -> Twhere
diff --git a/catalog/error/struct.OpenTableSnafu.html b/catalog/error/struct.OpenTableSnafu.html
index 83c001bda093..84f43843dc99 100644
--- a/catalog/error/struct.OpenTableSnafu.html
+++ b/catalog/error/struct.OpenTableSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::OpenTable
variant
Fields§
§table_id: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for OpenTableSnafu<__T0>
source§fn clone(&self) -> OpenTableSnafu<__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 OpenTableSnafu<__T0>
source§impl<__T0> IntoError<Error> for OpenTableSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
source§impl<__T0: Copy> Copy for OpenTableSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for OpenTableSnafu<__T0>where
+ __T0: Into<TableId>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for OpenTableSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for OpenTableSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for OpenTableSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for OpenTableSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for OpenTableSnafu<__T0>where
diff --git a/catalog/error/struct.SystemCatalogTableScanSnafu.html b/catalog/error/struct.SystemCatalogTableScanSnafu.html
index a00f76149aaf..fadce0cea3da 100644
--- a/catalog/error/struct.SystemCatalogTableScanSnafu.html
+++ b/catalog/error/struct.SystemCatalogTableScanSnafu.html
@@ -1,6 +1,6 @@
SystemCatalogTableScanSnafu in catalog::error - Rust Struct catalog::error::SystemCatalogTableScanSnafu
source · pub struct SystemCatalogTableScanSnafu;
Expand description
SNAFU context selector for the Error::SystemCatalogTableScan
variant
Trait Implementations§
source§impl Clone for SystemCatalogTableScanSnafu
source§fn clone(&self) -> SystemCatalogTableScanSnafu
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 SystemCatalogTableScanSnafu
source§impl Copy for SystemCatalogTableScanSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for SystemCatalogTableScanSnafu
§impl Send for SystemCatalogTableScanSnafu
§impl Sync for SystemCatalogTableScanSnafu
§impl Unpin for SystemCatalogTableScanSnafu
§impl UnwindSafe for SystemCatalogTableScanSnafu
Blanket Implementations§
source§impl Copy for SystemCatalogTableScanSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for SystemCatalogTableScanSnafu
§impl Send for SystemCatalogTableScanSnafu
§impl Sync for SystemCatalogTableScanSnafu
§impl Unpin for SystemCatalogTableScanSnafu
§impl UnwindSafe for SystemCatalogTableScanSnafu
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/error/struct.TableEngineNotFoundSnafu.html b/catalog/error/struct.TableEngineNotFoundSnafu.html
index a8d218008b2d..177f8f49fc2c 100644
--- a/catalog/error/struct.TableEngineNotFoundSnafu.html
+++ b/catalog/error/struct.TableEngineNotFoundSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::TableEngineNotFound
variant
Fields§
§engine_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for TableEngineNotFoundSnafu<__T0>
source§fn clone(&self) -> TableEngineNotFoundSnafu<__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 TableEngineNotFoundSnafu<__T0>
source§impl<__T0> IntoError<Error> for TableEngineNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
source§impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for TableEngineNotFoundSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for TableEngineNotFoundSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for TableEngineNotFoundSnafu<__T0>where
diff --git a/catalog/error/struct.TableSchemaMismatchSnafu.html b/catalog/error/struct.TableSchemaMismatchSnafu.html
index 141d7bcece45..2d021adfe832 100644
--- a/catalog/error/struct.TableSchemaMismatchSnafu.html
+++ b/catalog/error/struct.TableSchemaMismatchSnafu.html
@@ -1,6 +1,6 @@
TableSchemaMismatchSnafu in catalog::error - Rust Struct catalog::error::TableSchemaMismatchSnafu
source · pub struct TableSchemaMismatchSnafu;
Expand description
SNAFU context selector for the Error::TableSchemaMismatch
variant
Trait Implementations§
source§impl Clone for TableSchemaMismatchSnafu
source§fn clone(&self) -> TableSchemaMismatchSnafu
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 TableSchemaMismatchSnafu
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
Blanket Implementations§
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
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.InformationSchemaColumns.html b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
index 45892b4c2c9f..fdbf90c162df 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumns.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaColumns
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcefn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaColumnsBuilder
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/struct.InformationSchemaProvider.html b/catalog/information_schema/struct.InformationSchemaProvider.html
index 741ca07a1fac..d65c01d75e79 100644
--- a/catalog/information_schema/struct.InformationSchemaProvider.html
+++ b/catalog/information_schema/struct.InformationSchemaProvider.html
@@ -7,15 +7,15 @@
) -> Self
sourcepub fn build(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> HashMap<String, TableRef>
sourcepub fn table(&self, name: &str) -> Option<TableRef>
sourcefn information_table(
&self,
name: &str
) -> Option<Arc<dyn InformationTable + Send + Sync>>
sourcefn table_info(
catalog_name: String,
table: &Arc<dyn InformationTable + Send + Sync>
-) -> TableInfoRef
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
Blanket Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
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.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index 73e111ed49d8..600a4d513cc8 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcepub(crate) fn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaTablesBuilder
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 fc2e7f26baaf..88ee74cf9d15 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -20,7 +20,7 @@
catalog_name: &str,
schema_name: &str,
table_name: &str,
- table_type: TableType,
+ table_type: TableType,
table_id: Option<u32>,
engine: Option<&str>
)
sourcefn finish(&mut self) -> Result<RecordBatch>
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTablesBuilder
§impl Send for InformationSchemaTablesBuilder
§impl Sync for InformationSchemaTablesBuilder
§impl Unpin for InformationSchemaTablesBuilder
§impl !UnwindSafe for InformationSchemaTablesBuilder
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 6050a90beb82..0cf10f8c594e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -6,5 +6,5 @@
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
+ 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
diff --git a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
index ea4fb44fea2f..8366825323a3 100644
--- a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
+++ b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
@@ -23,7 +23,7 @@
'life1: 'async_trait,source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
@@ -74,7 +74,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/kvbackend/manager/struct.SystemCatalog.html b/catalog/kvbackend/manager/struct.SystemCatalog.html
index 9eff387e8a4a..c383f8118964 100644
--- a/catalog/kvbackend/manager/struct.SystemCatalog.html
+++ b/catalog/kvbackend/manager/struct.SystemCatalog.html
@@ -11,7 +11,7 @@
catalog: &str,
schema: &str,
table_name: &str
-) -> Option<TableRef>
Trait Implementations§
source§impl Clone for SystemCatalog
source§fn clone(&self) -> SystemCatalog
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for SystemCatalog
§impl Send for SystemCatalog
§impl Sync for SystemCatalog
§impl Unpin for SystemCatalog
§impl !UnwindSafe for SystemCatalog
Blanket Implementations§
Trait Implementations§
source§impl Clone for SystemCatalog
source§fn clone(&self) -> SystemCatalog
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for SystemCatalog
§impl Send for SystemCatalog
§impl Sync for SystemCatalog
§impl Unpin for SystemCatalog
§impl !UnwindSafe for SystemCatalog
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/kvbackend/struct.KvBackendCatalogManager.html b/catalog/kvbackend/struct.KvBackendCatalogManager.html
index 239798bb5bac..bcc4e79f3030 100644
--- a/catalog/kvbackend/struct.KvBackendCatalogManager.html
+++ b/catalog/kvbackend/struct.KvBackendCatalogManager.html
@@ -23,7 +23,7 @@
'life1: 'async_trait,
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
@@ -74,7 +74,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/memory/manager/struct.MemoryCatalogManager.html b/catalog/memory/manager/struct.MemoryCatalogManager.html
index 83ced5e75e65..dd08e277d1c8 100644
--- a/catalog/memory/manager/struct.MemoryCatalogManager.html
+++ b/catalog/memory/manager/struct.MemoryCatalogManager.html
@@ -1,7 +1,7 @@
MemoryCatalogManager in catalog::memory::manager - Rust Struct catalog::memory::manager::MemoryCatalogManager
source · pub struct MemoryCatalogManager {
- catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
+ catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
}
Expand description
Simple in-memory list of catalogs
-Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
+Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
Implementations§
source§impl MemoryCatalogManager
sourcepub fn new() -> Arc<Self>
sourcepub fn with_default_setup() -> Arc<Self>
Creates a manager with some default setups
(e.g. default catalog/schema and information schema)
sourcefn schema_exist_sync(&self, catalog: &str, schema: &str) -> Result<bool>
sourcefn catalog_exist_sync(&self, catalog: &str) -> Result<bool>
sourcepub fn register_catalog_sync(&self, name: &str) -> Result<bool>
Registers a catalog if it does not exist and returns false if the schema exists.
@@ -18,7 +18,7 @@
sourcefn create_catalog_entry(
self: &Arc<Self>,
catalog: String
-) -> HashMap<String, HashMap<String, TableRef>>
Trait Implementations§
Trait Implementations§
source§impl CatalogManager for MemoryCatalogManager
source§fn schema_exists<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
catalog: &'life1 str,
schema: &'life2 str
@@ -31,7 +31,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/memory/manager/type.SchemaEntries.html b/catalog/memory/manager/type.SchemaEntries.html
index e08a73e4fce1..06ddf021ba39 100644
--- a/catalog/memory/manager/type.SchemaEntries.html
+++ b/catalog/memory/manager/type.SchemaEntries.html
@@ -1 +1 @@
-SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
+SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
diff --git a/catalog/struct.RegisterSystemTableRequest.html b/catalog/struct.RegisterSystemTableRequest.html
index 98ffda68e56e..a3007b081a96 100644
--- a/catalog/struct.RegisterSystemTableRequest.html
+++ b/catalog/struct.RegisterSystemTableRequest.html
@@ -1,5 +1,5 @@
RegisterSystemTableRequest in catalog - Rust Struct catalog::RegisterSystemTableRequest
source · pub struct RegisterSystemTableRequest {
- pub create_table_request: CreateTableRequest,
+ pub create_table_request: CreateTableRequest,
pub open_hook: Option<OpenSystemTableHook>,
}
Expand description
Register system table request:
@@ -7,7 +7,7 @@
with table ref after opening the system table
- When system table is not exists, create and register the table by create_table_request and calls open_hook with the created table.
-Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
Blanket Implementations§
Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
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/struct.RegisterTableRequest.html b/catalog/struct.RegisterTableRequest.html
index c2f30ba4aa53..91238cde5a87 100644
--- a/catalog/struct.RegisterTableRequest.html
+++ b/catalog/struct.RegisterTableRequest.html
@@ -2,9 +2,9 @@
pub catalog: String,
pub schema: String,
pub table_name: String,
- pub table_id: TableId,
- pub table: TableRef,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+ pub table: TableRef,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
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/struct.RenameTableRequest.html b/catalog/struct.RenameTableRequest.html
index c0a56b79a189..166aa7465716 100644
--- a/catalog/struct.RenameTableRequest.html
+++ b/catalog/struct.RenameTableRequest.html
@@ -3,8 +3,8 @@
pub schema: String,
pub table_name: String,
pub new_table_name: String,
- pub table_id: TableId,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
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/trait.CatalogManager.html b/catalog/trait.CatalogManager.html
index cc8091a5169e..3f057be0493b 100644
--- a/catalog/trait.CatalogManager.html
+++ b/catalog/trait.CatalogManager.html
@@ -54,7 +54,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
- ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
+ ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -107,7 +107,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/type.OpenSystemTableHook.html b/catalog/type.OpenSystemTableHook.html
index 6b2713f62a6a..1eefe22addab 100644
--- a/catalog/type.OpenSystemTableHook.html
+++ b/catalog/type.OpenSystemTableHook.html
@@ -1,2 +1,2 @@
-OpenSystemTableHook in catalog - Rust Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+OpenSystemTableHook in catalog - Rust
\ No newline at end of file
diff --git a/client/all.html b/client/all.html
index 1058c330a5ce..9bb88a75eba3 100644
--- a/client/all.html
+++ b/client/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
diff --git a/client/database/struct.Database.html b/client/database/struct.Database.html
index 1c72f65df0e4..2fe6e5e0e2fb 100644
--- a/client/database/struct.Database.html
+++ b/client/database/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/enum.Output.html b/client/enum.Output.html
new file mode 100644
index 000000000000..78dc13d76b4a
--- /dev/null
+++ b/client/enum.Output.html
@@ -0,0 +1,118 @@
+Output in client - Rust pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
§AffectedRows(usize)
§RecordBatches(RecordBatches)
§Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Output
§impl Send for Output
§impl !Sync for Output
§impl Unpin for Output
§impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/fn.from_grpc_response.html b/client/fn.from_grpc_response.html
index 0f422cea122b..0ffdc48fee12 100644
--- a/client/fn.from_grpc_response.html
+++ b/client/fn.from_grpc_response.html
@@ -1 +1 @@
-from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
+from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
diff --git a/client/index.html b/client/index.html
index 3c2e9096c074..1b3ba37a3ae1 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1 @@
-client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
\ No newline at end of file
+client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
\ No newline at end of file
diff --git a/client/region/struct.RegionRequester.html b/client/region/struct.RegionRequester.html
index c52e450ec287..74fb7ac4de8e 100644
--- a/client/region/struct.RegionRequester.html
+++ b/client/region/struct.RegionRequester.html
@@ -3,7 +3,7 @@
}Fields§
§client: Client
Implementations§
Trait Implementations§
source§impl Datanode for RegionRequester
Trait Implementations§
source§impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
Handles DML, and DDL requests.source§fn handle_query<'life0, 'async_trait>(
&'life0 self,
request: QueryRequest
-) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
§impl !RefUnwindSafe for RegionRequester
§impl Send for RegionRequester
§impl Sync for RegionRequester
§impl Unpin for RegionRequester
§impl !UnwindSafe for RegionRequester
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/struct.RecordBatches.html b/client/struct.RecordBatches.html
new file mode 100644
index 000000000000..d4b5134bef55
--- /dev/null
+++ b/client/struct.RecordBatches.html
@@ -0,0 +1,134 @@
+RecordBatches in client - Rust Struct client::RecordBatches
pub struct RecordBatches {
+ pub(crate) schema: Arc<Schema, Global>,
+ pub(crate) batches: Vec<RecordBatch, Global>,
+}
Fields§
§schema: Arc<Schema, Global>
§batches: Vec<RecordBatch, Global>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema, Global>,
+ columns: I
+) -> Result<RecordBatches, Error>where
+ I: IntoIterator<Item = Arc<dyn Vector, Global>>,
pub async fn try_collect(
+ stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
+) -> impl Future<Output = 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, Global>,
+ batches: Vec<RecordBatch, Global>
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema, Global>
pub fn take(self) -> Vec<RecordBatch, Global>
pub fn as_stream(
+ &self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
pub fn into_df_stream(
+ self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, DataFusionError>> + Send, Global>>
Trait Implementations§
§impl Debug for RecordBatches
§impl IntoIterator for RecordBatches
§type IntoIter = IntoIter<<RecordBatches as IntoIterator>::Item, Global>
Which kind of iterator are we turning this into?§fn into_iter(self) -> <RecordBatches as IntoIterator>::IntoIter
Creates an iterator from a value. Read more§impl PartialEq<RecordBatches> for RecordBatches
§fn eq(&self, other: &RecordBatches) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.§impl StructuralPartialEq for RecordBatches
Auto Trait Implementations§
§impl !RefUnwindSafe for RecordBatches
§impl Send for RecordBatches
§impl Sync for RecordBatches
§impl Unpin for RecordBatches
§impl !UnwindSafe for RecordBatches
Blanket Implementations§
§impl<I> BidiIterator for Iwhere
+ I: IntoIterator,
+ <I as IntoIterator>::IntoIter: DoubleEndedIterator,
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/type.SendableRecordBatchStream.html b/client/type.SendableRecordBatchStream.html
new file mode 100644
index 000000000000..df7268aab19a
--- /dev/null
+++ b/client/type.SendableRecordBatchStream.html
@@ -0,0 +1 @@
+SendableRecordBatchStream in client - Rust
\ No newline at end of file
diff --git a/common_grpc_expr/alter/fn.alter_expr_to_request.html b/common_grpc_expr/alter/fn.alter_expr_to_request.html
index 63f2342d02da..1850a92935fc 100644
--- a/common_grpc_expr/alter/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/alter/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr::alter - Rust Function common_grpc_expr::alter::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/alter/index.html b/common_grpc_expr/alter/index.html
index bd7e5b33fbcf..4206ec54f54a 100644
--- a/common_grpc_expr/alter/index.html
+++ b/common_grpc_expr/alter/index.html
@@ -1 +1 @@
-common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/delete/fn.to_table_delete_request.html b/common_grpc_expr/delete/fn.to_table_delete_request.html
index 17bb5cee292b..4d6dd1ad4737 100644
--- a/common_grpc_expr/delete/fn.to_table_delete_request.html
+++ b/common_grpc_expr/delete/fn.to_table_delete_request.html
@@ -2,4 +2,4 @@
catalog_name: &str,
schema_name: &str,
request: DeleteRequest
-) -> Result<DeleteRequest>
\ No newline at end of file
+) -> Result<DeleteRequest>
\ No newline at end of file
diff --git a/common_grpc_expr/fn.alter_expr_to_request.html b/common_grpc_expr/fn.alter_expr_to_request.html
index fb020673c315..e83fe76ebb26 100644
--- a/common_grpc_expr/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr - Rust Function common_grpc_expr::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/index.html b/common_grpc_expr/index.html
index 123b65c2895b..3fd0656e8b4a 100644
--- a/common_grpc_expr/index.html
+++ b/common_grpc_expr/index.html
@@ -1 +1 @@
-common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
index 36f3cb9ff049..d204bc70ab7b 100644
--- a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
+++ b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
@@ -1,7 +1,7 @@
build_create_expr_from_insertion in common_grpc_expr::insert - Rust Function common_grpc_expr::insert::build_create_expr_from_insertion
source · pub fn build_create_expr_from_insertion(
catalog_name: &str,
schema_name: &str,
- table_id: Option<TableId>,
+ table_id: Option<TableId>,
table_name: &str,
columns: &[Column],
engine: &str
diff --git a/common_grpc_expr/util/fn.build_create_table_expr.html b/common_grpc_expr/util/fn.build_create_table_expr.html
index e78b4de945b9..76a2b47b82aa 100644
--- a/common_grpc_expr/util/fn.build_create_table_expr.html
+++ b/common_grpc_expr/util/fn.build_create_table_expr.html
@@ -1,6 +1,6 @@
build_create_table_expr in common_grpc_expr::util - Rust Function common_grpc_expr::util::build_create_table_expr
source · pub fn build_create_table_expr(
- table_id: Option<TableId>,
- table_name: &TableReference<'_>,
+ table_id: Option<TableId>,
+ table_name: &TableReference<'_>,
column_exprs: Vec<ColumnExpr<'_>>,
engine: &str,
desc: &str
diff --git a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
index 13feb0240fbf..94e9334f09a2 100644
--- a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
+++ b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
@@ -1,7 +1,7 @@
DummyCacheInvalidator in common_meta::cache_invalidator - Rust pub struct DummyCacheInvalidator;
Trait Implementations§
source§impl CacheInvalidator for DummyCacheInvalidator
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
- _table_id: TableId
+ _table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/cache_invalidator/trait.CacheInvalidator.html b/common_meta/cache_invalidator/trait.CacheInvalidator.html
index dc6e8864c3a7..004d340a376a 100644
--- a/common_meta/cache_invalidator/trait.CacheInvalidator.html
+++ b/common_meta/cache_invalidator/trait.CacheInvalidator.html
@@ -3,7 +3,7 @@
fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
@@ -19,7 +19,7 @@
}Required Methods§
sourcefn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
index 625083846c6d..4e32e147c5db 100644
--- a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
+++ b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
@@ -1,5 +1,5 @@
create_proto_alter_kind in common_meta::ddl::alter_table - Rust Function common_meta::ddl::alter_table::create_proto_alter_kind
source · pub fn create_proto_alter_kind(
- table_info: &RawTableInfo,
+ table_info: &RawTableInfo,
alter_kind: &Kind
) -> Result<(Option<Kind>, Option<ColumnId>)>
Expand description
Creates region proto alter kind from table_info
and alter_kind
.
Returns the kind and next column id if it adds new columns.
diff --git a/common_meta/ddl/alter_table/struct.AlterTableData.html b/common_meta/ddl/alter_table/struct.AlterTableData.html
index f9a58a4e56bc..018ff5a55e63 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableData.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableData.html
@@ -11,7 +11,7 @@
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
cluster_id: u64,
next_column_id: Option<ColumnId>
-) -> Selfsourcefn table_ref(&self) -> TableReference<'_>
sourcefn table_id(&self) -> TableId
sourcefn table_info(&self) -> &RawTableInfo
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for AlterTableData
§impl Send for AlterTableData
§impl Sync for AlterTableData
§impl Unpin for AlterTableData
§impl UnwindSafe for AlterTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
index 473eaaaee000..6a100fc8420b 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
@@ -17,8 +17,8 @@
) -> Result<()>
Update table metadata for rename table operation.
sourceasync fn on_update_metadata_for_alter(
&self,
- new_table_info: RawTableInfo
-) -> Result<()>
sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
+ new_table_info: RawTableInfo
+) -> Result<()>sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
sourceasync fn on_broadcast(&mut self) -> Result<Status>
Broadcasts the invalidating table cache instructions.
sourcefn lock_key_inner(&self) -> Vec<String>
Trait Implementations§
source§impl Procedure for AlterTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff --git a/common_meta/ddl/create_table/struct.CreateTableData.html b/common_meta/ddl/create_table/struct.CreateTableData.html
index 2e5e27fd7eb4..4330b2fbd1af 100644
--- a/common_meta/ddl/create_table/struct.CreateTableData.html
+++ b/common_meta/ddl/create_table/struct.CreateTableData.html
@@ -3,7 +3,7 @@
pub task: CreateTableTask,
pub region_routes: Vec<RegionRoute>,
pub cluster_id: u64,
-}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
source§impl CreateTableData
sourcefn table_ref(&self) -> TableReference<'_>
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for CreateTableData
§impl Send for CreateTableData
§impl Sync for CreateTableData
§impl Unpin for CreateTableData
§impl UnwindSafe for CreateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/create_table/struct.CreateTableProcedure.html b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
index b71e4a8436f9..9a2a1de73fad 100644
--- a/common_meta/ddl/create_table/struct.CreateTableProcedure.html
+++ b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
@@ -6,7 +6,7 @@
task: CreateTableTask,
region_routes: Vec<RegionRoute>,
context: DdlContext
-) -> Self
sourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
+) -> Selfsourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
sourcepub fn create_region_request_template(&self) -> Result<PbCreateRegionRequest>
sourcepub async fn on_datanode_create_regions(&mut self) -> Result<Status>
sourceasync fn on_create_metadata(&self) -> Result<Status>
Trait Implementations§
source§impl Procedure for CreateTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_ctx: &'life1 ProcedureContext
diff --git a/common_meta/ddl/drop_table/struct.DropTableData.html b/common_meta/ddl/drop_table/struct.DropTableData.html
index 46e3a21db8cd..2b91fa24c713 100644
--- a/common_meta/ddl/drop_table/struct.DropTableData.html
+++ b/common_meta/ddl/drop_table/struct.DropTableData.html
@@ -9,7 +9,7 @@
task: DropTableTask,
table_route_value: DeserializedValueWithBytes<TableRouteValue>,
table_info_value: DeserializedValueWithBytes<TableInfoValue>
-) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for DropTableData
§impl Send for DropTableData
§impl Sync for DropTableData
§impl Unpin for DropTableData
§impl UnwindSafe for DropTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/trait.TableMetadataAllocator.html b/common_meta/ddl/trait.TableMetadataAllocator.html
index b095be070299..36cbad59636a 100644
--- a/common_meta/ddl/trait.TableMetadataAllocator.html
+++ b/common_meta/ddl/trait.TableMetadataAllocator.html
@@ -3,7 +3,7 @@
fn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>
where Self: 'async_trait,
@@ -14,7 +14,7 @@
}Required Methods§
sourcefn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/common_meta/ddl/truncate_table/struct.TruncateTableData.html b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
index 7363b523f063..708e5561808d 100644
--- a/common_meta/ddl/truncate_table/struct.TruncateTableData.html
+++ b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
@@ -9,7 +9,7 @@
task: TruncateTableTask,
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
region_routes: Vec<RegionRoute>
-) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for TruncateTableData
§impl Send for TruncateTableData
§impl Sync for TruncateTableData
§impl Unpin for TruncateTableData
§impl UnwindSafe for TruncateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/error/enum.Error.html b/common_meta/error/enum.Error.html
index 541ce4833b77..1a92776ff7a1 100644
--- a/common_meta/error/enum.Error.html
+++ b/common_meta/error/enum.Error.html
@@ -44,12 +44,12 @@
},
BuildTableMeta {
table_name: String,
- error: TableMetaBuilderError,
+ error: TableMetaBuilderError,
location: Location,
},
Table {
location: Location,
- source: Error,
+ source: Error,
},
TableRouteNotFound {
table_name: String,
@@ -145,7 +145,7 @@
location: Location,
},
MoveRegion {
- table_id: TableId,
+ table_id: TableId,
region: RegionNumber,
err_msg: String,
location: Location,
@@ -169,7 +169,7 @@
RetryLater {
source: BoxedError,
},
-
}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
+}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
sourcepub fn is_retry_later(&self) -> bool
Determine whether it is a retry later type through StatusCode
Trait Implementations§
source§impl Error for Errorwhere
Self: Debug + Display,
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§fn output_msg(&self) -> Stringwhere
Self: Sized,
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0> IntoError<Error> for CacheNotGetSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for CatalogAlreadyExistsSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -206,7 +206,7 @@
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0> IntoError<Error> for NextSequenceSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -245,7 +245,7 @@
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for TableRouteNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
+ Error: Error + ErrorCompat,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSnafu<__T0>where
Error: Error + ErrorCompat,
diff --git a/common_meta/error/struct.BuildTableMetaSnafu.html b/common_meta/error/struct.BuildTableMetaSnafu.html
index 848719b5d875..de793f19e317 100644
--- a/common_meta/error/struct.BuildTableMetaSnafu.html
+++ b/common_meta/error/struct.BuildTableMetaSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::BuildTableMeta
variant
Fields§
§table_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for BuildTableMetaSnafu<__T0>
source§fn clone(&self) -> BuildTableMetaSnafu<__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 BuildTableMetaSnafu<__T0>
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for BuildTableMetaSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for BuildTableMetaSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for BuildTableMetaSnafu<__T0>where
diff --git a/common_meta/error/struct.MoveRegionSnafu.html b/common_meta/error/struct.MoveRegionSnafu.html
index 7225b5d448e7..33e45ac82117 100644
--- a/common_meta/error/struct.MoveRegionSnafu.html
+++ b/common_meta/error/struct.MoveRegionSnafu.html
@@ -4,16 +4,16 @@
pub err_msg: __T2,
}Expand description
SNAFU context selector for the Error::MoveRegion
variant
Fields§
§table_id: __T0
§region: __T1
§err_msg: __T2
Implementations§
Trait Implementations§
source§impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for MoveRegionSnafu<__T0, __T1, __T2>
source§fn clone(&self) -> MoveRegionSnafu<__T0, __T1, __T2>
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, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for MoveRegionSnafu<__T0, __T1, __T2>
Auto Trait Implementations§
§impl<__T0, __T1, __T2> RefUnwindSafe for MoveRegionSnafu<__T0, __T1, __T2>where
__T0: RefUnwindSafe,
diff --git a/common_meta/error/struct.TableSnafu.html b/common_meta/error/struct.TableSnafu.html
index d9c91350619f..a2c1ecb55273 100644
--- a/common_meta/error/struct.TableSnafu.html
+++ b/common_meta/error/struct.TableSnafu.html
@@ -1,6 +1,6 @@
TableSnafu in common_meta::error - Rust Struct common_meta::error::TableSnafu
source · pub struct TableSnafu;
Expand description
SNAFU context selector for the Error::Table
variant
Trait Implementations§
source§impl Clone for TableSnafu
source§fn clone(&self) -> TableSnafu
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 TableSnafu
source§impl Copy for TableSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
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/common_meta/instruction/enum.Instruction.html b/common_meta/instruction/enum.Instruction.html
index 7a20097062e3..f2b72df49f65 100644
--- a/common_meta/instruction/enum.Instruction.html
+++ b/common_meta/instruction/enum.Instruction.html
@@ -1,9 +1,9 @@
Instruction in common_meta::instruction - Rust Enum common_meta::instruction::Instruction
source · pub enum Instruction {
OpenRegion(OpenRegion),
CloseRegion(RegionIdent),
- InvalidateTableIdCache(TableId),
+ InvalidateTableIdCache(TableId),
InvalidateTableNameCache(TableName),
-}
Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for Instruction
Auto Trait Implementations§
§impl RefUnwindSafe for Instruction
§impl Send for Instruction
§impl Sync for Instruction
§impl Unpin for Instruction
§impl UnwindSafe for Instruction
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/instruction/struct.RegionIdent.html b/common_meta/instruction/struct.RegionIdent.html
index 834642f1f56d..e1c0821020fb 100644
--- a/common_meta/instruction/struct.RegionIdent.html
+++ b/common_meta/instruction/struct.RegionIdent.html
@@ -1,10 +1,10 @@
RegionIdent in common_meta::instruction - Rust Struct common_meta::instruction::RegionIdent
source · pub struct RegionIdent {
pub cluster_id: ClusterId,
pub datanode_id: DatanodeId,
- pub table_id: TableId,
+ pub table_id: TableId,
pub region_number: RegionNumber,
pub engine: String,
-}
Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for RegionIdent
source§impl Hash for RegionIdent
source§impl PartialEq<RegionIdent> for RegionIdent
source§fn eq(&self, other: &RegionIdent) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableKey.html b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
index 831cc2a090bc..eb2071d8b654 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableKey.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
@@ -1,7 +1,7 @@
DatanodeTableKey in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableKey
source · pub struct DatanodeTableKey {
datanode_id: DatanodeId,
- table_id: TableId,
-}
Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
Blanket Implementations§
source§impl<T> Any for Twhere
+ table_id: TableId,
+}Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
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/common_meta/key/datanode_table/struct.DatanodeTableManager.html b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
index b1e8ab3c4b74..020d5420db60 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableManager.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
@@ -8,7 +8,7 @@
datanode_id: DatanodeId
) -> BoxStream<'static, Result<DatanodeTableValue>>
sourcepub fn build_create_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
engine: &str,
region_storage_path: &str,
region_options: HashMap<String, String>,
@@ -16,7 +16,7 @@
) -> Result<Txn>
Builds the create datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub(crate) fn build_update_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_region_distribution: RegionDistribution,
new_region_distribution: RegionDistribution,
@@ -24,7 +24,7 @@
) -> Result<Txn>
Builds the update datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub fn build_delete_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
distribution: RegionDistribution
) -> Result<Txn>
Builds the delete datanode table transactions. It only executes while the primary keys comparing successes.
Auto Trait Implementations§
§impl !RefUnwindSafe for DatanodeTableManager
§impl Send for DatanodeTableManager
§impl Sync for DatanodeTableManager
§impl Unpin for DatanodeTableManager
§impl !UnwindSafe for DatanodeTableManager
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableValue.html b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
index a32244212294..82d59648fcfd 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableValue.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
@@ -1,10 +1,10 @@
DatanodeTableValue in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableValue
source · pub struct DatanodeTableValue {
- pub table_id: TableId,
+ pub table_id: TableId,
pub regions: Vec<RegionNumber>,
pub region_info: RegionInfo,
version: u64,
-}
Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
- table_id: TableId,
+}Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
+ table_id: TableId,
regions: Vec<RegionNumber>,
region_info: RegionInfo
) -> Self
source§impl DatanodeTableValue
sourcepub fn try_from_raw_value(raw_value: &[u8]) -> Result<Self>
sourcepub fn try_as_raw_value(&self) -> Result<Vec<u8>>
Trait Implementations§
source§impl Clone for DatanodeTableValue
source§fn clone(&self) -> DatanodeTableValue
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 DatanodeTableValue
source§impl<'de> Deserialize<'de> for DatanodeTableValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
diff --git a/common_meta/key/struct.TableMetadataManager.html b/common_meta/key/struct.TableMetadataManager.html
index 6342e3e5e772..ca0e2101e96e 100644
--- a/common_meta/key/struct.TableMetadataManager.html
+++ b/common_meta/key/struct.TableMetadataManager.html
@@ -8,10 +8,10 @@
kv_backend: KvBackendRef,
}Fields§
§table_name_manager: TableNameManager
§table_info_manager: TableInfoManager
§datanode_table_manager: DatanodeTableManager
§catalog_manager: CatalogManager
§schema_manager: SchemaManager
§table_route_manager: TableRouteManager
§kv_backend: KvBackendRef
Implementations§
source§impl TableMetadataManager
sourcepub fn new(kv_backend: KvBackendRef) -> Self
sourcepub async fn init(&self) -> Result<()>
sourcepub fn table_name_manager(&self) -> &TableNameManager
sourcepub fn table_info_manager(&self) -> &TableInfoManager
sourcepub fn datanode_table_manager(&self) -> &DatanodeTableManager
sourcepub fn catalog_manager(&self) -> &CatalogManager
sourcepub fn schema_manager(&self) -> &SchemaManager
sourcepub fn table_route_manager(&self) -> &TableRouteManager
sourcepub fn kv_backend(&self) -> &KvBackendRef
sourcepub async fn get_full_table_info(
&self,
- table_id: TableId
+ table_id: TableId
) -> Result<(Option<DeserializedValueWithBytes<TableInfoValue>>, Option<DeserializedValueWithBytes<TableRouteValue>>)>
sourcepub async fn create_table_metadata(
&self,
- table_info: RawTableInfo,
+ table_info: RawTableInfo,
region_routes: Vec<RegionRoute>
) -> Result<()>
Creates metadata for table and returns an error if different metadata exists.
The caller MUST ensure it has the exclusive access to TableNameKey
.
@@ -31,11 +31,11 @@
sourcepub async fn update_table_info(
&self,
current_table_info_value: DeserializedValueWithBytes<TableInfoValue>,
- new_table_info: RawTableInfo
+ new_table_info: RawTableInfo
) -> Result<()>
Updates table info and returns an error if different metadata exists.
sourcepub async fn update_table_route(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_table_route_value: DeserializedValueWithBytes<TableRouteValue>,
new_region_routes: Vec<RegionRoute>,
diff --git a/common_meta/key/table_info/struct.TableInfoKey.html b/common_meta/key/table_info/struct.TableInfoKey.html
index a65b5c4c9471..f974bb124def 100644
--- a/common_meta/key/table_info/struct.TableInfoKey.html
+++ b/common_meta/key/table_info/struct.TableInfoKey.html
@@ -1,6 +1,6 @@
TableInfoKey in common_meta::key::table_info - Rust Struct common_meta::key::table_info::
Expand description
SNAFU context selector for the Error::OpenTable
variant
source§impl<__T0: Clone> Clone for OpenTableSnafu<__T0>
impl<__T0: Clone> Clone for OpenTableSnafu<__T0>
source§fn clone(&self) -> OpenTableSnafu<__T0>
fn clone(&self) -> OpenTableSnafu<__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 OpenTableSnafu<__T0>
impl<__T0: Debug> Debug for OpenTableSnafu<__T0>
source§impl<__T0> IntoError<Error> for OpenTableSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
impl<__T0> IntoError<Error> for OpenTableSnafu<__T0>where Error: Error + ErrorCompat, - __T0: Into<TableId>,
impl<__T0: Copy> Copy for OpenTableSnafu<__T0>
impl<__T0> RefUnwindSafe for OpenTableSnafu<__T0>where + __T0: Into<TableId>,
source§fn into_error(self, error: Self::Source) -> Error
fn into_error(self, error: Self::Source) -> Error
impl<__T0: Copy> Copy for OpenTableSnafu<__T0>
impl<__T0> RefUnwindSafe for OpenTableSnafu<__T0>where __T0: RefUnwindSafe,
impl<__T0> Send for OpenTableSnafu<__T0>where __T0: Send,
impl<__T0> Sync for OpenTableSnafu<__T0>where __T0: Sync,
impl<__T0> Unpin for OpenTableSnafu<__T0>where
diff --git a/catalog/error/struct.SystemCatalogTableScanSnafu.html b/catalog/error/struct.SystemCatalogTableScanSnafu.html
index a00f76149aaf..fadce0cea3da 100644
--- a/catalog/error/struct.SystemCatalogTableScanSnafu.html
+++ b/catalog/error/struct.SystemCatalogTableScanSnafu.html
@@ -1,6 +1,6 @@
SystemCatalogTableScanSnafu in catalog::error - Rust Struct catalog::error::SystemCatalogTableScanSnafu
source · pub struct SystemCatalogTableScanSnafu;
Expand description
SNAFU context selector for the Error::SystemCatalogTableScan
variant
Trait Implementations§
source§impl Clone for SystemCatalogTableScanSnafu
source§fn clone(&self) -> SystemCatalogTableScanSnafu
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 SystemCatalogTableScanSnafu
source§impl Copy for SystemCatalogTableScanSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for SystemCatalogTableScanSnafu
§impl Send for SystemCatalogTableScanSnafu
§impl Sync for SystemCatalogTableScanSnafu
§impl Unpin for SystemCatalogTableScanSnafu
§impl UnwindSafe for SystemCatalogTableScanSnafu
Blanket Implementations§
source§impl Copy for SystemCatalogTableScanSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for SystemCatalogTableScanSnafu
§impl Send for SystemCatalogTableScanSnafu
§impl Sync for SystemCatalogTableScanSnafu
§impl Unpin for SystemCatalogTableScanSnafu
§impl UnwindSafe for SystemCatalogTableScanSnafu
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/error/struct.TableEngineNotFoundSnafu.html b/catalog/error/struct.TableEngineNotFoundSnafu.html
index a8d218008b2d..177f8f49fc2c 100644
--- a/catalog/error/struct.TableEngineNotFoundSnafu.html
+++ b/catalog/error/struct.TableEngineNotFoundSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::TableEngineNotFound
variant
Fields§
§engine_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for TableEngineNotFoundSnafu<__T0>
source§fn clone(&self) -> TableEngineNotFoundSnafu<__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 TableEngineNotFoundSnafu<__T0>
source§impl<__T0> IntoError<Error> for TableEngineNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
source§impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for TableEngineNotFoundSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for TableEngineNotFoundSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for TableEngineNotFoundSnafu<__T0>where
diff --git a/catalog/error/struct.TableSchemaMismatchSnafu.html b/catalog/error/struct.TableSchemaMismatchSnafu.html
index 141d7bcece45..2d021adfe832 100644
--- a/catalog/error/struct.TableSchemaMismatchSnafu.html
+++ b/catalog/error/struct.TableSchemaMismatchSnafu.html
@@ -1,6 +1,6 @@
TableSchemaMismatchSnafu in catalog::error - Rust Struct catalog::error::TableSchemaMismatchSnafu
source · pub struct TableSchemaMismatchSnafu;
Expand description
SNAFU context selector for the Error::TableSchemaMismatch
variant
Trait Implementations§
source§impl Clone for TableSchemaMismatchSnafu
source§fn clone(&self) -> TableSchemaMismatchSnafu
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 TableSchemaMismatchSnafu
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
Blanket Implementations§
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
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.InformationSchemaColumns.html b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
index 45892b4c2c9f..fdbf90c162df 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumns.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaColumns
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcefn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaColumnsBuilder
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/struct.InformationSchemaProvider.html b/catalog/information_schema/struct.InformationSchemaProvider.html
index 741ca07a1fac..d65c01d75e79 100644
--- a/catalog/information_schema/struct.InformationSchemaProvider.html
+++ b/catalog/information_schema/struct.InformationSchemaProvider.html
@@ -7,15 +7,15 @@
) -> Self
sourcepub fn build(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> HashMap<String, TableRef>
sourcepub fn table(&self, name: &str) -> Option<TableRef>
sourcefn information_table(
&self,
name: &str
) -> Option<Arc<dyn InformationTable + Send + Sync>>
sourcefn table_info(
catalog_name: String,
table: &Arc<dyn InformationTable + Send + Sync>
-) -> TableInfoRef
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
Blanket Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
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.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index 73e111ed49d8..600a4d513cc8 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcepub(crate) fn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaTablesBuilder
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 fc2e7f26baaf..88ee74cf9d15 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -20,7 +20,7 @@
catalog_name: &str,
schema_name: &str,
table_name: &str,
- table_type: TableType,
+ table_type: TableType,
table_id: Option<u32>,
engine: Option<&str>
)
sourcefn finish(&mut self) -> Result<RecordBatch>
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTablesBuilder
§impl Send for InformationSchemaTablesBuilder
§impl Sync for InformationSchemaTablesBuilder
§impl Unpin for InformationSchemaTablesBuilder
§impl !UnwindSafe for InformationSchemaTablesBuilder
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 6050a90beb82..0cf10f8c594e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -6,5 +6,5 @@
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
+ 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
diff --git a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
index ea4fb44fea2f..8366825323a3 100644
--- a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
+++ b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
@@ -23,7 +23,7 @@
'life1: 'async_trait,source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
@@ -74,7 +74,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/kvbackend/manager/struct.SystemCatalog.html b/catalog/kvbackend/manager/struct.SystemCatalog.html
index 9eff387e8a4a..c383f8118964 100644
--- a/catalog/kvbackend/manager/struct.SystemCatalog.html
+++ b/catalog/kvbackend/manager/struct.SystemCatalog.html
@@ -11,7 +11,7 @@
catalog: &str,
schema: &str,
table_name: &str
-) -> Option<TableRef>
Trait Implementations§
source§impl Clone for SystemCatalog
source§fn clone(&self) -> SystemCatalog
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for SystemCatalog
§impl Send for SystemCatalog
§impl Sync for SystemCatalog
§impl Unpin for SystemCatalog
§impl !UnwindSafe for SystemCatalog
Blanket Implementations§
Trait Implementations§
source§impl Clone for SystemCatalog
source§fn clone(&self) -> SystemCatalog
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for SystemCatalog
§impl Send for SystemCatalog
§impl Sync for SystemCatalog
§impl Unpin for SystemCatalog
§impl !UnwindSafe for SystemCatalog
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/kvbackend/struct.KvBackendCatalogManager.html b/catalog/kvbackend/struct.KvBackendCatalogManager.html
index 239798bb5bac..bcc4e79f3030 100644
--- a/catalog/kvbackend/struct.KvBackendCatalogManager.html
+++ b/catalog/kvbackend/struct.KvBackendCatalogManager.html
@@ -23,7 +23,7 @@
'life1: 'async_trait,
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
@@ -74,7 +74,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/memory/manager/struct.MemoryCatalogManager.html b/catalog/memory/manager/struct.MemoryCatalogManager.html
index 83ced5e75e65..dd08e277d1c8 100644
--- a/catalog/memory/manager/struct.MemoryCatalogManager.html
+++ b/catalog/memory/manager/struct.MemoryCatalogManager.html
@@ -1,7 +1,7 @@
MemoryCatalogManager in catalog::memory::manager - Rust Struct catalog::memory::manager::MemoryCatalogManager
source · pub struct MemoryCatalogManager {
- catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
+ catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
}
Expand description
Simple in-memory list of catalogs
-Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
+Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
Implementations§
source§impl MemoryCatalogManager
sourcepub fn new() -> Arc<Self>
sourcepub fn with_default_setup() -> Arc<Self>
Creates a manager with some default setups
(e.g. default catalog/schema and information schema)
sourcefn schema_exist_sync(&self, catalog: &str, schema: &str) -> Result<bool>
sourcefn catalog_exist_sync(&self, catalog: &str) -> Result<bool>
sourcepub fn register_catalog_sync(&self, name: &str) -> Result<bool>
Registers a catalog if it does not exist and returns false if the schema exists.
@@ -18,7 +18,7 @@
sourcefn create_catalog_entry(
self: &Arc<Self>,
catalog: String
-) -> HashMap<String, HashMap<String, TableRef>>
Trait Implementations§
Trait Implementations§
source§impl CatalogManager for MemoryCatalogManager
source§fn schema_exists<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
catalog: &'life1 str,
schema: &'life2 str
@@ -31,7 +31,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/memory/manager/type.SchemaEntries.html b/catalog/memory/manager/type.SchemaEntries.html
index e08a73e4fce1..06ddf021ba39 100644
--- a/catalog/memory/manager/type.SchemaEntries.html
+++ b/catalog/memory/manager/type.SchemaEntries.html
@@ -1 +1 @@
-SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
+SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
diff --git a/catalog/struct.RegisterSystemTableRequest.html b/catalog/struct.RegisterSystemTableRequest.html
index 98ffda68e56e..a3007b081a96 100644
--- a/catalog/struct.RegisterSystemTableRequest.html
+++ b/catalog/struct.RegisterSystemTableRequest.html
@@ -1,5 +1,5 @@
RegisterSystemTableRequest in catalog - Rust Struct catalog::RegisterSystemTableRequest
source · pub struct RegisterSystemTableRequest {
- pub create_table_request: CreateTableRequest,
+ pub create_table_request: CreateTableRequest,
pub open_hook: Option<OpenSystemTableHook>,
}
Expand description
Register system table request:
@@ -7,7 +7,7 @@
with table ref after opening the system table
- When system table is not exists, create and register the table by create_table_request and calls open_hook with the created table.
-Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
Blanket Implementations§
Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
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/struct.RegisterTableRequest.html b/catalog/struct.RegisterTableRequest.html
index c2f30ba4aa53..91238cde5a87 100644
--- a/catalog/struct.RegisterTableRequest.html
+++ b/catalog/struct.RegisterTableRequest.html
@@ -2,9 +2,9 @@
pub catalog: String,
pub schema: String,
pub table_name: String,
- pub table_id: TableId,
- pub table: TableRef,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+ pub table: TableRef,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
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/struct.RenameTableRequest.html b/catalog/struct.RenameTableRequest.html
index c0a56b79a189..166aa7465716 100644
--- a/catalog/struct.RenameTableRequest.html
+++ b/catalog/struct.RenameTableRequest.html
@@ -3,8 +3,8 @@
pub schema: String,
pub table_name: String,
pub new_table_name: String,
- pub table_id: TableId,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
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/trait.CatalogManager.html b/catalog/trait.CatalogManager.html
index cc8091a5169e..3f057be0493b 100644
--- a/catalog/trait.CatalogManager.html
+++ b/catalog/trait.CatalogManager.html
@@ -54,7 +54,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
- ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
+ ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -107,7 +107,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/type.OpenSystemTableHook.html b/catalog/type.OpenSystemTableHook.html
index 6b2713f62a6a..1eefe22addab 100644
--- a/catalog/type.OpenSystemTableHook.html
+++ b/catalog/type.OpenSystemTableHook.html
@@ -1,2 +1,2 @@
-OpenSystemTableHook in catalog - Rust Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+OpenSystemTableHook in catalog - Rust
\ No newline at end of file
diff --git a/client/all.html b/client/all.html
index 1058c330a5ce..9bb88a75eba3 100644
--- a/client/all.html
+++ b/client/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
diff --git a/client/database/struct.Database.html b/client/database/struct.Database.html
index 1c72f65df0e4..2fe6e5e0e2fb 100644
--- a/client/database/struct.Database.html
+++ b/client/database/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/enum.Output.html b/client/enum.Output.html
new file mode 100644
index 000000000000..78dc13d76b4a
--- /dev/null
+++ b/client/enum.Output.html
@@ -0,0 +1,118 @@
+Output in client - Rust pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
§AffectedRows(usize)
§RecordBatches(RecordBatches)
§Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Output
§impl Send for Output
§impl !Sync for Output
§impl Unpin for Output
§impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/fn.from_grpc_response.html b/client/fn.from_grpc_response.html
index 0f422cea122b..0ffdc48fee12 100644
--- a/client/fn.from_grpc_response.html
+++ b/client/fn.from_grpc_response.html
@@ -1 +1 @@
-from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
+from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
diff --git a/client/index.html b/client/index.html
index 3c2e9096c074..1b3ba37a3ae1 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1 @@
-client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
\ No newline at end of file
+client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
\ No newline at end of file
diff --git a/client/region/struct.RegionRequester.html b/client/region/struct.RegionRequester.html
index c52e450ec287..74fb7ac4de8e 100644
--- a/client/region/struct.RegionRequester.html
+++ b/client/region/struct.RegionRequester.html
@@ -3,7 +3,7 @@
}Fields§
§client: Client
Implementations§
Trait Implementations§
source§impl Datanode for RegionRequester
Trait Implementations§
source§impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
Handles DML, and DDL requests.source§fn handle_query<'life0, 'async_trait>(
&'life0 self,
request: QueryRequest
-) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
§impl !RefUnwindSafe for RegionRequester
§impl Send for RegionRequester
§impl Sync for RegionRequester
§impl Unpin for RegionRequester
§impl !UnwindSafe for RegionRequester
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/struct.RecordBatches.html b/client/struct.RecordBatches.html
new file mode 100644
index 000000000000..d4b5134bef55
--- /dev/null
+++ b/client/struct.RecordBatches.html
@@ -0,0 +1,134 @@
+RecordBatches in client - Rust Struct client::RecordBatches
pub struct RecordBatches {
+ pub(crate) schema: Arc<Schema, Global>,
+ pub(crate) batches: Vec<RecordBatch, Global>,
+}
Fields§
§schema: Arc<Schema, Global>
§batches: Vec<RecordBatch, Global>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema, Global>,
+ columns: I
+) -> Result<RecordBatches, Error>where
+ I: IntoIterator<Item = Arc<dyn Vector, Global>>,
pub async fn try_collect(
+ stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
+) -> impl Future<Output = 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, Global>,
+ batches: Vec<RecordBatch, Global>
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema, Global>
pub fn take(self) -> Vec<RecordBatch, Global>
pub fn as_stream(
+ &self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
pub fn into_df_stream(
+ self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, DataFusionError>> + Send, Global>>
Trait Implementations§
§impl Debug for RecordBatches
§impl IntoIterator for RecordBatches
§type IntoIter = IntoIter<<RecordBatches as IntoIterator>::Item, Global>
Which kind of iterator are we turning this into?§fn into_iter(self) -> <RecordBatches as IntoIterator>::IntoIter
Creates an iterator from a value. Read more§impl PartialEq<RecordBatches> for RecordBatches
§fn eq(&self, other: &RecordBatches) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.§impl StructuralPartialEq for RecordBatches
Auto Trait Implementations§
§impl !RefUnwindSafe for RecordBatches
§impl Send for RecordBatches
§impl Sync for RecordBatches
§impl Unpin for RecordBatches
§impl !UnwindSafe for RecordBatches
Blanket Implementations§
§impl<I> BidiIterator for Iwhere
+ I: IntoIterator,
+ <I as IntoIterator>::IntoIter: DoubleEndedIterator,
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/type.SendableRecordBatchStream.html b/client/type.SendableRecordBatchStream.html
new file mode 100644
index 000000000000..df7268aab19a
--- /dev/null
+++ b/client/type.SendableRecordBatchStream.html
@@ -0,0 +1 @@
+SendableRecordBatchStream in client - Rust
\ No newline at end of file
diff --git a/common_grpc_expr/alter/fn.alter_expr_to_request.html b/common_grpc_expr/alter/fn.alter_expr_to_request.html
index 63f2342d02da..1850a92935fc 100644
--- a/common_grpc_expr/alter/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/alter/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr::alter - Rust Function common_grpc_expr::alter::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/alter/index.html b/common_grpc_expr/alter/index.html
index bd7e5b33fbcf..4206ec54f54a 100644
--- a/common_grpc_expr/alter/index.html
+++ b/common_grpc_expr/alter/index.html
@@ -1 +1 @@
-common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/delete/fn.to_table_delete_request.html b/common_grpc_expr/delete/fn.to_table_delete_request.html
index 17bb5cee292b..4d6dd1ad4737 100644
--- a/common_grpc_expr/delete/fn.to_table_delete_request.html
+++ b/common_grpc_expr/delete/fn.to_table_delete_request.html
@@ -2,4 +2,4 @@
catalog_name: &str,
schema_name: &str,
request: DeleteRequest
-) -> Result<DeleteRequest>
\ No newline at end of file
+) -> Result<DeleteRequest>
\ No newline at end of file
diff --git a/common_grpc_expr/fn.alter_expr_to_request.html b/common_grpc_expr/fn.alter_expr_to_request.html
index fb020673c315..e83fe76ebb26 100644
--- a/common_grpc_expr/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr - Rust Function common_grpc_expr::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/index.html b/common_grpc_expr/index.html
index 123b65c2895b..3fd0656e8b4a 100644
--- a/common_grpc_expr/index.html
+++ b/common_grpc_expr/index.html
@@ -1 +1 @@
-common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
index 36f3cb9ff049..d204bc70ab7b 100644
--- a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
+++ b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
@@ -1,7 +1,7 @@
build_create_expr_from_insertion in common_grpc_expr::insert - Rust Function common_grpc_expr::insert::build_create_expr_from_insertion
source · pub fn build_create_expr_from_insertion(
catalog_name: &str,
schema_name: &str,
- table_id: Option<TableId>,
+ table_id: Option<TableId>,
table_name: &str,
columns: &[Column],
engine: &str
diff --git a/common_grpc_expr/util/fn.build_create_table_expr.html b/common_grpc_expr/util/fn.build_create_table_expr.html
index e78b4de945b9..76a2b47b82aa 100644
--- a/common_grpc_expr/util/fn.build_create_table_expr.html
+++ b/common_grpc_expr/util/fn.build_create_table_expr.html
@@ -1,6 +1,6 @@
build_create_table_expr in common_grpc_expr::util - Rust Function common_grpc_expr::util::build_create_table_expr
source · pub fn build_create_table_expr(
- table_id: Option<TableId>,
- table_name: &TableReference<'_>,
+ table_id: Option<TableId>,
+ table_name: &TableReference<'_>,
column_exprs: Vec<ColumnExpr<'_>>,
engine: &str,
desc: &str
diff --git a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
index 13feb0240fbf..94e9334f09a2 100644
--- a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
+++ b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
@@ -1,7 +1,7 @@
DummyCacheInvalidator in common_meta::cache_invalidator - Rust pub struct DummyCacheInvalidator;
Trait Implementations§
source§impl CacheInvalidator for DummyCacheInvalidator
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
- _table_id: TableId
+ _table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/cache_invalidator/trait.CacheInvalidator.html b/common_meta/cache_invalidator/trait.CacheInvalidator.html
index dc6e8864c3a7..004d340a376a 100644
--- a/common_meta/cache_invalidator/trait.CacheInvalidator.html
+++ b/common_meta/cache_invalidator/trait.CacheInvalidator.html
@@ -3,7 +3,7 @@
fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
@@ -19,7 +19,7 @@
}Required Methods§
sourcefn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
index 625083846c6d..4e32e147c5db 100644
--- a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
+++ b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
@@ -1,5 +1,5 @@
create_proto_alter_kind in common_meta::ddl::alter_table - Rust Function common_meta::ddl::alter_table::create_proto_alter_kind
source · pub fn create_proto_alter_kind(
- table_info: &RawTableInfo,
+ table_info: &RawTableInfo,
alter_kind: &Kind
) -> Result<(Option<Kind>, Option<ColumnId>)>
Expand description
Creates region proto alter kind from table_info
and alter_kind
.
Returns the kind and next column id if it adds new columns.
diff --git a/common_meta/ddl/alter_table/struct.AlterTableData.html b/common_meta/ddl/alter_table/struct.AlterTableData.html
index f9a58a4e56bc..018ff5a55e63 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableData.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableData.html
@@ -11,7 +11,7 @@
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
cluster_id: u64,
next_column_id: Option<ColumnId>
-) -> Selfsourcefn table_ref(&self) -> TableReference<'_>
sourcefn table_id(&self) -> TableId
sourcefn table_info(&self) -> &RawTableInfo
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for AlterTableData
§impl Send for AlterTableData
§impl Sync for AlterTableData
§impl Unpin for AlterTableData
§impl UnwindSafe for AlterTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
index 473eaaaee000..6a100fc8420b 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
@@ -17,8 +17,8 @@
) -> Result<()>
Update table metadata for rename table operation.
sourceasync fn on_update_metadata_for_alter(
&self,
- new_table_info: RawTableInfo
-) -> Result<()>
sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
+ new_table_info: RawTableInfo
+) -> Result<()>sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
sourceasync fn on_broadcast(&mut self) -> Result<Status>
Broadcasts the invalidating table cache instructions.
sourcefn lock_key_inner(&self) -> Vec<String>
Trait Implementations§
source§impl Procedure for AlterTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff --git a/common_meta/ddl/create_table/struct.CreateTableData.html b/common_meta/ddl/create_table/struct.CreateTableData.html
index 2e5e27fd7eb4..4330b2fbd1af 100644
--- a/common_meta/ddl/create_table/struct.CreateTableData.html
+++ b/common_meta/ddl/create_table/struct.CreateTableData.html
@@ -3,7 +3,7 @@
pub task: CreateTableTask,
pub region_routes: Vec<RegionRoute>,
pub cluster_id: u64,
-}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
source§impl CreateTableData
sourcefn table_ref(&self) -> TableReference<'_>
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for CreateTableData
§impl Send for CreateTableData
§impl Sync for CreateTableData
§impl Unpin for CreateTableData
§impl UnwindSafe for CreateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/create_table/struct.CreateTableProcedure.html b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
index b71e4a8436f9..9a2a1de73fad 100644
--- a/common_meta/ddl/create_table/struct.CreateTableProcedure.html
+++ b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
@@ -6,7 +6,7 @@
task: CreateTableTask,
region_routes: Vec<RegionRoute>,
context: DdlContext
-) -> Self
sourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
+) -> Selfsourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
sourcepub fn create_region_request_template(&self) -> Result<PbCreateRegionRequest>
sourcepub async fn on_datanode_create_regions(&mut self) -> Result<Status>
sourceasync fn on_create_metadata(&self) -> Result<Status>
Trait Implementations§
source§impl Procedure for CreateTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_ctx: &'life1 ProcedureContext
diff --git a/common_meta/ddl/drop_table/struct.DropTableData.html b/common_meta/ddl/drop_table/struct.DropTableData.html
index 46e3a21db8cd..2b91fa24c713 100644
--- a/common_meta/ddl/drop_table/struct.DropTableData.html
+++ b/common_meta/ddl/drop_table/struct.DropTableData.html
@@ -9,7 +9,7 @@
task: DropTableTask,
table_route_value: DeserializedValueWithBytes<TableRouteValue>,
table_info_value: DeserializedValueWithBytes<TableInfoValue>
-) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for DropTableData
§impl Send for DropTableData
§impl Sync for DropTableData
§impl Unpin for DropTableData
§impl UnwindSafe for DropTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/trait.TableMetadataAllocator.html b/common_meta/ddl/trait.TableMetadataAllocator.html
index b095be070299..36cbad59636a 100644
--- a/common_meta/ddl/trait.TableMetadataAllocator.html
+++ b/common_meta/ddl/trait.TableMetadataAllocator.html
@@ -3,7 +3,7 @@
fn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>
where Self: 'async_trait,
@@ -14,7 +14,7 @@
}Required Methods§
sourcefn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/common_meta/ddl/truncate_table/struct.TruncateTableData.html b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
index 7363b523f063..708e5561808d 100644
--- a/common_meta/ddl/truncate_table/struct.TruncateTableData.html
+++ b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
@@ -9,7 +9,7 @@
task: TruncateTableTask,
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
region_routes: Vec<RegionRoute>
-) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for TruncateTableData
§impl Send for TruncateTableData
§impl Sync for TruncateTableData
§impl Unpin for TruncateTableData
§impl UnwindSafe for TruncateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/error/enum.Error.html b/common_meta/error/enum.Error.html
index 541ce4833b77..1a92776ff7a1 100644
--- a/common_meta/error/enum.Error.html
+++ b/common_meta/error/enum.Error.html
@@ -44,12 +44,12 @@
},
BuildTableMeta {
table_name: String,
- error: TableMetaBuilderError,
+ error: TableMetaBuilderError,
location: Location,
},
Table {
location: Location,
- source: Error,
+ source: Error,
},
TableRouteNotFound {
table_name: String,
@@ -145,7 +145,7 @@
location: Location,
},
MoveRegion {
- table_id: TableId,
+ table_id: TableId,
region: RegionNumber,
err_msg: String,
location: Location,
@@ -169,7 +169,7 @@
RetryLater {
source: BoxedError,
},
-
}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
+}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
sourcepub fn is_retry_later(&self) -> bool
Determine whether it is a retry later type through StatusCode
Trait Implementations§
source§impl Error for Errorwhere
Self: Debug + Display,
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§fn output_msg(&self) -> Stringwhere
Self: Sized,
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0> IntoError<Error> for CacheNotGetSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for CatalogAlreadyExistsSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -206,7 +206,7 @@
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0> IntoError<Error> for NextSequenceSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -245,7 +245,7 @@
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for TableRouteNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
+ Error: Error + ErrorCompat,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSnafu<__T0>where
Error: Error + ErrorCompat,
diff --git a/common_meta/error/struct.BuildTableMetaSnafu.html b/common_meta/error/struct.BuildTableMetaSnafu.html
index 848719b5d875..de793f19e317 100644
--- a/common_meta/error/struct.BuildTableMetaSnafu.html
+++ b/common_meta/error/struct.BuildTableMetaSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::BuildTableMeta
variant
Fields§
§table_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for BuildTableMetaSnafu<__T0>
source§fn clone(&self) -> BuildTableMetaSnafu<__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 BuildTableMetaSnafu<__T0>
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for BuildTableMetaSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for BuildTableMetaSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for BuildTableMetaSnafu<__T0>where
diff --git a/common_meta/error/struct.MoveRegionSnafu.html b/common_meta/error/struct.MoveRegionSnafu.html
index 7225b5d448e7..33e45ac82117 100644
--- a/common_meta/error/struct.MoveRegionSnafu.html
+++ b/common_meta/error/struct.MoveRegionSnafu.html
@@ -4,16 +4,16 @@
pub err_msg: __T2,
}Expand description
SNAFU context selector for the Error::MoveRegion
variant
Fields§
§table_id: __T0
§region: __T1
§err_msg: __T2
Implementations§
Trait Implementations§
source§impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for MoveRegionSnafu<__T0, __T1, __T2>
source§fn clone(&self) -> MoveRegionSnafu<__T0, __T1, __T2>
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, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for MoveRegionSnafu<__T0, __T1, __T2>
Auto Trait Implementations§
§impl<__T0, __T1, __T2> RefUnwindSafe for MoveRegionSnafu<__T0, __T1, __T2>where
__T0: RefUnwindSafe,
diff --git a/common_meta/error/struct.TableSnafu.html b/common_meta/error/struct.TableSnafu.html
index d9c91350619f..a2c1ecb55273 100644
--- a/common_meta/error/struct.TableSnafu.html
+++ b/common_meta/error/struct.TableSnafu.html
@@ -1,6 +1,6 @@
TableSnafu in common_meta::error - Rust Struct common_meta::error::TableSnafu
source · pub struct TableSnafu;
Expand description
SNAFU context selector for the Error::Table
variant
Trait Implementations§
source§impl Clone for TableSnafu
source§fn clone(&self) -> TableSnafu
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 TableSnafu
source§impl Copy for TableSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
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/common_meta/instruction/enum.Instruction.html b/common_meta/instruction/enum.Instruction.html
index 7a20097062e3..f2b72df49f65 100644
--- a/common_meta/instruction/enum.Instruction.html
+++ b/common_meta/instruction/enum.Instruction.html
@@ -1,9 +1,9 @@
Instruction in common_meta::instruction - Rust Enum common_meta::instruction::Instruction
source · pub enum Instruction {
OpenRegion(OpenRegion),
CloseRegion(RegionIdent),
- InvalidateTableIdCache(TableId),
+ InvalidateTableIdCache(TableId),
InvalidateTableNameCache(TableName),
-}
Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for Instruction
Auto Trait Implementations§
§impl RefUnwindSafe for Instruction
§impl Send for Instruction
§impl Sync for Instruction
§impl Unpin for Instruction
§impl UnwindSafe for Instruction
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/instruction/struct.RegionIdent.html b/common_meta/instruction/struct.RegionIdent.html
index 834642f1f56d..e1c0821020fb 100644
--- a/common_meta/instruction/struct.RegionIdent.html
+++ b/common_meta/instruction/struct.RegionIdent.html
@@ -1,10 +1,10 @@
RegionIdent in common_meta::instruction - Rust Struct common_meta::instruction::RegionIdent
source · pub struct RegionIdent {
pub cluster_id: ClusterId,
pub datanode_id: DatanodeId,
- pub table_id: TableId,
+ pub table_id: TableId,
pub region_number: RegionNumber,
pub engine: String,
-}
Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for RegionIdent
source§impl Hash for RegionIdent
source§impl PartialEq<RegionIdent> for RegionIdent
source§fn eq(&self, other: &RegionIdent) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableKey.html b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
index 831cc2a090bc..eb2071d8b654 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableKey.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
@@ -1,7 +1,7 @@
DatanodeTableKey in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableKey
source · pub struct DatanodeTableKey {
datanode_id: DatanodeId,
- table_id: TableId,
-}
Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
Blanket Implementations§
source§impl<T> Any for Twhere
+ table_id: TableId,
+}Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
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/common_meta/key/datanode_table/struct.DatanodeTableManager.html b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
index b1e8ab3c4b74..020d5420db60 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableManager.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
@@ -8,7 +8,7 @@
datanode_id: DatanodeId
) -> BoxStream<'static, Result<DatanodeTableValue>>
sourcepub fn build_create_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
engine: &str,
region_storage_path: &str,
region_options: HashMap<String, String>,
@@ -16,7 +16,7 @@
) -> Result<Txn>
Builds the create datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub(crate) fn build_update_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_region_distribution: RegionDistribution,
new_region_distribution: RegionDistribution,
@@ -24,7 +24,7 @@
) -> Result<Txn>
Builds the update datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub fn build_delete_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
distribution: RegionDistribution
) -> Result<Txn>
Builds the delete datanode table transactions. It only executes while the primary keys comparing successes.
Auto Trait Implementations§
§impl !RefUnwindSafe for DatanodeTableManager
§impl Send for DatanodeTableManager
§impl Sync for DatanodeTableManager
§impl Unpin for DatanodeTableManager
§impl !UnwindSafe for DatanodeTableManager
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableValue.html b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
index a32244212294..82d59648fcfd 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableValue.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
@@ -1,10 +1,10 @@
DatanodeTableValue in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableValue
source · pub struct DatanodeTableValue {
- pub table_id: TableId,
+ pub table_id: TableId,
pub regions: Vec<RegionNumber>,
pub region_info: RegionInfo,
version: u64,
-}
Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
- table_id: TableId,
+}Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
+ table_id: TableId,
regions: Vec<RegionNumber>,
region_info: RegionInfo
) -> Self
source§impl DatanodeTableValue
sourcepub fn try_from_raw_value(raw_value: &[u8]) -> Result<Self>
sourcepub fn try_as_raw_value(&self) -> Result<Vec<u8>>
Trait Implementations§
source§impl Clone for DatanodeTableValue
source§fn clone(&self) -> DatanodeTableValue
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 DatanodeTableValue
source§impl<'de> Deserialize<'de> for DatanodeTableValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
diff --git a/common_meta/key/struct.TableMetadataManager.html b/common_meta/key/struct.TableMetadataManager.html
index 6342e3e5e772..ca0e2101e96e 100644
--- a/common_meta/key/struct.TableMetadataManager.html
+++ b/common_meta/key/struct.TableMetadataManager.html
@@ -8,10 +8,10 @@
kv_backend: KvBackendRef,
}Fields§
§table_name_manager: TableNameManager
§table_info_manager: TableInfoManager
§datanode_table_manager: DatanodeTableManager
§catalog_manager: CatalogManager
§schema_manager: SchemaManager
§table_route_manager: TableRouteManager
§kv_backend: KvBackendRef
Implementations§
source§impl TableMetadataManager
sourcepub fn new(kv_backend: KvBackendRef) -> Self
sourcepub async fn init(&self) -> Result<()>
sourcepub fn table_name_manager(&self) -> &TableNameManager
sourcepub fn table_info_manager(&self) -> &TableInfoManager
sourcepub fn datanode_table_manager(&self) -> &DatanodeTableManager
sourcepub fn catalog_manager(&self) -> &CatalogManager
sourcepub fn schema_manager(&self) -> &SchemaManager
sourcepub fn table_route_manager(&self) -> &TableRouteManager
sourcepub fn kv_backend(&self) -> &KvBackendRef
sourcepub async fn get_full_table_info(
&self,
- table_id: TableId
+ table_id: TableId
) -> Result<(Option<DeserializedValueWithBytes<TableInfoValue>>, Option<DeserializedValueWithBytes<TableRouteValue>>)>
sourcepub async fn create_table_metadata(
&self,
- table_info: RawTableInfo,
+ table_info: RawTableInfo,
region_routes: Vec<RegionRoute>
) -> Result<()>
Creates metadata for table and returns an error if different metadata exists.
The caller MUST ensure it has the exclusive access to TableNameKey
.
@@ -31,11 +31,11 @@
sourcepub async fn update_table_info(
&self,
current_table_info_value: DeserializedValueWithBytes<TableInfoValue>,
- new_table_info: RawTableInfo
+ new_table_info: RawTableInfo
) -> Result<()>
Updates table info and returns an error if different metadata exists.
sourcepub async fn update_table_route(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_table_route_value: DeserializedValueWithBytes<TableRouteValue>,
new_region_routes: Vec<RegionRoute>,
diff --git a/common_meta/key/table_info/struct.TableInfoKey.html b/common_meta/key/table_info/struct.TableInfoKey.html
index a65b5c4c9471..f974bb124def 100644
--- a/common_meta/key/table_info/struct.TableInfoKey.html
+++ b/common_meta/key/table_info/struct.TableInfoKey.html
@@ -1,6 +1,6 @@
TableInfoKey in common_meta::key::table_info - Rust Struct common_meta::key::table_info::
Struct catalog::error::SystemCatalogTableScanSnafu
source · pub struct SystemCatalogTableScanSnafu;
Expand description
SNAFU context selector for the Error::SystemCatalogTableScan
variant
Trait Implementations§
source§impl Clone for SystemCatalogTableScanSnafu
impl Clone for SystemCatalogTableScanSnafu
source§fn clone(&self) -> SystemCatalogTableScanSnafu
fn clone(&self) -> SystemCatalogTableScanSnafu
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SystemCatalogTableScanSnafu
impl Debug for SystemCatalogTableScanSnafu
impl Copy for SystemCatalogTableScanSnafu
Auto Trait Implementations§
impl RefUnwindSafe for SystemCatalogTableScanSnafu
impl Send for SystemCatalogTableScanSnafu
impl Sync for SystemCatalogTableScanSnafu
impl Unpin for SystemCatalogTableScanSnafu
impl UnwindSafe for SystemCatalogTableScanSnafu
Blanket Implementations§
impl Copy for SystemCatalogTableScanSnafu
Auto Trait Implementations§
impl RefUnwindSafe for SystemCatalogTableScanSnafu
impl Send for SystemCatalogTableScanSnafu
impl Sync for SystemCatalogTableScanSnafu
impl Unpin for SystemCatalogTableScanSnafu
impl UnwindSafe for SystemCatalogTableScanSnafu
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.TableEngineNotFoundSnafu.html b/catalog/error/struct.TableEngineNotFoundSnafu.html
index a8d218008b2d..177f8f49fc2c 100644
--- a/catalog/error/struct.TableEngineNotFoundSnafu.html
+++ b/catalog/error/struct.TableEngineNotFoundSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::TableEngineNotFound
variant
Fields§
§engine_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for TableEngineNotFoundSnafu<__T0>
source§fn clone(&self) -> TableEngineNotFoundSnafu<__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 TableEngineNotFoundSnafu<__T0>
source§impl<__T0> IntoError<Error> for TableEngineNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
source§impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for TableEngineNotFoundSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for TableEngineNotFoundSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for TableEngineNotFoundSnafu<__T0>where
diff --git a/catalog/error/struct.TableSchemaMismatchSnafu.html b/catalog/error/struct.TableSchemaMismatchSnafu.html
index 141d7bcece45..2d021adfe832 100644
--- a/catalog/error/struct.TableSchemaMismatchSnafu.html
+++ b/catalog/error/struct.TableSchemaMismatchSnafu.html
@@ -1,6 +1,6 @@
TableSchemaMismatchSnafu in catalog::error - Rust Struct catalog::error::TableSchemaMismatchSnafu
source · pub struct TableSchemaMismatchSnafu;
Expand description
SNAFU context selector for the Error::TableSchemaMismatch
variant
Trait Implementations§
source§impl Clone for TableSchemaMismatchSnafu
source§fn clone(&self) -> TableSchemaMismatchSnafu
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 TableSchemaMismatchSnafu
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
Blanket Implementations§
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
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.InformationSchemaColumns.html b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
index 45892b4c2c9f..fdbf90c162df 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumns.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaColumns
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcefn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaColumnsBuilder
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/struct.InformationSchemaProvider.html b/catalog/information_schema/struct.InformationSchemaProvider.html
index 741ca07a1fac..d65c01d75e79 100644
--- a/catalog/information_schema/struct.InformationSchemaProvider.html
+++ b/catalog/information_schema/struct.InformationSchemaProvider.html
@@ -7,15 +7,15 @@
) -> Self
sourcepub fn build(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> HashMap<String, TableRef>
sourcepub fn table(&self, name: &str) -> Option<TableRef>
sourcefn information_table(
&self,
name: &str
) -> Option<Arc<dyn InformationTable + Send + Sync>>
sourcefn table_info(
catalog_name: String,
table: &Arc<dyn InformationTable + Send + Sync>
-) -> TableInfoRef
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
Blanket Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
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.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index 73e111ed49d8..600a4d513cc8 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcepub(crate) fn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaTablesBuilder
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 fc2e7f26baaf..88ee74cf9d15 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -20,7 +20,7 @@
catalog_name: &str,
schema_name: &str,
table_name: &str,
- table_type: TableType,
+ table_type: TableType,
table_id: Option<u32>,
engine: Option<&str>
)
sourcefn finish(&mut self) -> Result<RecordBatch>
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTablesBuilder
§impl Send for InformationSchemaTablesBuilder
§impl Sync for InformationSchemaTablesBuilder
§impl Unpin for InformationSchemaTablesBuilder
§impl !UnwindSafe for InformationSchemaTablesBuilder
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 6050a90beb82..0cf10f8c594e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -6,5 +6,5 @@
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
+ 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
diff --git a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
index ea4fb44fea2f..8366825323a3 100644
--- a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
+++ b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
@@ -23,7 +23,7 @@
'life1: 'async_trait,source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
@@ -74,7 +74,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/kvbackend/manager/struct.SystemCatalog.html b/catalog/kvbackend/manager/struct.SystemCatalog.html
index 9eff387e8a4a..c383f8118964 100644
--- a/catalog/kvbackend/manager/struct.SystemCatalog.html
+++ b/catalog/kvbackend/manager/struct.SystemCatalog.html
@@ -11,7 +11,7 @@
catalog: &str,
schema: &str,
table_name: &str
-) -> Option<TableRef>
Trait Implementations§
source§impl Clone for SystemCatalog
source§fn clone(&self) -> SystemCatalog
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for SystemCatalog
§impl Send for SystemCatalog
§impl Sync for SystemCatalog
§impl Unpin for SystemCatalog
§impl !UnwindSafe for SystemCatalog
Blanket Implementations§
fn conv<T>(self) -> Twhere
diff --git a/catalog/error/struct.TableEngineNotFoundSnafu.html b/catalog/error/struct.TableEngineNotFoundSnafu.html
index a8d218008b2d..177f8f49fc2c 100644
--- a/catalog/error/struct.TableEngineNotFoundSnafu.html
+++ b/catalog/error/struct.TableEngineNotFoundSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::TableEngineNotFound
variant
Fields§
§engine_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for TableEngineNotFoundSnafu<__T0>
source§fn clone(&self) -> TableEngineNotFoundSnafu<__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 TableEngineNotFoundSnafu<__T0>
source§impl<__T0> IntoError<Error> for TableEngineNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
source§impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for TableEngineNotFoundSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for TableEngineNotFoundSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for TableEngineNotFoundSnafu<__T0>where
diff --git a/catalog/error/struct.TableSchemaMismatchSnafu.html b/catalog/error/struct.TableSchemaMismatchSnafu.html
index 141d7bcece45..2d021adfe832 100644
--- a/catalog/error/struct.TableSchemaMismatchSnafu.html
+++ b/catalog/error/struct.TableSchemaMismatchSnafu.html
@@ -1,6 +1,6 @@
TableSchemaMismatchSnafu in catalog::error - Rust Struct catalog::error::TableSchemaMismatchSnafu
source · pub struct TableSchemaMismatchSnafu;
Expand description
SNAFU context selector for the Error::TableSchemaMismatch
variant
Trait Implementations§
source§impl Clone for TableSchemaMismatchSnafu
source§fn clone(&self) -> TableSchemaMismatchSnafu
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 TableSchemaMismatchSnafu
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
Blanket Implementations§
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
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.InformationSchemaColumns.html b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
index 45892b4c2c9f..fdbf90c162df 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumns.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaColumns
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcefn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaColumnsBuilder
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/struct.InformationSchemaProvider.html b/catalog/information_schema/struct.InformationSchemaProvider.html
index 741ca07a1fac..d65c01d75e79 100644
--- a/catalog/information_schema/struct.InformationSchemaProvider.html
+++ b/catalog/information_schema/struct.InformationSchemaProvider.html
@@ -7,15 +7,15 @@
) -> Self
sourcepub fn build(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> HashMap<String, TableRef>
sourcepub fn table(&self, name: &str) -> Option<TableRef>
sourcefn information_table(
&self,
name: &str
) -> Option<Arc<dyn InformationTable + Send + Sync>>
sourcefn table_info(
catalog_name: String,
table: &Arc<dyn InformationTable + Send + Sync>
-) -> TableInfoRef
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
Blanket Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
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.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index 73e111ed49d8..600a4d513cc8 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcepub(crate) fn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaTablesBuilder
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 fc2e7f26baaf..88ee74cf9d15 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -20,7 +20,7 @@
catalog_name: &str,
schema_name: &str,
table_name: &str,
- table_type: TableType,
+ table_type: TableType,
table_id: Option<u32>,
engine: Option<&str>
)
sourcefn finish(&mut self) -> Result<RecordBatch>
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTablesBuilder
§impl Send for InformationSchemaTablesBuilder
§impl Sync for InformationSchemaTablesBuilder
§impl Unpin for InformationSchemaTablesBuilder
§impl !UnwindSafe for InformationSchemaTablesBuilder
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 6050a90beb82..0cf10f8c594e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -6,5 +6,5 @@
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
+ 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
diff --git a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
index ea4fb44fea2f..8366825323a3 100644
--- a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
+++ b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
@@ -23,7 +23,7 @@
'life1: 'async_trait,source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
@@ -74,7 +74,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/kvbackend/manager/struct.SystemCatalog.html b/catalog/kvbackend/manager/struct.SystemCatalog.html
index 9eff387e8a4a..c383f8118964 100644
--- a/catalog/kvbackend/manager/struct.SystemCatalog.html
+++ b/catalog/kvbackend/manager/struct.SystemCatalog.html
@@ -11,7 +11,7 @@
catalog: &str,
schema: &str,
table_name: &str
-) -> Option<TableRef>
Trait Implementations§
source§impl Clone for SystemCatalog
source§fn clone(&self) -> SystemCatalog
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for SystemCatalog
§impl Send for SystemCatalog
§impl Sync for SystemCatalog
§impl Unpin for SystemCatalog
§impl !UnwindSafe for SystemCatalog
Blanket Implementations§
Expand description
SNAFU context selector for the Error::TableEngineNotFound
variant
source§impl<__T0: Clone> Clone for TableEngineNotFoundSnafu<__T0>
impl<__T0: Clone> Clone for TableEngineNotFoundSnafu<__T0>
source§fn clone(&self) -> TableEngineNotFoundSnafu<__T0>
fn clone(&self) -> TableEngineNotFoundSnafu<__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 TableEngineNotFoundSnafu<__T0>
impl<__T0: Debug> Debug for TableEngineNotFoundSnafu<__T0>
source§impl<__T0> IntoError<Error> for TableEngineNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
impl<__T0> IntoError<Error> for TableEngineNotFoundSnafu<__T0>where Error: Error + ErrorCompat, - __T0: Into<String>,
impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where + __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
fn into_error(self, error: Self::Source) -> Error
impl<__T0: Copy> Copy for TableEngineNotFoundSnafu<__T0>
impl<__T0> RefUnwindSafe for TableEngineNotFoundSnafu<__T0>where __T0: RefUnwindSafe,
impl<__T0> Send for TableEngineNotFoundSnafu<__T0>where __T0: Send,
impl<__T0> Sync for TableEngineNotFoundSnafu<__T0>where __T0: Sync,
impl<__T0> Unpin for TableEngineNotFoundSnafu<__T0>where
diff --git a/catalog/error/struct.TableSchemaMismatchSnafu.html b/catalog/error/struct.TableSchemaMismatchSnafu.html
index 141d7bcece45..2d021adfe832 100644
--- a/catalog/error/struct.TableSchemaMismatchSnafu.html
+++ b/catalog/error/struct.TableSchemaMismatchSnafu.html
@@ -1,6 +1,6 @@
TableSchemaMismatchSnafu in catalog::error - Rust Struct catalog::error::TableSchemaMismatchSnafu
source · pub struct TableSchemaMismatchSnafu;
Expand description
SNAFU context selector for the Error::TableSchemaMismatch
variant
Trait Implementations§
source§impl Clone for TableSchemaMismatchSnafu
source§fn clone(&self) -> TableSchemaMismatchSnafu
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 TableSchemaMismatchSnafu
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
Blanket Implementations§
source§impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSchemaMismatchSnafu
§impl Send for TableSchemaMismatchSnafu
§impl Sync for TableSchemaMismatchSnafu
§impl Unpin for TableSchemaMismatchSnafu
§impl UnwindSafe for TableSchemaMismatchSnafu
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.InformationSchemaColumns.html b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
index 45892b4c2c9f..fdbf90c162df 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumns.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaColumns
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcefn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaColumnsBuilder
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/struct.InformationSchemaProvider.html b/catalog/information_schema/struct.InformationSchemaProvider.html
index 741ca07a1fac..d65c01d75e79 100644
--- a/catalog/information_schema/struct.InformationSchemaProvider.html
+++ b/catalog/information_schema/struct.InformationSchemaProvider.html
@@ -7,15 +7,15 @@
) -> Self
sourcepub fn build(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> HashMap<String, TableRef>
sourcepub fn table(&self, name: &str) -> Option<TableRef>
sourcefn information_table(
&self,
name: &str
) -> Option<Arc<dyn InformationTable + Send + Sync>>
sourcefn table_info(
catalog_name: String,
table: &Arc<dyn InformationTable + Send + Sync>
-) -> TableInfoRef
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
Blanket Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaProvider
§impl Send for InformationSchemaProvider
§impl Sync for InformationSchemaProvider
§impl Unpin for InformationSchemaProvider
§impl !UnwindSafe for InformationSchemaProvider
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.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index 73e111ed49d8..600a4d513cc8 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcepub(crate) fn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaTablesBuilder
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 fc2e7f26baaf..88ee74cf9d15 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -20,7 +20,7 @@
catalog_name: &str,
schema_name: &str,
table_name: &str,
- table_type: TableType,
+ table_type: TableType,
table_id: Option<u32>,
engine: Option<&str>
)
sourcefn finish(&mut self) -> Result<RecordBatch>
Auto Trait Implementations§
§impl !RefUnwindSafe for InformationSchemaTablesBuilder
§impl Send for InformationSchemaTablesBuilder
§impl Sync for InformationSchemaTablesBuilder
§impl Unpin for InformationSchemaTablesBuilder
§impl !UnwindSafe for InformationSchemaTablesBuilder
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 6050a90beb82..0cf10f8c594e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -6,5 +6,5 @@
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
+ 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
diff --git a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
index ea4fb44fea2f..8366825323a3 100644
--- a/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
+++ b/catalog/kvbackend/manager/struct.KvBackendCatalogManager.html
@@ -23,7 +23,7 @@
'life1: 'async_trait,source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
@@ -74,7 +74,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/kvbackend/manager/struct.SystemCatalog.html b/catalog/kvbackend/manager/struct.SystemCatalog.html
index 9eff387e8a4a..c383f8118964 100644
--- a/catalog/kvbackend/manager/struct.SystemCatalog.html
+++ b/catalog/kvbackend/manager/struct.SystemCatalog.html
@@ -11,7 +11,7 @@
catalog: &str,
schema: &str,
table_name: &str
-) -> Option<TableRef>
Struct catalog::error::TableSchemaMismatchSnafu
source · pub struct TableSchemaMismatchSnafu;
Expand description
SNAFU context selector for the Error::TableSchemaMismatch
variant
Trait Implementations§
source§impl Clone for TableSchemaMismatchSnafu
impl Clone for TableSchemaMismatchSnafu
source§fn clone(&self) -> TableSchemaMismatchSnafu
fn clone(&self) -> TableSchemaMismatchSnafu
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TableSchemaMismatchSnafu
impl Debug for TableSchemaMismatchSnafu
impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
impl RefUnwindSafe for TableSchemaMismatchSnafu
impl Send for TableSchemaMismatchSnafu
impl Sync for TableSchemaMismatchSnafu
impl Unpin for TableSchemaMismatchSnafu
impl UnwindSafe for TableSchemaMismatchSnafu
Blanket Implementations§
impl Copy for TableSchemaMismatchSnafu
Auto Trait Implementations§
impl RefUnwindSafe for TableSchemaMismatchSnafu
impl Send for TableSchemaMismatchSnafu
impl Sync for TableSchemaMismatchSnafu
impl Unpin for TableSchemaMismatchSnafu
impl UnwindSafe for TableSchemaMismatchSnafu
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/columns/struct.InformationSchemaColumns.html b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
index 45892b4c2c9f..fdbf90c162df 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumns.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaColumns
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcefn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaColumnsBuilder
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§
fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/columns/struct.InformationSchemaColumns.html b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
index 45892b4c2c9f..fdbf90c162df 100644
--- a/catalog/information_schema/columns/struct.InformationSchemaColumns.html
+++ b/catalog/information_schema/columns/struct.InformationSchemaColumns.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaColumns
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcefn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaColumnsBuilder
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 InformationSchemaColumns
impl InformationSchemaColumns
pub(super) fn new( catalog_name: String, catalog_manager: Weak<dyn CatalogManager> -) -> Self
fn schema() -> SchemaRef
fn builder(&self) -> InformationSchemaColumnsBuilder
impl !RefUnwindSafe for InformationSchemaColumns
impl Send for InformationSchemaColumns
impl Sync for InformationSchemaColumns
impl Unpin for InformationSchemaColumns
impl !UnwindSafe for InformationSchemaColumns
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,
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/struct.InformationSchemaProvider.html b/catalog/information_schema/struct.InformationSchemaProvider.html
index 741ca07a1fac..d65c01d75e79 100644
--- a/catalog/information_schema/struct.InformationSchemaProvider.html
+++ b/catalog/information_schema/struct.InformationSchemaProvider.html
@@ -7,15 +7,15 @@
) -> Self
sourcepub fn build(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> HashMap<String, TableRef>
sourcepub fn table(&self, name: &str) -> Option<TableRef>
sourcefn information_table(
&self,
name: &str
) -> Option<Arc<dyn InformationTable + Send + Sync>>
sourcefn table_info(
catalog_name: String,
table: &Arc<dyn InformationTable + Send + Sync>
-) -> TableInfoRef
fn conv<T>(self) -> Twhere diff --git a/catalog/information_schema/struct.InformationSchemaProvider.html b/catalog/information_schema/struct.InformationSchemaProvider.html index 741ca07a1fac..d65c01d75e79 100644 --- a/catalog/information_schema/struct.InformationSchemaProvider.html +++ b/catalog/information_schema/struct.InformationSchemaProvider.html @@ -7,15 +7,15 @@ ) -> Self
sourcepub fn build(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> HashMap<String, TableRef>
pub fn build( catalog_name: String, catalog_manager: Weak<dyn CatalogManager> -) -> HashMap<String, TableRef>
pub fn table(&self, name: &str) -> Option<TableRef>
fn information_table( &self, name: &str ) -> Option<Arc<dyn InformationTable + Send + Sync>>
fn table_info( catalog_name: String, table: &Arc<dyn InformationTable + Send + Sync> -) -> TableInfoRef
Auto Trait Implementations§
impl !RefUnwindSafe for InformationSchemaProvider
impl Send for InformationSchemaProvider
impl Sync for InformationSchemaProvider
impl Unpin for InformationSchemaProvider
impl !UnwindSafe for InformationSchemaProvider
Blanket Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for InformationSchemaProvider
impl Send for InformationSchemaProvider
impl Sync for InformationSchemaProvider
impl Unpin for InformationSchemaProvider
impl !UnwindSafe for InformationSchemaProvider
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/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index 73e111ed49d8..600a4d513cc8 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcepub(crate) fn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaTablesBuilder
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§
fn conv<T>(self) -> Twhere
diff --git a/catalog/information_schema/tables/struct.InformationSchemaTables.html b/catalog/information_schema/tables/struct.InformationSchemaTables.html
index 73e111ed49d8..600a4d513cc8 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTables.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTables.html
@@ -5,7 +5,7 @@
}Fields§
§schema: SchemaRef
§catalog_name: String
§catalog_manager: Weak<dyn CatalogManager>
Implementations§
source§impl InformationSchemaTables
sourcepub(super) fn new(
catalog_name: String,
catalog_manager: Weak<dyn CatalogManager>
-) -> Self
sourcepub(crate) fn schema() -> SchemaRef
sourcefn builder(&self) -> InformationSchemaTablesBuilder
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 InformationSchemaTables
impl InformationSchemaTables
pub(super) fn new( catalog_name: String, catalog_manager: Weak<dyn CatalogManager> -) -> Self
pub(crate) fn schema() -> SchemaRef
fn builder(&self) -> InformationSchemaTablesBuilder
impl !RefUnwindSafe for InformationSchemaTables
impl Send for InformationSchemaTables
impl Sync for InformationSchemaTables
impl Unpin for InformationSchemaTables
impl !UnwindSafe for InformationSchemaTables
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,
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 fc2e7f26baaf..88ee74cf9d15 100644
--- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
+++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html
@@ -20,7 +20,7 @@
catalog_name: &str,
schema_name: &str,
table_name: &str,
- table_type: TableType,
+ table_type: TableType,
table_id: Option<u32>,
engine: Option<&str>
)
sourcefn finish(&mut self) -> Result<RecordBatch>
fn conv<T>(self) -> Twhere diff --git a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html index fc2e7f26baaf..88ee74cf9d15 100644 --- a/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html +++ b/catalog/information_schema/tables/struct.InformationSchemaTablesBuilder.html @@ -20,7 +20,7 @@ catalog_name: &str, schema_name: &str, table_name: &str, - table_type: TableType, + table_type: TableType, table_id: Option<u32>, engine: Option<&str> )
fn finish(&mut self) -> Result<RecordBatch>
Auto Trait Implementations§
impl !RefUnwindSafe for InformationSchemaTablesBuilder
impl Send for InformationSchemaTablesBuilder
impl Sync for InformationSchemaTablesBuilder
impl Unpin for InformationSchemaTablesBuilder
impl !UnwindSafe for InformationSchemaTablesBuilder
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 6050a90beb82..0cf10f8c594e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -6,5 +6,5 @@
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§
impl<T> Any for Twhere
diff --git a/catalog/information_schema/trait.InformationTable.html b/catalog/information_schema/trait.InformationTable.html
index 6050a90beb82..0cf10f8c594e 100644
--- a/catalog/information_schema/trait.InformationTable.html
+++ b/catalog/information_schema/trait.InformationTable.html
@@ -6,5 +6,5 @@
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§
fn table_id(&self) -> TableId
fn table_name(&self) -> &'static str
fn schema(&self) -> SchemaRef
fn to_stream(&self) -> Result<SendableRecordBatchStream>
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§
fn invalidate_table_id<'life0, 'life1, 'async_trait>( &'life0 self, ctx: &'life1 Context, - table_id: TableId + table_id: TableId ) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, @@ -74,7 +74,7 @@ catalog: &'life1 str, schema: &'life2 str, table_name: &'life3 str -) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, diff --git a/catalog/kvbackend/manager/struct.SystemCatalog.html b/catalog/kvbackend/manager/struct.SystemCatalog.html index 9eff387e8a4a..c383f8118964 100644 --- a/catalog/kvbackend/manager/struct.SystemCatalog.html +++ b/catalog/kvbackend/manager/struct.SystemCatalog.html @@ -11,7 +11,7 @@ catalog: &str, schema: &str, table_name: &str -) -> Option<TableRef>
source§impl Clone for SystemCatalog
impl Clone for SystemCatalog
source§fn clone(&self) -> SystemCatalog
fn clone(&self) -> SystemCatalog
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreimpl !RefUnwindSafe for SystemCatalog
impl Send for SystemCatalog
impl Sync for SystemCatalog
impl Unpin for SystemCatalog
impl !UnwindSafe for SystemCatalog
Trait Implementations§
source§impl Clone for SystemCatalog
impl Clone for SystemCatalog
source§fn clone(&self) -> SystemCatalog
fn clone(&self) -> SystemCatalog
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for SystemCatalog
impl Send for SystemCatalog
impl Sync for SystemCatalog
impl Unpin for SystemCatalog
impl !UnwindSafe for SystemCatalog
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/kvbackend/struct.KvBackendCatalogManager.html b/catalog/kvbackend/struct.KvBackendCatalogManager.html
index 239798bb5bac..bcc4e79f3030 100644
--- a/catalog/kvbackend/struct.KvBackendCatalogManager.html
+++ b/catalog/kvbackend/struct.KvBackendCatalogManager.html
@@ -23,7 +23,7 @@
'life1: 'async_trait,
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
@@ -74,7 +74,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/memory/manager/struct.MemoryCatalogManager.html b/catalog/memory/manager/struct.MemoryCatalogManager.html
index 83ced5e75e65..dd08e277d1c8 100644
--- a/catalog/memory/manager/struct.MemoryCatalogManager.html
+++ b/catalog/memory/manager/struct.MemoryCatalogManager.html
@@ -1,7 +1,7 @@
MemoryCatalogManager in catalog::memory::manager - Rust Struct catalog::memory::manager::MemoryCatalogManager
source · pub struct MemoryCatalogManager {
- catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
+ catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
}
Expand description
Simple in-memory list of catalogs
-Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
+Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
Implementations§
source§impl MemoryCatalogManager
sourcepub fn new() -> Arc<Self>
sourcepub fn with_default_setup() -> Arc<Self>
Creates a manager with some default setups
(e.g. default catalog/schema and information schema)
sourcefn schema_exist_sync(&self, catalog: &str, schema: &str) -> Result<bool>
sourcefn catalog_exist_sync(&self, catalog: &str) -> Result<bool>
sourcepub fn register_catalog_sync(&self, name: &str) -> Result<bool>
Registers a catalog if it does not exist and returns false if the schema exists.
@@ -18,7 +18,7 @@
sourcefn create_catalog_entry(
self: &Arc<Self>,
catalog: String
-) -> HashMap<String, HashMap<String, TableRef>>
Trait Implementations§
Trait Implementations§
source§impl CatalogManager for MemoryCatalogManager
source§fn schema_exists<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
catalog: &'life1 str,
schema: &'life2 str
@@ -31,7 +31,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/memory/manager/type.SchemaEntries.html b/catalog/memory/manager/type.SchemaEntries.html
index e08a73e4fce1..06ddf021ba39 100644
--- a/catalog/memory/manager/type.SchemaEntries.html
+++ b/catalog/memory/manager/type.SchemaEntries.html
@@ -1 +1 @@
-SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
+SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
diff --git a/catalog/struct.RegisterSystemTableRequest.html b/catalog/struct.RegisterSystemTableRequest.html
index 98ffda68e56e..a3007b081a96 100644
--- a/catalog/struct.RegisterSystemTableRequest.html
+++ b/catalog/struct.RegisterSystemTableRequest.html
@@ -1,5 +1,5 @@
RegisterSystemTableRequest in catalog - Rust Struct catalog::RegisterSystemTableRequest
source · pub struct RegisterSystemTableRequest {
- pub create_table_request: CreateTableRequest,
+ pub create_table_request: CreateTableRequest,
pub open_hook: Option<OpenSystemTableHook>,
}
Expand description
Register system table request:
@@ -7,7 +7,7 @@
with table ref after opening the system table
- When system table is not exists, create and register the table by create_table_request and calls open_hook with the created table.
-Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
Blanket Implementations§
Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
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/struct.RegisterTableRequest.html b/catalog/struct.RegisterTableRequest.html
index c2f30ba4aa53..91238cde5a87 100644
--- a/catalog/struct.RegisterTableRequest.html
+++ b/catalog/struct.RegisterTableRequest.html
@@ -2,9 +2,9 @@
pub catalog: String,
pub schema: String,
pub table_name: String,
- pub table_id: TableId,
- pub table: TableRef,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+ pub table: TableRef,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
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/struct.RenameTableRequest.html b/catalog/struct.RenameTableRequest.html
index c0a56b79a189..166aa7465716 100644
--- a/catalog/struct.RenameTableRequest.html
+++ b/catalog/struct.RenameTableRequest.html
@@ -3,8 +3,8 @@
pub schema: String,
pub table_name: String,
pub new_table_name: String,
- pub table_id: TableId,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
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/trait.CatalogManager.html b/catalog/trait.CatalogManager.html
index cc8091a5169e..3f057be0493b 100644
--- a/catalog/trait.CatalogManager.html
+++ b/catalog/trait.CatalogManager.html
@@ -54,7 +54,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
- ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
+ ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -107,7 +107,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/type.OpenSystemTableHook.html b/catalog/type.OpenSystemTableHook.html
index 6b2713f62a6a..1eefe22addab 100644
--- a/catalog/type.OpenSystemTableHook.html
+++ b/catalog/type.OpenSystemTableHook.html
@@ -1,2 +1,2 @@
-OpenSystemTableHook in catalog - Rust Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+OpenSystemTableHook in catalog - Rust
\ No newline at end of file
diff --git a/client/all.html b/client/all.html
index 1058c330a5ce..9bb88a75eba3 100644
--- a/client/all.html
+++ b/client/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
diff --git a/client/database/struct.Database.html b/client/database/struct.Database.html
index 1c72f65df0e4..2fe6e5e0e2fb 100644
--- a/client/database/struct.Database.html
+++ b/client/database/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/enum.Output.html b/client/enum.Output.html
new file mode 100644
index 000000000000..78dc13d76b4a
--- /dev/null
+++ b/client/enum.Output.html
@@ -0,0 +1,118 @@
+Output in client - Rust pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
§AffectedRows(usize)
§RecordBatches(RecordBatches)
§Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Output
§impl Send for Output
§impl !Sync for Output
§impl Unpin for Output
§impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/fn.from_grpc_response.html b/client/fn.from_grpc_response.html
index 0f422cea122b..0ffdc48fee12 100644
--- a/client/fn.from_grpc_response.html
+++ b/client/fn.from_grpc_response.html
@@ -1 +1 @@
-from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
+from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
diff --git a/client/index.html b/client/index.html
index 3c2e9096c074..1b3ba37a3ae1 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1 @@
-client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
\ No newline at end of file
+client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
\ No newline at end of file
diff --git a/client/region/struct.RegionRequester.html b/client/region/struct.RegionRequester.html
index c52e450ec287..74fb7ac4de8e 100644
--- a/client/region/struct.RegionRequester.html
+++ b/client/region/struct.RegionRequester.html
@@ -3,7 +3,7 @@
}Fields§
§client: Client
Implementations§
Trait Implementations§
source§impl Datanode for RegionRequester
Trait Implementations§
source§impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
Handles DML, and DDL requests.source§fn handle_query<'life0, 'async_trait>(
&'life0 self,
request: QueryRequest
-) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
§impl !RefUnwindSafe for RegionRequester
§impl Send for RegionRequester
§impl Sync for RegionRequester
§impl Unpin for RegionRequester
§impl !UnwindSafe for RegionRequester
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/struct.RecordBatches.html b/client/struct.RecordBatches.html
new file mode 100644
index 000000000000..d4b5134bef55
--- /dev/null
+++ b/client/struct.RecordBatches.html
@@ -0,0 +1,134 @@
+RecordBatches in client - Rust Struct client::RecordBatches
pub struct RecordBatches {
+ pub(crate) schema: Arc<Schema, Global>,
+ pub(crate) batches: Vec<RecordBatch, Global>,
+}
Fields§
§schema: Arc<Schema, Global>
§batches: Vec<RecordBatch, Global>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema, Global>,
+ columns: I
+) -> Result<RecordBatches, Error>where
+ I: IntoIterator<Item = Arc<dyn Vector, Global>>,
pub async fn try_collect(
+ stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
+) -> impl Future<Output = 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, Global>,
+ batches: Vec<RecordBatch, Global>
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema, Global>
pub fn take(self) -> Vec<RecordBatch, Global>
pub fn as_stream(
+ &self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
pub fn into_df_stream(
+ self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, DataFusionError>> + Send, Global>>
Trait Implementations§
§impl Debug for RecordBatches
§impl IntoIterator for RecordBatches
§type IntoIter = IntoIter<<RecordBatches as IntoIterator>::Item, Global>
Which kind of iterator are we turning this into?§fn into_iter(self) -> <RecordBatches as IntoIterator>::IntoIter
Creates an iterator from a value. Read more§impl PartialEq<RecordBatches> for RecordBatches
§fn eq(&self, other: &RecordBatches) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.§impl StructuralPartialEq for RecordBatches
Auto Trait Implementations§
§impl !RefUnwindSafe for RecordBatches
§impl Send for RecordBatches
§impl Sync for RecordBatches
§impl Unpin for RecordBatches
§impl !UnwindSafe for RecordBatches
Blanket Implementations§
§impl<I> BidiIterator for Iwhere
+ I: IntoIterator,
+ <I as IntoIterator>::IntoIter: DoubleEndedIterator,
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/type.SendableRecordBatchStream.html b/client/type.SendableRecordBatchStream.html
new file mode 100644
index 000000000000..df7268aab19a
--- /dev/null
+++ b/client/type.SendableRecordBatchStream.html
@@ -0,0 +1 @@
+SendableRecordBatchStream in client - Rust
\ No newline at end of file
diff --git a/common_grpc_expr/alter/fn.alter_expr_to_request.html b/common_grpc_expr/alter/fn.alter_expr_to_request.html
index 63f2342d02da..1850a92935fc 100644
--- a/common_grpc_expr/alter/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/alter/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr::alter - Rust Function common_grpc_expr::alter::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/alter/index.html b/common_grpc_expr/alter/index.html
index bd7e5b33fbcf..4206ec54f54a 100644
--- a/common_grpc_expr/alter/index.html
+++ b/common_grpc_expr/alter/index.html
@@ -1 +1 @@
-common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/delete/fn.to_table_delete_request.html b/common_grpc_expr/delete/fn.to_table_delete_request.html
index 17bb5cee292b..4d6dd1ad4737 100644
--- a/common_grpc_expr/delete/fn.to_table_delete_request.html
+++ b/common_grpc_expr/delete/fn.to_table_delete_request.html
@@ -2,4 +2,4 @@
catalog_name: &str,
schema_name: &str,
request: DeleteRequest
-) -> Result<DeleteRequest>
\ No newline at end of file
+) -> Result<DeleteRequest>
\ No newline at end of file
diff --git a/common_grpc_expr/fn.alter_expr_to_request.html b/common_grpc_expr/fn.alter_expr_to_request.html
index fb020673c315..e83fe76ebb26 100644
--- a/common_grpc_expr/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr - Rust Function common_grpc_expr::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/index.html b/common_grpc_expr/index.html
index 123b65c2895b..3fd0656e8b4a 100644
--- a/common_grpc_expr/index.html
+++ b/common_grpc_expr/index.html
@@ -1 +1 @@
-common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
index 36f3cb9ff049..d204bc70ab7b 100644
--- a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
+++ b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
@@ -1,7 +1,7 @@
build_create_expr_from_insertion in common_grpc_expr::insert - Rust Function common_grpc_expr::insert::build_create_expr_from_insertion
source · pub fn build_create_expr_from_insertion(
catalog_name: &str,
schema_name: &str,
- table_id: Option<TableId>,
+ table_id: Option<TableId>,
table_name: &str,
columns: &[Column],
engine: &str
diff --git a/common_grpc_expr/util/fn.build_create_table_expr.html b/common_grpc_expr/util/fn.build_create_table_expr.html
index e78b4de945b9..76a2b47b82aa 100644
--- a/common_grpc_expr/util/fn.build_create_table_expr.html
+++ b/common_grpc_expr/util/fn.build_create_table_expr.html
@@ -1,6 +1,6 @@
build_create_table_expr in common_grpc_expr::util - Rust Function common_grpc_expr::util::build_create_table_expr
source · pub fn build_create_table_expr(
- table_id: Option<TableId>,
- table_name: &TableReference<'_>,
+ table_id: Option<TableId>,
+ table_name: &TableReference<'_>,
column_exprs: Vec<ColumnExpr<'_>>,
engine: &str,
desc: &str
diff --git a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
index 13feb0240fbf..94e9334f09a2 100644
--- a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
+++ b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
@@ -1,7 +1,7 @@
DummyCacheInvalidator in common_meta::cache_invalidator - Rust pub struct DummyCacheInvalidator;
Trait Implementations§
source§impl CacheInvalidator for DummyCacheInvalidator
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
- _table_id: TableId
+ _table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/cache_invalidator/trait.CacheInvalidator.html b/common_meta/cache_invalidator/trait.CacheInvalidator.html
index dc6e8864c3a7..004d340a376a 100644
--- a/common_meta/cache_invalidator/trait.CacheInvalidator.html
+++ b/common_meta/cache_invalidator/trait.CacheInvalidator.html
@@ -3,7 +3,7 @@
fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
@@ -19,7 +19,7 @@
}Required Methods§
sourcefn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
index 625083846c6d..4e32e147c5db 100644
--- a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
+++ b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
@@ -1,5 +1,5 @@
create_proto_alter_kind in common_meta::ddl::alter_table - Rust Function common_meta::ddl::alter_table::create_proto_alter_kind
source · pub fn create_proto_alter_kind(
- table_info: &RawTableInfo,
+ table_info: &RawTableInfo,
alter_kind: &Kind
) -> Result<(Option<Kind>, Option<ColumnId>)>
Expand description
Creates region proto alter kind from table_info
and alter_kind
.
Returns the kind and next column id if it adds new columns.
diff --git a/common_meta/ddl/alter_table/struct.AlterTableData.html b/common_meta/ddl/alter_table/struct.AlterTableData.html
index f9a58a4e56bc..018ff5a55e63 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableData.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableData.html
@@ -11,7 +11,7 @@
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
cluster_id: u64,
next_column_id: Option<ColumnId>
-) -> Selfsourcefn table_ref(&self) -> TableReference<'_>
sourcefn table_id(&self) -> TableId
sourcefn table_info(&self) -> &RawTableInfo
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for AlterTableData
§impl Send for AlterTableData
§impl Sync for AlterTableData
§impl Unpin for AlterTableData
§impl UnwindSafe for AlterTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
index 473eaaaee000..6a100fc8420b 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
@@ -17,8 +17,8 @@
) -> Result<()>
Update table metadata for rename table operation.
sourceasync fn on_update_metadata_for_alter(
&self,
- new_table_info: RawTableInfo
-) -> Result<()>
sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
+ new_table_info: RawTableInfo
+) -> Result<()>sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
sourceasync fn on_broadcast(&mut self) -> Result<Status>
Broadcasts the invalidating table cache instructions.
sourcefn lock_key_inner(&self) -> Vec<String>
Trait Implementations§
source§impl Procedure for AlterTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff --git a/common_meta/ddl/create_table/struct.CreateTableData.html b/common_meta/ddl/create_table/struct.CreateTableData.html
index 2e5e27fd7eb4..4330b2fbd1af 100644
--- a/common_meta/ddl/create_table/struct.CreateTableData.html
+++ b/common_meta/ddl/create_table/struct.CreateTableData.html
@@ -3,7 +3,7 @@
pub task: CreateTableTask,
pub region_routes: Vec<RegionRoute>,
pub cluster_id: u64,
-}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
source§impl CreateTableData
sourcefn table_ref(&self) -> TableReference<'_>
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for CreateTableData
§impl Send for CreateTableData
§impl Sync for CreateTableData
§impl Unpin for CreateTableData
§impl UnwindSafe for CreateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/create_table/struct.CreateTableProcedure.html b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
index b71e4a8436f9..9a2a1de73fad 100644
--- a/common_meta/ddl/create_table/struct.CreateTableProcedure.html
+++ b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
@@ -6,7 +6,7 @@
task: CreateTableTask,
region_routes: Vec<RegionRoute>,
context: DdlContext
-) -> Self
sourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
+) -> Selfsourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
sourcepub fn create_region_request_template(&self) -> Result<PbCreateRegionRequest>
sourcepub async fn on_datanode_create_regions(&mut self) -> Result<Status>
sourceasync fn on_create_metadata(&self) -> Result<Status>
Trait Implementations§
source§impl Procedure for CreateTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_ctx: &'life1 ProcedureContext
diff --git a/common_meta/ddl/drop_table/struct.DropTableData.html b/common_meta/ddl/drop_table/struct.DropTableData.html
index 46e3a21db8cd..2b91fa24c713 100644
--- a/common_meta/ddl/drop_table/struct.DropTableData.html
+++ b/common_meta/ddl/drop_table/struct.DropTableData.html
@@ -9,7 +9,7 @@
task: DropTableTask,
table_route_value: DeserializedValueWithBytes<TableRouteValue>,
table_info_value: DeserializedValueWithBytes<TableInfoValue>
-) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for DropTableData
§impl Send for DropTableData
§impl Sync for DropTableData
§impl Unpin for DropTableData
§impl UnwindSafe for DropTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/trait.TableMetadataAllocator.html b/common_meta/ddl/trait.TableMetadataAllocator.html
index b095be070299..36cbad59636a 100644
--- a/common_meta/ddl/trait.TableMetadataAllocator.html
+++ b/common_meta/ddl/trait.TableMetadataAllocator.html
@@ -3,7 +3,7 @@
fn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>
where Self: 'async_trait,
@@ -14,7 +14,7 @@
}Required Methods§
sourcefn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/common_meta/ddl/truncate_table/struct.TruncateTableData.html b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
index 7363b523f063..708e5561808d 100644
--- a/common_meta/ddl/truncate_table/struct.TruncateTableData.html
+++ b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
@@ -9,7 +9,7 @@
task: TruncateTableTask,
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
region_routes: Vec<RegionRoute>
-) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for TruncateTableData
§impl Send for TruncateTableData
§impl Sync for TruncateTableData
§impl Unpin for TruncateTableData
§impl UnwindSafe for TruncateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/error/enum.Error.html b/common_meta/error/enum.Error.html
index 541ce4833b77..1a92776ff7a1 100644
--- a/common_meta/error/enum.Error.html
+++ b/common_meta/error/enum.Error.html
@@ -44,12 +44,12 @@
},
BuildTableMeta {
table_name: String,
- error: TableMetaBuilderError,
+ error: TableMetaBuilderError,
location: Location,
},
Table {
location: Location,
- source: Error,
+ source: Error,
},
TableRouteNotFound {
table_name: String,
@@ -145,7 +145,7 @@
location: Location,
},
MoveRegion {
- table_id: TableId,
+ table_id: TableId,
region: RegionNumber,
err_msg: String,
location: Location,
@@ -169,7 +169,7 @@
RetryLater {
source: BoxedError,
},
-
}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
+}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
sourcepub fn is_retry_later(&self) -> bool
Determine whether it is a retry later type through StatusCode
Trait Implementations§
source§impl Error for Errorwhere
Self: Debug + Display,
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§fn output_msg(&self) -> Stringwhere
Self: Sized,
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0> IntoError<Error> for CacheNotGetSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for CatalogAlreadyExistsSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -206,7 +206,7 @@
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0> IntoError<Error> for NextSequenceSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -245,7 +245,7 @@
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for TableRouteNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
+ Error: Error + ErrorCompat,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSnafu<__T0>where
Error: Error + ErrorCompat,
diff --git a/common_meta/error/struct.BuildTableMetaSnafu.html b/common_meta/error/struct.BuildTableMetaSnafu.html
index 848719b5d875..de793f19e317 100644
--- a/common_meta/error/struct.BuildTableMetaSnafu.html
+++ b/common_meta/error/struct.BuildTableMetaSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::BuildTableMeta
variant
Fields§
§table_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for BuildTableMetaSnafu<__T0>
source§fn clone(&self) -> BuildTableMetaSnafu<__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 BuildTableMetaSnafu<__T0>
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for BuildTableMetaSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for BuildTableMetaSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for BuildTableMetaSnafu<__T0>where
diff --git a/common_meta/error/struct.MoveRegionSnafu.html b/common_meta/error/struct.MoveRegionSnafu.html
index 7225b5d448e7..33e45ac82117 100644
--- a/common_meta/error/struct.MoveRegionSnafu.html
+++ b/common_meta/error/struct.MoveRegionSnafu.html
@@ -4,16 +4,16 @@
pub err_msg: __T2,
}Expand description
SNAFU context selector for the Error::MoveRegion
variant
Fields§
§table_id: __T0
§region: __T1
§err_msg: __T2
Implementations§
Trait Implementations§
source§impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for MoveRegionSnafu<__T0, __T1, __T2>
source§fn clone(&self) -> MoveRegionSnafu<__T0, __T1, __T2>
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, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for MoveRegionSnafu<__T0, __T1, __T2>
Auto Trait Implementations§
§impl<__T0, __T1, __T2> RefUnwindSafe for MoveRegionSnafu<__T0, __T1, __T2>where
__T0: RefUnwindSafe,
diff --git a/common_meta/error/struct.TableSnafu.html b/common_meta/error/struct.TableSnafu.html
index d9c91350619f..a2c1ecb55273 100644
--- a/common_meta/error/struct.TableSnafu.html
+++ b/common_meta/error/struct.TableSnafu.html
@@ -1,6 +1,6 @@
TableSnafu in common_meta::error - Rust Struct common_meta::error::TableSnafu
source · pub struct TableSnafu;
Expand description
SNAFU context selector for the Error::Table
variant
Trait Implementations§
source§impl Clone for TableSnafu
source§fn clone(&self) -> TableSnafu
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 TableSnafu
source§impl Copy for TableSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
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/common_meta/instruction/enum.Instruction.html b/common_meta/instruction/enum.Instruction.html
index 7a20097062e3..f2b72df49f65 100644
--- a/common_meta/instruction/enum.Instruction.html
+++ b/common_meta/instruction/enum.Instruction.html
@@ -1,9 +1,9 @@
Instruction in common_meta::instruction - Rust Enum common_meta::instruction::Instruction
source · pub enum Instruction {
OpenRegion(OpenRegion),
CloseRegion(RegionIdent),
- InvalidateTableIdCache(TableId),
+ InvalidateTableIdCache(TableId),
InvalidateTableNameCache(TableName),
-}
Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for Instruction
Auto Trait Implementations§
§impl RefUnwindSafe for Instruction
§impl Send for Instruction
§impl Sync for Instruction
§impl Unpin for Instruction
§impl UnwindSafe for Instruction
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/instruction/struct.RegionIdent.html b/common_meta/instruction/struct.RegionIdent.html
index 834642f1f56d..e1c0821020fb 100644
--- a/common_meta/instruction/struct.RegionIdent.html
+++ b/common_meta/instruction/struct.RegionIdent.html
@@ -1,10 +1,10 @@
RegionIdent in common_meta::instruction - Rust Struct common_meta::instruction::RegionIdent
source · pub struct RegionIdent {
pub cluster_id: ClusterId,
pub datanode_id: DatanodeId,
- pub table_id: TableId,
+ pub table_id: TableId,
pub region_number: RegionNumber,
pub engine: String,
-}
Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for RegionIdent
source§impl Hash for RegionIdent
source§impl PartialEq<RegionIdent> for RegionIdent
source§fn eq(&self, other: &RegionIdent) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableKey.html b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
index 831cc2a090bc..eb2071d8b654 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableKey.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
@@ -1,7 +1,7 @@
DatanodeTableKey in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableKey
source · pub struct DatanodeTableKey {
datanode_id: DatanodeId,
- table_id: TableId,
-}
Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
Blanket Implementations§
source§impl<T> Any for Twhere
+ table_id: TableId,
+}Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
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/common_meta/key/datanode_table/struct.DatanodeTableManager.html b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
index b1e8ab3c4b74..020d5420db60 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableManager.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
@@ -8,7 +8,7 @@
datanode_id: DatanodeId
) -> BoxStream<'static, Result<DatanodeTableValue>>
sourcepub fn build_create_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
engine: &str,
region_storage_path: &str,
region_options: HashMap<String, String>,
@@ -16,7 +16,7 @@
) -> Result<Txn>
Builds the create datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub(crate) fn build_update_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_region_distribution: RegionDistribution,
new_region_distribution: RegionDistribution,
@@ -24,7 +24,7 @@
) -> Result<Txn>
Builds the update datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub fn build_delete_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
distribution: RegionDistribution
) -> Result<Txn>
Builds the delete datanode table transactions. It only executes while the primary keys comparing successes.
Auto Trait Implementations§
§impl !RefUnwindSafe for DatanodeTableManager
§impl Send for DatanodeTableManager
§impl Sync for DatanodeTableManager
§impl Unpin for DatanodeTableManager
§impl !UnwindSafe for DatanodeTableManager
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableValue.html b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
index a32244212294..82d59648fcfd 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableValue.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
@@ -1,10 +1,10 @@
DatanodeTableValue in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableValue
source · pub struct DatanodeTableValue {
- pub table_id: TableId,
+ pub table_id: TableId,
pub regions: Vec<RegionNumber>,
pub region_info: RegionInfo,
version: u64,
-}
Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
- table_id: TableId,
+}Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
+ table_id: TableId,
regions: Vec<RegionNumber>,
region_info: RegionInfo
) -> Self
source§impl DatanodeTableValue
sourcepub fn try_from_raw_value(raw_value: &[u8]) -> Result<Self>
sourcepub fn try_as_raw_value(&self) -> Result<Vec<u8>>
Trait Implementations§
source§impl Clone for DatanodeTableValue
source§fn clone(&self) -> DatanodeTableValue
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 DatanodeTableValue
source§impl<'de> Deserialize<'de> for DatanodeTableValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
diff --git a/common_meta/key/struct.TableMetadataManager.html b/common_meta/key/struct.TableMetadataManager.html
index 6342e3e5e772..ca0e2101e96e 100644
--- a/common_meta/key/struct.TableMetadataManager.html
+++ b/common_meta/key/struct.TableMetadataManager.html
@@ -8,10 +8,10 @@
kv_backend: KvBackendRef,
}Fields§
§table_name_manager: TableNameManager
§table_info_manager: TableInfoManager
§datanode_table_manager: DatanodeTableManager
§catalog_manager: CatalogManager
§schema_manager: SchemaManager
§table_route_manager: TableRouteManager
§kv_backend: KvBackendRef
Implementations§
source§impl TableMetadataManager
sourcepub fn new(kv_backend: KvBackendRef) -> Self
sourcepub async fn init(&self) -> Result<()>
sourcepub fn table_name_manager(&self) -> &TableNameManager
sourcepub fn table_info_manager(&self) -> &TableInfoManager
sourcepub fn datanode_table_manager(&self) -> &DatanodeTableManager
sourcepub fn catalog_manager(&self) -> &CatalogManager
sourcepub fn schema_manager(&self) -> &SchemaManager
sourcepub fn table_route_manager(&self) -> &TableRouteManager
sourcepub fn kv_backend(&self) -> &KvBackendRef
sourcepub async fn get_full_table_info(
&self,
- table_id: TableId
+ table_id: TableId
) -> Result<(Option<DeserializedValueWithBytes<TableInfoValue>>, Option<DeserializedValueWithBytes<TableRouteValue>>)>
sourcepub async fn create_table_metadata(
&self,
- table_info: RawTableInfo,
+ table_info: RawTableInfo,
region_routes: Vec<RegionRoute>
) -> Result<()>
Creates metadata for table and returns an error if different metadata exists.
The caller MUST ensure it has the exclusive access to TableNameKey
.
@@ -31,11 +31,11 @@
sourcepub async fn update_table_info(
&self,
current_table_info_value: DeserializedValueWithBytes<TableInfoValue>,
- new_table_info: RawTableInfo
+ new_table_info: RawTableInfo
) -> Result<()>
Updates table info and returns an error if different metadata exists.
sourcepub async fn update_table_route(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_table_route_value: DeserializedValueWithBytes<TableRouteValue>,
new_region_routes: Vec<RegionRoute>,
diff --git a/common_meta/key/table_info/struct.TableInfoKey.html b/common_meta/key/table_info/struct.TableInfoKey.html
index a65b5c4c9471..f974bb124def 100644
--- a/common_meta/key/table_info/struct.TableInfoKey.html
+++ b/common_meta/key/table_info/struct.TableInfoKey.html
@@ -1,6 +1,6 @@
TableInfoKey in common_meta::key::table_info - Rust Struct common_meta::key::table_info::
fn conv<T>(self) -> Twhere diff --git a/catalog/kvbackend/struct.KvBackendCatalogManager.html b/catalog/kvbackend/struct.KvBackendCatalogManager.html index 239798bb5bac..bcc4e79f3030 100644 --- a/catalog/kvbackend/struct.KvBackendCatalogManager.html +++ b/catalog/kvbackend/struct.KvBackendCatalogManager.html @@ -23,7 +23,7 @@ 'life1: 'async_trait,
fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = MetaResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
@@ -74,7 +74,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = CatalogResult<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/memory/manager/struct.MemoryCatalogManager.html b/catalog/memory/manager/struct.MemoryCatalogManager.html
index 83ced5e75e65..dd08e277d1c8 100644
--- a/catalog/memory/manager/struct.MemoryCatalogManager.html
+++ b/catalog/memory/manager/struct.MemoryCatalogManager.html
@@ -1,7 +1,7 @@
MemoryCatalogManager in catalog::memory::manager - Rust Struct catalog::memory::manager::MemoryCatalogManager
source · pub struct MemoryCatalogManager {
- catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
+ catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
}
Expand description
Simple in-memory list of catalogs
-Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
+Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
Implementations§
source§impl MemoryCatalogManager
sourcepub fn new() -> Arc<Self>
sourcepub fn with_default_setup() -> Arc<Self>
Creates a manager with some default setups
(e.g. default catalog/schema and information schema)
sourcefn schema_exist_sync(&self, catalog: &str, schema: &str) -> Result<bool>
sourcefn catalog_exist_sync(&self, catalog: &str) -> Result<bool>
sourcepub fn register_catalog_sync(&self, name: &str) -> Result<bool>
Registers a catalog if it does not exist and returns false if the schema exists.
@@ -18,7 +18,7 @@
sourcefn create_catalog_entry(
self: &Arc<Self>,
catalog: String
-) -> HashMap<String, HashMap<String, TableRef>>
Trait Implementations§
Trait Implementations§
source§impl CatalogManager for MemoryCatalogManager
source§fn schema_exists<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
catalog: &'life1 str,
schema: &'life2 str
@@ -31,7 +31,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/memory/manager/type.SchemaEntries.html b/catalog/memory/manager/type.SchemaEntries.html
index e08a73e4fce1..06ddf021ba39 100644
--- a/catalog/memory/manager/type.SchemaEntries.html
+++ b/catalog/memory/manager/type.SchemaEntries.html
@@ -1 +1 @@
-SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
+SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
diff --git a/catalog/struct.RegisterSystemTableRequest.html b/catalog/struct.RegisterSystemTableRequest.html
index 98ffda68e56e..a3007b081a96 100644
--- a/catalog/struct.RegisterSystemTableRequest.html
+++ b/catalog/struct.RegisterSystemTableRequest.html
@@ -1,5 +1,5 @@
RegisterSystemTableRequest in catalog - Rust Struct catalog::RegisterSystemTableRequest
source · pub struct RegisterSystemTableRequest {
- pub create_table_request: CreateTableRequest,
+ pub create_table_request: CreateTableRequest,
pub open_hook: Option<OpenSystemTableHook>,
}
Expand description
Register system table request:
@@ -7,7 +7,7 @@
with table ref after opening the system table
- When system table is not exists, create and register the table by create_table_request and calls open_hook with the created table.
-Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
Blanket Implementations§
Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
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/struct.RegisterTableRequest.html b/catalog/struct.RegisterTableRequest.html
index c2f30ba4aa53..91238cde5a87 100644
--- a/catalog/struct.RegisterTableRequest.html
+++ b/catalog/struct.RegisterTableRequest.html
@@ -2,9 +2,9 @@
pub catalog: String,
pub schema: String,
pub table_name: String,
- pub table_id: TableId,
- pub table: TableRef,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+ pub table: TableRef,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
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/struct.RenameTableRequest.html b/catalog/struct.RenameTableRequest.html
index c0a56b79a189..166aa7465716 100644
--- a/catalog/struct.RenameTableRequest.html
+++ b/catalog/struct.RenameTableRequest.html
@@ -3,8 +3,8 @@
pub schema: String,
pub table_name: String,
pub new_table_name: String,
- pub table_id: TableId,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
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/trait.CatalogManager.html b/catalog/trait.CatalogManager.html
index cc8091a5169e..3f057be0493b 100644
--- a/catalog/trait.CatalogManager.html
+++ b/catalog/trait.CatalogManager.html
@@ -54,7 +54,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
- ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
+ ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -107,7 +107,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/type.OpenSystemTableHook.html b/catalog/type.OpenSystemTableHook.html
index 6b2713f62a6a..1eefe22addab 100644
--- a/catalog/type.OpenSystemTableHook.html
+++ b/catalog/type.OpenSystemTableHook.html
@@ -1,2 +1,2 @@
-OpenSystemTableHook in catalog - Rust Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+OpenSystemTableHook in catalog - Rust
\ No newline at end of file
diff --git a/client/all.html b/client/all.html
index 1058c330a5ce..9bb88a75eba3 100644
--- a/client/all.html
+++ b/client/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
diff --git a/client/database/struct.Database.html b/client/database/struct.Database.html
index 1c72f65df0e4..2fe6e5e0e2fb 100644
--- a/client/database/struct.Database.html
+++ b/client/database/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/enum.Output.html b/client/enum.Output.html
new file mode 100644
index 000000000000..78dc13d76b4a
--- /dev/null
+++ b/client/enum.Output.html
@@ -0,0 +1,118 @@
+Output in client - Rust pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
§AffectedRows(usize)
§RecordBatches(RecordBatches)
§Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Output
§impl Send for Output
§impl !Sync for Output
§impl Unpin for Output
§impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/fn.from_grpc_response.html b/client/fn.from_grpc_response.html
index 0f422cea122b..0ffdc48fee12 100644
--- a/client/fn.from_grpc_response.html
+++ b/client/fn.from_grpc_response.html
@@ -1 +1 @@
-from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
+from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
diff --git a/client/index.html b/client/index.html
index 3c2e9096c074..1b3ba37a3ae1 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1 @@
-client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
\ No newline at end of file
+client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
\ No newline at end of file
diff --git a/client/region/struct.RegionRequester.html b/client/region/struct.RegionRequester.html
index c52e450ec287..74fb7ac4de8e 100644
--- a/client/region/struct.RegionRequester.html
+++ b/client/region/struct.RegionRequester.html
@@ -3,7 +3,7 @@
}Fields§
§client: Client
Implementations§
Trait Implementations§
source§impl Datanode for RegionRequester
Trait Implementations§
source§impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
Handles DML, and DDL requests.source§fn handle_query<'life0, 'async_trait>(
&'life0 self,
request: QueryRequest
-) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
§impl !RefUnwindSafe for RegionRequester
§impl Send for RegionRequester
§impl Sync for RegionRequester
§impl Unpin for RegionRequester
§impl !UnwindSafe for RegionRequester
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/struct.RecordBatches.html b/client/struct.RecordBatches.html
new file mode 100644
index 000000000000..d4b5134bef55
--- /dev/null
+++ b/client/struct.RecordBatches.html
@@ -0,0 +1,134 @@
+RecordBatches in client - Rust Struct client::RecordBatches
pub struct RecordBatches {
+ pub(crate) schema: Arc<Schema, Global>,
+ pub(crate) batches: Vec<RecordBatch, Global>,
+}
Fields§
§schema: Arc<Schema, Global>
§batches: Vec<RecordBatch, Global>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema, Global>,
+ columns: I
+) -> Result<RecordBatches, Error>where
+ I: IntoIterator<Item = Arc<dyn Vector, Global>>,
pub async fn try_collect(
+ stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
+) -> impl Future<Output = 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, Global>,
+ batches: Vec<RecordBatch, Global>
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema, Global>
pub fn take(self) -> Vec<RecordBatch, Global>
pub fn as_stream(
+ &self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
pub fn into_df_stream(
+ self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, DataFusionError>> + Send, Global>>
Trait Implementations§
§impl Debug for RecordBatches
§impl IntoIterator for RecordBatches
§type IntoIter = IntoIter<<RecordBatches as IntoIterator>::Item, Global>
Which kind of iterator are we turning this into?§fn into_iter(self) -> <RecordBatches as IntoIterator>::IntoIter
Creates an iterator from a value. Read more§impl PartialEq<RecordBatches> for RecordBatches
§fn eq(&self, other: &RecordBatches) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.§impl StructuralPartialEq for RecordBatches
Auto Trait Implementations§
§impl !RefUnwindSafe for RecordBatches
§impl Send for RecordBatches
§impl Sync for RecordBatches
§impl Unpin for RecordBatches
§impl !UnwindSafe for RecordBatches
Blanket Implementations§
§impl<I> BidiIterator for Iwhere
+ I: IntoIterator,
+ <I as IntoIterator>::IntoIter: DoubleEndedIterator,
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/type.SendableRecordBatchStream.html b/client/type.SendableRecordBatchStream.html
new file mode 100644
index 000000000000..df7268aab19a
--- /dev/null
+++ b/client/type.SendableRecordBatchStream.html
@@ -0,0 +1 @@
+SendableRecordBatchStream in client - Rust
\ No newline at end of file
diff --git a/common_grpc_expr/alter/fn.alter_expr_to_request.html b/common_grpc_expr/alter/fn.alter_expr_to_request.html
index 63f2342d02da..1850a92935fc 100644
--- a/common_grpc_expr/alter/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/alter/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr::alter - Rust Function common_grpc_expr::alter::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/alter/index.html b/common_grpc_expr/alter/index.html
index bd7e5b33fbcf..4206ec54f54a 100644
--- a/common_grpc_expr/alter/index.html
+++ b/common_grpc_expr/alter/index.html
@@ -1 +1 @@
-common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/delete/fn.to_table_delete_request.html b/common_grpc_expr/delete/fn.to_table_delete_request.html
index 17bb5cee292b..4d6dd1ad4737 100644
--- a/common_grpc_expr/delete/fn.to_table_delete_request.html
+++ b/common_grpc_expr/delete/fn.to_table_delete_request.html
@@ -2,4 +2,4 @@
catalog_name: &str,
schema_name: &str,
request: DeleteRequest
-) -> Result<DeleteRequest>
\ No newline at end of file
+) -> Result<DeleteRequest>
\ No newline at end of file
diff --git a/common_grpc_expr/fn.alter_expr_to_request.html b/common_grpc_expr/fn.alter_expr_to_request.html
index fb020673c315..e83fe76ebb26 100644
--- a/common_grpc_expr/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr - Rust Function common_grpc_expr::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/index.html b/common_grpc_expr/index.html
index 123b65c2895b..3fd0656e8b4a 100644
--- a/common_grpc_expr/index.html
+++ b/common_grpc_expr/index.html
@@ -1 +1 @@
-common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
index 36f3cb9ff049..d204bc70ab7b 100644
--- a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
+++ b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
@@ -1,7 +1,7 @@
build_create_expr_from_insertion in common_grpc_expr::insert - Rust Function common_grpc_expr::insert::build_create_expr_from_insertion
source · pub fn build_create_expr_from_insertion(
catalog_name: &str,
schema_name: &str,
- table_id: Option<TableId>,
+ table_id: Option<TableId>,
table_name: &str,
columns: &[Column],
engine: &str
diff --git a/common_grpc_expr/util/fn.build_create_table_expr.html b/common_grpc_expr/util/fn.build_create_table_expr.html
index e78b4de945b9..76a2b47b82aa 100644
--- a/common_grpc_expr/util/fn.build_create_table_expr.html
+++ b/common_grpc_expr/util/fn.build_create_table_expr.html
@@ -1,6 +1,6 @@
build_create_table_expr in common_grpc_expr::util - Rust Function common_grpc_expr::util::build_create_table_expr
source · pub fn build_create_table_expr(
- table_id: Option<TableId>,
- table_name: &TableReference<'_>,
+ table_id: Option<TableId>,
+ table_name: &TableReference<'_>,
column_exprs: Vec<ColumnExpr<'_>>,
engine: &str,
desc: &str
diff --git a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
index 13feb0240fbf..94e9334f09a2 100644
--- a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
+++ b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
@@ -1,7 +1,7 @@
DummyCacheInvalidator in common_meta::cache_invalidator - Rust pub struct DummyCacheInvalidator;
Trait Implementations§
source§impl CacheInvalidator for DummyCacheInvalidator
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
- _table_id: TableId
+ _table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/cache_invalidator/trait.CacheInvalidator.html b/common_meta/cache_invalidator/trait.CacheInvalidator.html
index dc6e8864c3a7..004d340a376a 100644
--- a/common_meta/cache_invalidator/trait.CacheInvalidator.html
+++ b/common_meta/cache_invalidator/trait.CacheInvalidator.html
@@ -3,7 +3,7 @@
fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
@@ -19,7 +19,7 @@
}Required Methods§
sourcefn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
index 625083846c6d..4e32e147c5db 100644
--- a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
+++ b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
@@ -1,5 +1,5 @@
create_proto_alter_kind in common_meta::ddl::alter_table - Rust Function common_meta::ddl::alter_table::create_proto_alter_kind
source · pub fn create_proto_alter_kind(
- table_info: &RawTableInfo,
+ table_info: &RawTableInfo,
alter_kind: &Kind
) -> Result<(Option<Kind>, Option<ColumnId>)>
Expand description
Creates region proto alter kind from table_info
and alter_kind
.
Returns the kind and next column id if it adds new columns.
diff --git a/common_meta/ddl/alter_table/struct.AlterTableData.html b/common_meta/ddl/alter_table/struct.AlterTableData.html
index f9a58a4e56bc..018ff5a55e63 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableData.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableData.html
@@ -11,7 +11,7 @@
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
cluster_id: u64,
next_column_id: Option<ColumnId>
-) -> Selfsourcefn table_ref(&self) -> TableReference<'_>
sourcefn table_id(&self) -> TableId
sourcefn table_info(&self) -> &RawTableInfo
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for AlterTableData
§impl Send for AlterTableData
§impl Sync for AlterTableData
§impl Unpin for AlterTableData
§impl UnwindSafe for AlterTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
index 473eaaaee000..6a100fc8420b 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
@@ -17,8 +17,8 @@
) -> Result<()>
Update table metadata for rename table operation.
sourceasync fn on_update_metadata_for_alter(
&self,
- new_table_info: RawTableInfo
-) -> Result<()>
sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
+ new_table_info: RawTableInfo
+) -> Result<()>sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
sourceasync fn on_broadcast(&mut self) -> Result<Status>
Broadcasts the invalidating table cache instructions.
sourcefn lock_key_inner(&self) -> Vec<String>
Trait Implementations§
source§impl Procedure for AlterTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff --git a/common_meta/ddl/create_table/struct.CreateTableData.html b/common_meta/ddl/create_table/struct.CreateTableData.html
index 2e5e27fd7eb4..4330b2fbd1af 100644
--- a/common_meta/ddl/create_table/struct.CreateTableData.html
+++ b/common_meta/ddl/create_table/struct.CreateTableData.html
@@ -3,7 +3,7 @@
pub task: CreateTableTask,
pub region_routes: Vec<RegionRoute>,
pub cluster_id: u64,
-}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
source§impl CreateTableData
sourcefn table_ref(&self) -> TableReference<'_>
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for CreateTableData
§impl Send for CreateTableData
§impl Sync for CreateTableData
§impl Unpin for CreateTableData
§impl UnwindSafe for CreateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/create_table/struct.CreateTableProcedure.html b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
index b71e4a8436f9..9a2a1de73fad 100644
--- a/common_meta/ddl/create_table/struct.CreateTableProcedure.html
+++ b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
@@ -6,7 +6,7 @@
task: CreateTableTask,
region_routes: Vec<RegionRoute>,
context: DdlContext
-) -> Self
sourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
+) -> Selfsourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
sourcepub fn create_region_request_template(&self) -> Result<PbCreateRegionRequest>
sourcepub async fn on_datanode_create_regions(&mut self) -> Result<Status>
sourceasync fn on_create_metadata(&self) -> Result<Status>
Trait Implementations§
source§impl Procedure for CreateTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_ctx: &'life1 ProcedureContext
diff --git a/common_meta/ddl/drop_table/struct.DropTableData.html b/common_meta/ddl/drop_table/struct.DropTableData.html
index 46e3a21db8cd..2b91fa24c713 100644
--- a/common_meta/ddl/drop_table/struct.DropTableData.html
+++ b/common_meta/ddl/drop_table/struct.DropTableData.html
@@ -9,7 +9,7 @@
task: DropTableTask,
table_route_value: DeserializedValueWithBytes<TableRouteValue>,
table_info_value: DeserializedValueWithBytes<TableInfoValue>
-) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for DropTableData
§impl Send for DropTableData
§impl Sync for DropTableData
§impl Unpin for DropTableData
§impl UnwindSafe for DropTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/trait.TableMetadataAllocator.html b/common_meta/ddl/trait.TableMetadataAllocator.html
index b095be070299..36cbad59636a 100644
--- a/common_meta/ddl/trait.TableMetadataAllocator.html
+++ b/common_meta/ddl/trait.TableMetadataAllocator.html
@@ -3,7 +3,7 @@
fn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>
where Self: 'async_trait,
@@ -14,7 +14,7 @@
}Required Methods§
sourcefn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/common_meta/ddl/truncate_table/struct.TruncateTableData.html b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
index 7363b523f063..708e5561808d 100644
--- a/common_meta/ddl/truncate_table/struct.TruncateTableData.html
+++ b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
@@ -9,7 +9,7 @@
task: TruncateTableTask,
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
region_routes: Vec<RegionRoute>
-) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for TruncateTableData
§impl Send for TruncateTableData
§impl Sync for TruncateTableData
§impl Unpin for TruncateTableData
§impl UnwindSafe for TruncateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/error/enum.Error.html b/common_meta/error/enum.Error.html
index 541ce4833b77..1a92776ff7a1 100644
--- a/common_meta/error/enum.Error.html
+++ b/common_meta/error/enum.Error.html
@@ -44,12 +44,12 @@
},
BuildTableMeta {
table_name: String,
- error: TableMetaBuilderError,
+ error: TableMetaBuilderError,
location: Location,
},
Table {
location: Location,
- source: Error,
+ source: Error,
},
TableRouteNotFound {
table_name: String,
@@ -145,7 +145,7 @@
location: Location,
},
MoveRegion {
- table_id: TableId,
+ table_id: TableId,
region: RegionNumber,
err_msg: String,
location: Location,
@@ -169,7 +169,7 @@
RetryLater {
source: BoxedError,
},
-
}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
+}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
sourcepub fn is_retry_later(&self) -> bool
Determine whether it is a retry later type through StatusCode
Trait Implementations§
source§impl Error for Errorwhere
Self: Debug + Display,
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§fn output_msg(&self) -> Stringwhere
Self: Sized,
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0> IntoError<Error> for CacheNotGetSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for CatalogAlreadyExistsSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -206,7 +206,7 @@
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0> IntoError<Error> for NextSequenceSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -245,7 +245,7 @@
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for TableRouteNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
+ Error: Error + ErrorCompat,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSnafu<__T0>where
Error: Error + ErrorCompat,
diff --git a/common_meta/error/struct.BuildTableMetaSnafu.html b/common_meta/error/struct.BuildTableMetaSnafu.html
index 848719b5d875..de793f19e317 100644
--- a/common_meta/error/struct.BuildTableMetaSnafu.html
+++ b/common_meta/error/struct.BuildTableMetaSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::BuildTableMeta
variant
Fields§
§table_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for BuildTableMetaSnafu<__T0>
source§fn clone(&self) -> BuildTableMetaSnafu<__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 BuildTableMetaSnafu<__T0>
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for BuildTableMetaSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for BuildTableMetaSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for BuildTableMetaSnafu<__T0>where
diff --git a/common_meta/error/struct.MoveRegionSnafu.html b/common_meta/error/struct.MoveRegionSnafu.html
index 7225b5d448e7..33e45ac82117 100644
--- a/common_meta/error/struct.MoveRegionSnafu.html
+++ b/common_meta/error/struct.MoveRegionSnafu.html
@@ -4,16 +4,16 @@
pub err_msg: __T2,
}Expand description
SNAFU context selector for the Error::MoveRegion
variant
Fields§
§table_id: __T0
§region: __T1
§err_msg: __T2
Implementations§
Trait Implementations§
source§impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for MoveRegionSnafu<__T0, __T1, __T2>
source§fn clone(&self) -> MoveRegionSnafu<__T0, __T1, __T2>
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, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for MoveRegionSnafu<__T0, __T1, __T2>
Auto Trait Implementations§
§impl<__T0, __T1, __T2> RefUnwindSafe for MoveRegionSnafu<__T0, __T1, __T2>where
__T0: RefUnwindSafe,
diff --git a/common_meta/error/struct.TableSnafu.html b/common_meta/error/struct.TableSnafu.html
index d9c91350619f..a2c1ecb55273 100644
--- a/common_meta/error/struct.TableSnafu.html
+++ b/common_meta/error/struct.TableSnafu.html
@@ -1,6 +1,6 @@
TableSnafu in common_meta::error - Rust Struct common_meta::error::TableSnafu
source · pub struct TableSnafu;
Expand description
SNAFU context selector for the Error::Table
variant
Trait Implementations§
source§impl Clone for TableSnafu
source§fn clone(&self) -> TableSnafu
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 TableSnafu
source§impl Copy for TableSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
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/common_meta/instruction/enum.Instruction.html b/common_meta/instruction/enum.Instruction.html
index 7a20097062e3..f2b72df49f65 100644
--- a/common_meta/instruction/enum.Instruction.html
+++ b/common_meta/instruction/enum.Instruction.html
@@ -1,9 +1,9 @@
Instruction in common_meta::instruction - Rust Enum common_meta::instruction::Instruction
source · pub enum Instruction {
OpenRegion(OpenRegion),
CloseRegion(RegionIdent),
- InvalidateTableIdCache(TableId),
+ InvalidateTableIdCache(TableId),
InvalidateTableNameCache(TableName),
-}
Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for Instruction
Auto Trait Implementations§
§impl RefUnwindSafe for Instruction
§impl Send for Instruction
§impl Sync for Instruction
§impl Unpin for Instruction
§impl UnwindSafe for Instruction
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/instruction/struct.RegionIdent.html b/common_meta/instruction/struct.RegionIdent.html
index 834642f1f56d..e1c0821020fb 100644
--- a/common_meta/instruction/struct.RegionIdent.html
+++ b/common_meta/instruction/struct.RegionIdent.html
@@ -1,10 +1,10 @@
RegionIdent in common_meta::instruction - Rust Struct common_meta::instruction::RegionIdent
source · pub struct RegionIdent {
pub cluster_id: ClusterId,
pub datanode_id: DatanodeId,
- pub table_id: TableId,
+ pub table_id: TableId,
pub region_number: RegionNumber,
pub engine: String,
-}
Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for RegionIdent
source§impl Hash for RegionIdent
source§impl PartialEq<RegionIdent> for RegionIdent
source§fn eq(&self, other: &RegionIdent) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableKey.html b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
index 831cc2a090bc..eb2071d8b654 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableKey.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
@@ -1,7 +1,7 @@
DatanodeTableKey in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableKey
source · pub struct DatanodeTableKey {
datanode_id: DatanodeId,
- table_id: TableId,
-}
Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
Blanket Implementations§
source§impl<T> Any for Twhere
+ table_id: TableId,
+}Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
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/common_meta/key/datanode_table/struct.DatanodeTableManager.html b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
index b1e8ab3c4b74..020d5420db60 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableManager.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
@@ -8,7 +8,7 @@
datanode_id: DatanodeId
) -> BoxStream<'static, Result<DatanodeTableValue>>
sourcepub fn build_create_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
engine: &str,
region_storage_path: &str,
region_options: HashMap<String, String>,
@@ -16,7 +16,7 @@
) -> Result<Txn>
Builds the create datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub(crate) fn build_update_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_region_distribution: RegionDistribution,
new_region_distribution: RegionDistribution,
@@ -24,7 +24,7 @@
) -> Result<Txn>
Builds the update datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub fn build_delete_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
distribution: RegionDistribution
) -> Result<Txn>
Builds the delete datanode table transactions. It only executes while the primary keys comparing successes.
Auto Trait Implementations§
§impl !RefUnwindSafe for DatanodeTableManager
§impl Send for DatanodeTableManager
§impl Sync for DatanodeTableManager
§impl Unpin for DatanodeTableManager
§impl !UnwindSafe for DatanodeTableManager
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableValue.html b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
index a32244212294..82d59648fcfd 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableValue.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
@@ -1,10 +1,10 @@
DatanodeTableValue in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableValue
source · pub struct DatanodeTableValue {
- pub table_id: TableId,
+ pub table_id: TableId,
pub regions: Vec<RegionNumber>,
pub region_info: RegionInfo,
version: u64,
-}
Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
- table_id: TableId,
+}Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
+ table_id: TableId,
regions: Vec<RegionNumber>,
region_info: RegionInfo
) -> Self
source§impl DatanodeTableValue
sourcepub fn try_from_raw_value(raw_value: &[u8]) -> Result<Self>
sourcepub fn try_as_raw_value(&self) -> Result<Vec<u8>>
Trait Implementations§
source§impl Clone for DatanodeTableValue
source§fn clone(&self) -> DatanodeTableValue
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 DatanodeTableValue
source§impl<'de> Deserialize<'de> for DatanodeTableValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
diff --git a/common_meta/key/struct.TableMetadataManager.html b/common_meta/key/struct.TableMetadataManager.html
index 6342e3e5e772..ca0e2101e96e 100644
--- a/common_meta/key/struct.TableMetadataManager.html
+++ b/common_meta/key/struct.TableMetadataManager.html
@@ -8,10 +8,10 @@
kv_backend: KvBackendRef,
}Fields§
§table_name_manager: TableNameManager
§table_info_manager: TableInfoManager
§datanode_table_manager: DatanodeTableManager
§catalog_manager: CatalogManager
§schema_manager: SchemaManager
§table_route_manager: TableRouteManager
§kv_backend: KvBackendRef
Implementations§
source§impl TableMetadataManager
sourcepub fn new(kv_backend: KvBackendRef) -> Self
sourcepub async fn init(&self) -> Result<()>
sourcepub fn table_name_manager(&self) -> &TableNameManager
sourcepub fn table_info_manager(&self) -> &TableInfoManager
sourcepub fn datanode_table_manager(&self) -> &DatanodeTableManager
sourcepub fn catalog_manager(&self) -> &CatalogManager
sourcepub fn schema_manager(&self) -> &SchemaManager
sourcepub fn table_route_manager(&self) -> &TableRouteManager
sourcepub fn kv_backend(&self) -> &KvBackendRef
sourcepub async fn get_full_table_info(
&self,
- table_id: TableId
+ table_id: TableId
) -> Result<(Option<DeserializedValueWithBytes<TableInfoValue>>, Option<DeserializedValueWithBytes<TableRouteValue>>)>
sourcepub async fn create_table_metadata(
&self,
- table_info: RawTableInfo,
+ table_info: RawTableInfo,
region_routes: Vec<RegionRoute>
) -> Result<()>
Creates metadata for table and returns an error if different metadata exists.
The caller MUST ensure it has the exclusive access to TableNameKey
.
@@ -31,11 +31,11 @@
sourcepub async fn update_table_info(
&self,
current_table_info_value: DeserializedValueWithBytes<TableInfoValue>,
- new_table_info: RawTableInfo
+ new_table_info: RawTableInfo
) -> Result<()>
Updates table info and returns an error if different metadata exists.
sourcepub async fn update_table_route(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_table_route_value: DeserializedValueWithBytes<TableRouteValue>,
new_region_routes: Vec<RegionRoute>,
diff --git a/common_meta/key/table_info/struct.TableInfoKey.html b/common_meta/key/table_info/struct.TableInfoKey.html
index a65b5c4c9471..f974bb124def 100644
--- a/common_meta/key/table_info/struct.TableInfoKey.html
+++ b/common_meta/key/table_info/struct.TableInfoKey.html
@@ -1,6 +1,6 @@
TableInfoKey in common_meta::key::table_info - Rust Struct common_meta::key::table_info::
Struct catalog::memory::manager::MemoryCatalogManager
source · pub struct MemoryCatalogManager {
- catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
+ catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>,
}
Expand description
Simple in-memory list of catalogs
-Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
+Fields§
§catalogs: Arc<RwLock<HashMap<String, HashMap<String, HashMap<String, TableRef>>>>>
Collection of catalogs containing schemas and ultimately Tables
Implementations§
source§impl MemoryCatalogManager
impl MemoryCatalogManager
pub fn new() -> Arc<Self>
sourcepub fn with_default_setup() -> Arc<Self>
pub fn with_default_setup() -> Arc<Self>
Creates a manager with some default setups (e.g. default catalog/schema and information schema)
fn schema_exist_sync(&self, catalog: &str, schema: &str) -> Result<bool>
fn catalog_exist_sync(&self, catalog: &str) -> Result<bool>
sourcepub fn register_catalog_sync(&self, name: &str) -> Result<bool>
pub fn register_catalog_sync(&self, name: &str) -> Result<bool>
Registers a catalog if it does not exist and returns false if the schema exists.
@@ -18,7 +18,7 @@fn create_catalog_entry( self: &Arc<Self>, catalog: String -) -> HashMap<String, HashMap<String, TableRef>>
Trait Implementations§
Trait Implementations§
source§impl CatalogManager for MemoryCatalogManager
impl CatalogManager for MemoryCatalogManager
fn schema_exists<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
catalog: &'life1 str,
schema: &'life2 str
@@ -31,7 +31,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/memory/manager/type.SchemaEntries.html b/catalog/memory/manager/type.SchemaEntries.html
index e08a73e4fce1..06ddf021ba39 100644
--- a/catalog/memory/manager/type.SchemaEntries.html
+++ b/catalog/memory/manager/type.SchemaEntries.html
@@ -1 +1 @@
-SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
+SchemaEntries in catalog::memory::manager - Rust
\ No newline at end of file
diff --git a/catalog/struct.RegisterSystemTableRequest.html b/catalog/struct.RegisterSystemTableRequest.html
index 98ffda68e56e..a3007b081a96 100644
--- a/catalog/struct.RegisterSystemTableRequest.html
+++ b/catalog/struct.RegisterSystemTableRequest.html
@@ -1,5 +1,5 @@
RegisterSystemTableRequest in catalog - Rust Struct catalog::RegisterSystemTableRequest
source · pub struct RegisterSystemTableRequest {
- pub create_table_request: CreateTableRequest,
+ pub create_table_request: CreateTableRequest,
pub open_hook: Option<OpenSystemTableHook>,
}
Expand description
Register system table request:
@@ -7,7 +7,7 @@
with table ref after opening the system table
- When system table is not exists, create and register the table by create_table_request and calls open_hook with the created table.
-Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
Blanket Implementations§
Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
§impl !RefUnwindSafe for RegisterSystemTableRequest
§impl Send for RegisterSystemTableRequest
§impl Sync for RegisterSystemTableRequest
§impl Unpin for RegisterSystemTableRequest
§impl !UnwindSafe for RegisterSystemTableRequest
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/struct.RegisterTableRequest.html b/catalog/struct.RegisterTableRequest.html
index c2f30ba4aa53..91238cde5a87 100644
--- a/catalog/struct.RegisterTableRequest.html
+++ b/catalog/struct.RegisterTableRequest.html
@@ -2,9 +2,9 @@
pub catalog: String,
pub schema: String,
pub table_name: String,
- pub table_id: TableId,
- pub table: TableRef,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+ pub table: TableRef,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
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/struct.RenameTableRequest.html b/catalog/struct.RenameTableRequest.html
index c0a56b79a189..166aa7465716 100644
--- a/catalog/struct.RenameTableRequest.html
+++ b/catalog/struct.RenameTableRequest.html
@@ -3,8 +3,8 @@
pub schema: String,
pub table_name: String,
pub new_table_name: String,
- pub table_id: TableId,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
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/trait.CatalogManager.html b/catalog/trait.CatalogManager.html
index cc8091a5169e..3f057be0493b 100644
--- a/catalog/trait.CatalogManager.html
+++ b/catalog/trait.CatalogManager.html
@@ -54,7 +54,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
- ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
+ ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -107,7 +107,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/type.OpenSystemTableHook.html b/catalog/type.OpenSystemTableHook.html
index 6b2713f62a6a..1eefe22addab 100644
--- a/catalog/type.OpenSystemTableHook.html
+++ b/catalog/type.OpenSystemTableHook.html
@@ -1,2 +1,2 @@
-OpenSystemTableHook in catalog - Rust Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+OpenSystemTableHook in catalog - Rust
\ No newline at end of file
diff --git a/client/all.html b/client/all.html
index 1058c330a5ce..9bb88a75eba3 100644
--- a/client/all.html
+++ b/client/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
diff --git a/client/database/struct.Database.html b/client/database/struct.Database.html
index 1c72f65df0e4..2fe6e5e0e2fb 100644
--- a/client/database/struct.Database.html
+++ b/client/database/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/enum.Output.html b/client/enum.Output.html
new file mode 100644
index 000000000000..78dc13d76b4a
--- /dev/null
+++ b/client/enum.Output.html
@@ -0,0 +1,118 @@
+Output in client - Rust pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
§AffectedRows(usize)
§RecordBatches(RecordBatches)
§Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Output
§impl Send for Output
§impl !Sync for Output
§impl Unpin for Output
§impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/fn.from_grpc_response.html b/client/fn.from_grpc_response.html
index 0f422cea122b..0ffdc48fee12 100644
--- a/client/fn.from_grpc_response.html
+++ b/client/fn.from_grpc_response.html
@@ -1 +1 @@
-from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
+from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
diff --git a/client/index.html b/client/index.html
index 3c2e9096c074..1b3ba37a3ae1 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1 @@
-client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
\ No newline at end of file
+client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
\ No newline at end of file
diff --git a/client/region/struct.RegionRequester.html b/client/region/struct.RegionRequester.html
index c52e450ec287..74fb7ac4de8e 100644
--- a/client/region/struct.RegionRequester.html
+++ b/client/region/struct.RegionRequester.html
@@ -3,7 +3,7 @@
}Fields§
§client: Client
Implementations§
Trait Implementations§
source§impl Datanode for RegionRequester
Trait Implementations§
source§impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
Handles DML, and DDL requests.source§fn handle_query<'life0, 'async_trait>(
&'life0 self,
request: QueryRequest
-) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
§impl !RefUnwindSafe for RegionRequester
§impl Send for RegionRequester
§impl Sync for RegionRequester
§impl Unpin for RegionRequester
§impl !UnwindSafe for RegionRequester
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/struct.RecordBatches.html b/client/struct.RecordBatches.html
new file mode 100644
index 000000000000..d4b5134bef55
--- /dev/null
+++ b/client/struct.RecordBatches.html
@@ -0,0 +1,134 @@
+RecordBatches in client - Rust Struct client::RecordBatches
pub struct RecordBatches {
+ pub(crate) schema: Arc<Schema, Global>,
+ pub(crate) batches: Vec<RecordBatch, Global>,
+}
Fields§
§schema: Arc<Schema, Global>
§batches: Vec<RecordBatch, Global>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema, Global>,
+ columns: I
+) -> Result<RecordBatches, Error>where
+ I: IntoIterator<Item = Arc<dyn Vector, Global>>,
pub async fn try_collect(
+ stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
+) -> impl Future<Output = 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, Global>,
+ batches: Vec<RecordBatch, Global>
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema, Global>
pub fn take(self) -> Vec<RecordBatch, Global>
pub fn as_stream(
+ &self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
pub fn into_df_stream(
+ self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, DataFusionError>> + Send, Global>>
Trait Implementations§
§impl Debug for RecordBatches
§impl IntoIterator for RecordBatches
§type IntoIter = IntoIter<<RecordBatches as IntoIterator>::Item, Global>
Which kind of iterator are we turning this into?§fn into_iter(self) -> <RecordBatches as IntoIterator>::IntoIter
Creates an iterator from a value. Read more§impl PartialEq<RecordBatches> for RecordBatches
§fn eq(&self, other: &RecordBatches) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.§impl StructuralPartialEq for RecordBatches
Auto Trait Implementations§
§impl !RefUnwindSafe for RecordBatches
§impl Send for RecordBatches
§impl Sync for RecordBatches
§impl Unpin for RecordBatches
§impl !UnwindSafe for RecordBatches
Blanket Implementations§
§impl<I> BidiIterator for Iwhere
+ I: IntoIterator,
+ <I as IntoIterator>::IntoIter: DoubleEndedIterator,
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/type.SendableRecordBatchStream.html b/client/type.SendableRecordBatchStream.html
new file mode 100644
index 000000000000..df7268aab19a
--- /dev/null
+++ b/client/type.SendableRecordBatchStream.html
@@ -0,0 +1 @@
+SendableRecordBatchStream in client - Rust
\ No newline at end of file
diff --git a/common_grpc_expr/alter/fn.alter_expr_to_request.html b/common_grpc_expr/alter/fn.alter_expr_to_request.html
index 63f2342d02da..1850a92935fc 100644
--- a/common_grpc_expr/alter/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/alter/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr::alter - Rust Function common_grpc_expr::alter::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/alter/index.html b/common_grpc_expr/alter/index.html
index bd7e5b33fbcf..4206ec54f54a 100644
--- a/common_grpc_expr/alter/index.html
+++ b/common_grpc_expr/alter/index.html
@@ -1 +1 @@
-common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/delete/fn.to_table_delete_request.html b/common_grpc_expr/delete/fn.to_table_delete_request.html
index 17bb5cee292b..4d6dd1ad4737 100644
--- a/common_grpc_expr/delete/fn.to_table_delete_request.html
+++ b/common_grpc_expr/delete/fn.to_table_delete_request.html
@@ -2,4 +2,4 @@
catalog_name: &str,
schema_name: &str,
request: DeleteRequest
-) -> Result<DeleteRequest>
\ No newline at end of file
+) -> Result<DeleteRequest>
\ No newline at end of file
diff --git a/common_grpc_expr/fn.alter_expr_to_request.html b/common_grpc_expr/fn.alter_expr_to_request.html
index fb020673c315..e83fe76ebb26 100644
--- a/common_grpc_expr/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr - Rust Function common_grpc_expr::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/index.html b/common_grpc_expr/index.html
index 123b65c2895b..3fd0656e8b4a 100644
--- a/common_grpc_expr/index.html
+++ b/common_grpc_expr/index.html
@@ -1 +1 @@
-common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
index 36f3cb9ff049..d204bc70ab7b 100644
--- a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
+++ b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
@@ -1,7 +1,7 @@
build_create_expr_from_insertion in common_grpc_expr::insert - Rust Function common_grpc_expr::insert::build_create_expr_from_insertion
source · pub fn build_create_expr_from_insertion(
catalog_name: &str,
schema_name: &str,
- table_id: Option<TableId>,
+ table_id: Option<TableId>,
table_name: &str,
columns: &[Column],
engine: &str
diff --git a/common_grpc_expr/util/fn.build_create_table_expr.html b/common_grpc_expr/util/fn.build_create_table_expr.html
index e78b4de945b9..76a2b47b82aa 100644
--- a/common_grpc_expr/util/fn.build_create_table_expr.html
+++ b/common_grpc_expr/util/fn.build_create_table_expr.html
@@ -1,6 +1,6 @@
build_create_table_expr in common_grpc_expr::util - Rust Function common_grpc_expr::util::build_create_table_expr
source · pub fn build_create_table_expr(
- table_id: Option<TableId>,
- table_name: &TableReference<'_>,
+ table_id: Option<TableId>,
+ table_name: &TableReference<'_>,
column_exprs: Vec<ColumnExpr<'_>>,
engine: &str,
desc: &str
diff --git a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
index 13feb0240fbf..94e9334f09a2 100644
--- a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
+++ b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
@@ -1,7 +1,7 @@
DummyCacheInvalidator in common_meta::cache_invalidator - Rust pub struct DummyCacheInvalidator;
Trait Implementations§
source§impl CacheInvalidator for DummyCacheInvalidator
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
- _table_id: TableId
+ _table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/cache_invalidator/trait.CacheInvalidator.html b/common_meta/cache_invalidator/trait.CacheInvalidator.html
index dc6e8864c3a7..004d340a376a 100644
--- a/common_meta/cache_invalidator/trait.CacheInvalidator.html
+++ b/common_meta/cache_invalidator/trait.CacheInvalidator.html
@@ -3,7 +3,7 @@
fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
@@ -19,7 +19,7 @@
}Required Methods§
sourcefn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
index 625083846c6d..4e32e147c5db 100644
--- a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
+++ b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
@@ -1,5 +1,5 @@
create_proto_alter_kind in common_meta::ddl::alter_table - Rust Function common_meta::ddl::alter_table::create_proto_alter_kind
source · pub fn create_proto_alter_kind(
- table_info: &RawTableInfo,
+ table_info: &RawTableInfo,
alter_kind: &Kind
) -> Result<(Option<Kind>, Option<ColumnId>)>
Expand description
Creates region proto alter kind from table_info
and alter_kind
.
Returns the kind and next column id if it adds new columns.
diff --git a/common_meta/ddl/alter_table/struct.AlterTableData.html b/common_meta/ddl/alter_table/struct.AlterTableData.html
index f9a58a4e56bc..018ff5a55e63 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableData.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableData.html
@@ -11,7 +11,7 @@
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
cluster_id: u64,
next_column_id: Option<ColumnId>
-) -> Selfsourcefn table_ref(&self) -> TableReference<'_>
sourcefn table_id(&self) -> TableId
sourcefn table_info(&self) -> &RawTableInfo
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for AlterTableData
§impl Send for AlterTableData
§impl Sync for AlterTableData
§impl Unpin for AlterTableData
§impl UnwindSafe for AlterTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
index 473eaaaee000..6a100fc8420b 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
@@ -17,8 +17,8 @@
) -> Result<()>
Update table metadata for rename table operation.
sourceasync fn on_update_metadata_for_alter(
&self,
- new_table_info: RawTableInfo
-) -> Result<()>
sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
+ new_table_info: RawTableInfo
+) -> Result<()>sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
sourceasync fn on_broadcast(&mut self) -> Result<Status>
Broadcasts the invalidating table cache instructions.
sourcefn lock_key_inner(&self) -> Vec<String>
Trait Implementations§
source§impl Procedure for AlterTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff --git a/common_meta/ddl/create_table/struct.CreateTableData.html b/common_meta/ddl/create_table/struct.CreateTableData.html
index 2e5e27fd7eb4..4330b2fbd1af 100644
--- a/common_meta/ddl/create_table/struct.CreateTableData.html
+++ b/common_meta/ddl/create_table/struct.CreateTableData.html
@@ -3,7 +3,7 @@
pub task: CreateTableTask,
pub region_routes: Vec<RegionRoute>,
pub cluster_id: u64,
-}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
source§impl CreateTableData
sourcefn table_ref(&self) -> TableReference<'_>
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for CreateTableData
§impl Send for CreateTableData
§impl Sync for CreateTableData
§impl Unpin for CreateTableData
§impl UnwindSafe for CreateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/create_table/struct.CreateTableProcedure.html b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
index b71e4a8436f9..9a2a1de73fad 100644
--- a/common_meta/ddl/create_table/struct.CreateTableProcedure.html
+++ b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
@@ -6,7 +6,7 @@
task: CreateTableTask,
region_routes: Vec<RegionRoute>,
context: DdlContext
-) -> Self
sourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
+) -> Selfsourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
sourcepub fn create_region_request_template(&self) -> Result<PbCreateRegionRequest>
sourcepub async fn on_datanode_create_regions(&mut self) -> Result<Status>
sourceasync fn on_create_metadata(&self) -> Result<Status>
Trait Implementations§
source§impl Procedure for CreateTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_ctx: &'life1 ProcedureContext
diff --git a/common_meta/ddl/drop_table/struct.DropTableData.html b/common_meta/ddl/drop_table/struct.DropTableData.html
index 46e3a21db8cd..2b91fa24c713 100644
--- a/common_meta/ddl/drop_table/struct.DropTableData.html
+++ b/common_meta/ddl/drop_table/struct.DropTableData.html
@@ -9,7 +9,7 @@
task: DropTableTask,
table_route_value: DeserializedValueWithBytes<TableRouteValue>,
table_info_value: DeserializedValueWithBytes<TableInfoValue>
-) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for DropTableData
§impl Send for DropTableData
§impl Sync for DropTableData
§impl Unpin for DropTableData
§impl UnwindSafe for DropTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/trait.TableMetadataAllocator.html b/common_meta/ddl/trait.TableMetadataAllocator.html
index b095be070299..36cbad59636a 100644
--- a/common_meta/ddl/trait.TableMetadataAllocator.html
+++ b/common_meta/ddl/trait.TableMetadataAllocator.html
@@ -3,7 +3,7 @@
fn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>
where Self: 'async_trait,
@@ -14,7 +14,7 @@
}Required Methods§
sourcefn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/common_meta/ddl/truncate_table/struct.TruncateTableData.html b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
index 7363b523f063..708e5561808d 100644
--- a/common_meta/ddl/truncate_table/struct.TruncateTableData.html
+++ b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
@@ -9,7 +9,7 @@
task: TruncateTableTask,
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
region_routes: Vec<RegionRoute>
-) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for TruncateTableData
§impl Send for TruncateTableData
§impl Sync for TruncateTableData
§impl Unpin for TruncateTableData
§impl UnwindSafe for TruncateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/error/enum.Error.html b/common_meta/error/enum.Error.html
index 541ce4833b77..1a92776ff7a1 100644
--- a/common_meta/error/enum.Error.html
+++ b/common_meta/error/enum.Error.html
@@ -44,12 +44,12 @@
},
BuildTableMeta {
table_name: String,
- error: TableMetaBuilderError,
+ error: TableMetaBuilderError,
location: Location,
},
Table {
location: Location,
- source: Error,
+ source: Error,
},
TableRouteNotFound {
table_name: String,
@@ -145,7 +145,7 @@
location: Location,
},
MoveRegion {
- table_id: TableId,
+ table_id: TableId,
region: RegionNumber,
err_msg: String,
location: Location,
@@ -169,7 +169,7 @@
RetryLater {
source: BoxedError,
},
-
}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
+}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
sourcepub fn is_retry_later(&self) -> bool
Determine whether it is a retry later type through StatusCode
Trait Implementations§
source§impl Error for Errorwhere
Self: Debug + Display,
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§fn output_msg(&self) -> Stringwhere
Self: Sized,
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0> IntoError<Error> for CacheNotGetSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for CatalogAlreadyExistsSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -206,7 +206,7 @@
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0> IntoError<Error> for NextSequenceSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -245,7 +245,7 @@
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for TableRouteNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
+ Error: Error + ErrorCompat,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSnafu<__T0>where
Error: Error + ErrorCompat,
diff --git a/common_meta/error/struct.BuildTableMetaSnafu.html b/common_meta/error/struct.BuildTableMetaSnafu.html
index 848719b5d875..de793f19e317 100644
--- a/common_meta/error/struct.BuildTableMetaSnafu.html
+++ b/common_meta/error/struct.BuildTableMetaSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::BuildTableMeta
variant
Fields§
§table_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for BuildTableMetaSnafu<__T0>
source§fn clone(&self) -> BuildTableMetaSnafu<__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 BuildTableMetaSnafu<__T0>
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for BuildTableMetaSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for BuildTableMetaSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for BuildTableMetaSnafu<__T0>where
diff --git a/common_meta/error/struct.MoveRegionSnafu.html b/common_meta/error/struct.MoveRegionSnafu.html
index 7225b5d448e7..33e45ac82117 100644
--- a/common_meta/error/struct.MoveRegionSnafu.html
+++ b/common_meta/error/struct.MoveRegionSnafu.html
@@ -4,16 +4,16 @@
pub err_msg: __T2,
}Expand description
SNAFU context selector for the Error::MoveRegion
variant
Fields§
§table_id: __T0
§region: __T1
§err_msg: __T2
Implementations§
Trait Implementations§
source§impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for MoveRegionSnafu<__T0, __T1, __T2>
source§fn clone(&self) -> MoveRegionSnafu<__T0, __T1, __T2>
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, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for MoveRegionSnafu<__T0, __T1, __T2>
Auto Trait Implementations§
§impl<__T0, __T1, __T2> RefUnwindSafe for MoveRegionSnafu<__T0, __T1, __T2>where
__T0: RefUnwindSafe,
diff --git a/common_meta/error/struct.TableSnafu.html b/common_meta/error/struct.TableSnafu.html
index d9c91350619f..a2c1ecb55273 100644
--- a/common_meta/error/struct.TableSnafu.html
+++ b/common_meta/error/struct.TableSnafu.html
@@ -1,6 +1,6 @@
TableSnafu in common_meta::error - Rust Struct common_meta::error::TableSnafu
source · pub struct TableSnafu;
Expand description
SNAFU context selector for the Error::Table
variant
Trait Implementations§
source§impl Clone for TableSnafu
source§fn clone(&self) -> TableSnafu
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 TableSnafu
source§impl Copy for TableSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
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/common_meta/instruction/enum.Instruction.html b/common_meta/instruction/enum.Instruction.html
index 7a20097062e3..f2b72df49f65 100644
--- a/common_meta/instruction/enum.Instruction.html
+++ b/common_meta/instruction/enum.Instruction.html
@@ -1,9 +1,9 @@
Instruction in common_meta::instruction - Rust Enum common_meta::instruction::Instruction
source · pub enum Instruction {
OpenRegion(OpenRegion),
CloseRegion(RegionIdent),
- InvalidateTableIdCache(TableId),
+ InvalidateTableIdCache(TableId),
InvalidateTableNameCache(TableName),
-}
Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for Instruction
Auto Trait Implementations§
§impl RefUnwindSafe for Instruction
§impl Send for Instruction
§impl Sync for Instruction
§impl Unpin for Instruction
§impl UnwindSafe for Instruction
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/instruction/struct.RegionIdent.html b/common_meta/instruction/struct.RegionIdent.html
index 834642f1f56d..e1c0821020fb 100644
--- a/common_meta/instruction/struct.RegionIdent.html
+++ b/common_meta/instruction/struct.RegionIdent.html
@@ -1,10 +1,10 @@
RegionIdent in common_meta::instruction - Rust Struct common_meta::instruction::RegionIdent
source · pub struct RegionIdent {
pub cluster_id: ClusterId,
pub datanode_id: DatanodeId,
- pub table_id: TableId,
+ pub table_id: TableId,
pub region_number: RegionNumber,
pub engine: String,
-}
Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for RegionIdent
source§impl Hash for RegionIdent
source§impl PartialEq<RegionIdent> for RegionIdent
source§fn eq(&self, other: &RegionIdent) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableKey.html b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
index 831cc2a090bc..eb2071d8b654 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableKey.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
@@ -1,7 +1,7 @@
DatanodeTableKey in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableKey
source · pub struct DatanodeTableKey {
datanode_id: DatanodeId,
- table_id: TableId,
-}
Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
Blanket Implementations§
source§impl<T> Any for Twhere
+ table_id: TableId,
+}Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
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/common_meta/key/datanode_table/struct.DatanodeTableManager.html b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
index b1e8ab3c4b74..020d5420db60 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableManager.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
@@ -8,7 +8,7 @@
datanode_id: DatanodeId
) -> BoxStream<'static, Result<DatanodeTableValue>>
sourcepub fn build_create_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
engine: &str,
region_storage_path: &str,
region_options: HashMap<String, String>,
@@ -16,7 +16,7 @@
) -> Result<Txn>
Builds the create datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub(crate) fn build_update_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_region_distribution: RegionDistribution,
new_region_distribution: RegionDistribution,
@@ -24,7 +24,7 @@
) -> Result<Txn>
Builds the update datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub fn build_delete_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
distribution: RegionDistribution
) -> Result<Txn>
Builds the delete datanode table transactions. It only executes while the primary keys comparing successes.
Auto Trait Implementations§
§impl !RefUnwindSafe for DatanodeTableManager
§impl Send for DatanodeTableManager
§impl Sync for DatanodeTableManager
§impl Unpin for DatanodeTableManager
§impl !UnwindSafe for DatanodeTableManager
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableValue.html b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
index a32244212294..82d59648fcfd 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableValue.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
@@ -1,10 +1,10 @@
DatanodeTableValue in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableValue
source · pub struct DatanodeTableValue {
- pub table_id: TableId,
+ pub table_id: TableId,
pub regions: Vec<RegionNumber>,
pub region_info: RegionInfo,
version: u64,
-}
Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
- table_id: TableId,
+}Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
+ table_id: TableId,
regions: Vec<RegionNumber>,
region_info: RegionInfo
) -> Self
source§impl DatanodeTableValue
sourcepub fn try_from_raw_value(raw_value: &[u8]) -> Result<Self>
sourcepub fn try_as_raw_value(&self) -> Result<Vec<u8>>
Trait Implementations§
source§impl Clone for DatanodeTableValue
source§fn clone(&self) -> DatanodeTableValue
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 DatanodeTableValue
source§impl<'de> Deserialize<'de> for DatanodeTableValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
diff --git a/common_meta/key/struct.TableMetadataManager.html b/common_meta/key/struct.TableMetadataManager.html
index 6342e3e5e772..ca0e2101e96e 100644
--- a/common_meta/key/struct.TableMetadataManager.html
+++ b/common_meta/key/struct.TableMetadataManager.html
@@ -8,10 +8,10 @@
kv_backend: KvBackendRef,
}Fields§
§table_name_manager: TableNameManager
§table_info_manager: TableInfoManager
§datanode_table_manager: DatanodeTableManager
§catalog_manager: CatalogManager
§schema_manager: SchemaManager
§table_route_manager: TableRouteManager
§kv_backend: KvBackendRef
Implementations§
source§impl TableMetadataManager
sourcepub fn new(kv_backend: KvBackendRef) -> Self
sourcepub async fn init(&self) -> Result<()>
sourcepub fn table_name_manager(&self) -> &TableNameManager
sourcepub fn table_info_manager(&self) -> &TableInfoManager
sourcepub fn datanode_table_manager(&self) -> &DatanodeTableManager
sourcepub fn catalog_manager(&self) -> &CatalogManager
sourcepub fn schema_manager(&self) -> &SchemaManager
sourcepub fn table_route_manager(&self) -> &TableRouteManager
sourcepub fn kv_backend(&self) -> &KvBackendRef
sourcepub async fn get_full_table_info(
&self,
- table_id: TableId
+ table_id: TableId
) -> Result<(Option<DeserializedValueWithBytes<TableInfoValue>>, Option<DeserializedValueWithBytes<TableRouteValue>>)>
sourcepub async fn create_table_metadata(
&self,
- table_info: RawTableInfo,
+ table_info: RawTableInfo,
region_routes: Vec<RegionRoute>
) -> Result<()>
Creates metadata for table and returns an error if different metadata exists.
The caller MUST ensure it has the exclusive access to TableNameKey
.
@@ -31,11 +31,11 @@
sourcepub async fn update_table_info(
&self,
current_table_info_value: DeserializedValueWithBytes<TableInfoValue>,
- new_table_info: RawTableInfo
+ new_table_info: RawTableInfo
) -> Result<()>
Updates table info and returns an error if different metadata exists.
sourcepub async fn update_table_route(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_table_route_value: DeserializedValueWithBytes<TableRouteValue>,
new_region_routes: Vec<RegionRoute>,
diff --git a/common_meta/key/table_info/struct.TableInfoKey.html b/common_meta/key/table_info/struct.TableInfoKey.html
index a65b5c4c9471..f974bb124def 100644
--- a/common_meta/key/table_info/struct.TableInfoKey.html
+++ b/common_meta/key/table_info/struct.TableInfoKey.html
@@ -1,6 +1,6 @@
TableInfoKey in common_meta::key::table_info - Rust Struct common_meta::key::table_info::
Struct catalog::RegisterSystemTableRequest
source · pub struct RegisterSystemTableRequest {
- pub create_table_request: CreateTableRequest,
+ pub create_table_request: CreateTableRequest,
pub open_hook: Option<OpenSystemTableHook>,
}
Expand description
Register system table request:
-
@@ -7,7 +7,7 @@
with table ref after opening the system table
- When system table is not exists, create and register the table by create_table_request and calls open_hook with the created table.
Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
impl !RefUnwindSafe for RegisterSystemTableRequest
impl Send for RegisterSystemTableRequest
impl Sync for RegisterSystemTableRequest
impl Unpin for RegisterSystemTableRequest
impl !UnwindSafe for RegisterSystemTableRequest
Blanket Implementations§
Fields§
§create_table_request: CreateTableRequest
§open_hook: Option<OpenSystemTableHook>
Auto Trait Implementations§
impl !RefUnwindSafe for RegisterSystemTableRequest
impl Send for RegisterSystemTableRequest
impl Sync for RegisterSystemTableRequest
impl Unpin for RegisterSystemTableRequest
impl !UnwindSafe for RegisterSystemTableRequest
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/struct.RegisterTableRequest.html b/catalog/struct.RegisterTableRequest.html
index c2f30ba4aa53..91238cde5a87 100644
--- a/catalog/struct.RegisterTableRequest.html
+++ b/catalog/struct.RegisterTableRequest.html
@@ -2,9 +2,9 @@
pub catalog: String,
pub schema: String,
pub table_name: String,
- pub table_id: TableId,
- pub table: TableRef,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+ pub table: TableRef,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
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/struct.RenameTableRequest.html b/catalog/struct.RenameTableRequest.html
index c0a56b79a189..166aa7465716 100644
--- a/catalog/struct.RenameTableRequest.html
+++ b/catalog/struct.RenameTableRequest.html
@@ -3,8 +3,8 @@
pub schema: String,
pub table_name: String,
pub new_table_name: String,
- pub table_id: TableId,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
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/trait.CatalogManager.html b/catalog/trait.CatalogManager.html
index cc8091a5169e..3f057be0493b 100644
--- a/catalog/trait.CatalogManager.html
+++ b/catalog/trait.CatalogManager.html
@@ -54,7 +54,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
- ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
+ ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -107,7 +107,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/type.OpenSystemTableHook.html b/catalog/type.OpenSystemTableHook.html
index 6b2713f62a6a..1eefe22addab 100644
--- a/catalog/type.OpenSystemTableHook.html
+++ b/catalog/type.OpenSystemTableHook.html
@@ -1,2 +1,2 @@
-OpenSystemTableHook in catalog - Rust Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+OpenSystemTableHook in catalog - Rust
\ No newline at end of file
diff --git a/client/all.html b/client/all.html
index 1058c330a5ce..9bb88a75eba3 100644
--- a/client/all.html
+++ b/client/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
diff --git a/client/database/struct.Database.html b/client/database/struct.Database.html
index 1c72f65df0e4..2fe6e5e0e2fb 100644
--- a/client/database/struct.Database.html
+++ b/client/database/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/enum.Output.html b/client/enum.Output.html
new file mode 100644
index 000000000000..78dc13d76b4a
--- /dev/null
+++ b/client/enum.Output.html
@@ -0,0 +1,118 @@
+Output in client - Rust pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
§AffectedRows(usize)
§RecordBatches(RecordBatches)
§Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Output
§impl Send for Output
§impl !Sync for Output
§impl Unpin for Output
§impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/fn.from_grpc_response.html b/client/fn.from_grpc_response.html
index 0f422cea122b..0ffdc48fee12 100644
--- a/client/fn.from_grpc_response.html
+++ b/client/fn.from_grpc_response.html
@@ -1 +1 @@
-from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
+from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
diff --git a/client/index.html b/client/index.html
index 3c2e9096c074..1b3ba37a3ae1 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1 @@
-client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
\ No newline at end of file
+client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
\ No newline at end of file
diff --git a/client/region/struct.RegionRequester.html b/client/region/struct.RegionRequester.html
index c52e450ec287..74fb7ac4de8e 100644
--- a/client/region/struct.RegionRequester.html
+++ b/client/region/struct.RegionRequester.html
@@ -3,7 +3,7 @@
}Fields§
§client: Client
Implementations§
Trait Implementations§
source§impl Datanode for RegionRequester
Trait Implementations§
source§impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
Handles DML, and DDL requests.source§fn handle_query<'life0, 'async_trait>(
&'life0 self,
request: QueryRequest
-) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
§impl !RefUnwindSafe for RegionRequester
§impl Send for RegionRequester
§impl Sync for RegionRequester
§impl Unpin for RegionRequester
§impl !UnwindSafe for RegionRequester
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/struct.RecordBatches.html b/client/struct.RecordBatches.html
new file mode 100644
index 000000000000..d4b5134bef55
--- /dev/null
+++ b/client/struct.RecordBatches.html
@@ -0,0 +1,134 @@
+RecordBatches in client - Rust Struct client::RecordBatches
pub struct RecordBatches {
+ pub(crate) schema: Arc<Schema, Global>,
+ pub(crate) batches: Vec<RecordBatch, Global>,
+}
Fields§
§schema: Arc<Schema, Global>
§batches: Vec<RecordBatch, Global>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema, Global>,
+ columns: I
+) -> Result<RecordBatches, Error>where
+ I: IntoIterator<Item = Arc<dyn Vector, Global>>,
pub async fn try_collect(
+ stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
+) -> impl Future<Output = 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, Global>,
+ batches: Vec<RecordBatch, Global>
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema, Global>
pub fn take(self) -> Vec<RecordBatch, Global>
pub fn as_stream(
+ &self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
pub fn into_df_stream(
+ self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, DataFusionError>> + Send, Global>>
Trait Implementations§
§impl Debug for RecordBatches
§impl IntoIterator for RecordBatches
§type IntoIter = IntoIter<<RecordBatches as IntoIterator>::Item, Global>
Which kind of iterator are we turning this into?§fn into_iter(self) -> <RecordBatches as IntoIterator>::IntoIter
Creates an iterator from a value. Read more§impl PartialEq<RecordBatches> for RecordBatches
§fn eq(&self, other: &RecordBatches) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.§impl StructuralPartialEq for RecordBatches
Auto Trait Implementations§
§impl !RefUnwindSafe for RecordBatches
§impl Send for RecordBatches
§impl Sync for RecordBatches
§impl Unpin for RecordBatches
§impl !UnwindSafe for RecordBatches
Blanket Implementations§
§impl<I> BidiIterator for Iwhere
+ I: IntoIterator,
+ <I as IntoIterator>::IntoIter: DoubleEndedIterator,
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/type.SendableRecordBatchStream.html b/client/type.SendableRecordBatchStream.html
new file mode 100644
index 000000000000..df7268aab19a
--- /dev/null
+++ b/client/type.SendableRecordBatchStream.html
@@ -0,0 +1 @@
+SendableRecordBatchStream in client - Rust
\ No newline at end of file
diff --git a/common_grpc_expr/alter/fn.alter_expr_to_request.html b/common_grpc_expr/alter/fn.alter_expr_to_request.html
index 63f2342d02da..1850a92935fc 100644
--- a/common_grpc_expr/alter/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/alter/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr::alter - Rust Function common_grpc_expr::alter::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/alter/index.html b/common_grpc_expr/alter/index.html
index bd7e5b33fbcf..4206ec54f54a 100644
--- a/common_grpc_expr/alter/index.html
+++ b/common_grpc_expr/alter/index.html
@@ -1 +1 @@
-common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/delete/fn.to_table_delete_request.html b/common_grpc_expr/delete/fn.to_table_delete_request.html
index 17bb5cee292b..4d6dd1ad4737 100644
--- a/common_grpc_expr/delete/fn.to_table_delete_request.html
+++ b/common_grpc_expr/delete/fn.to_table_delete_request.html
@@ -2,4 +2,4 @@
catalog_name: &str,
schema_name: &str,
request: DeleteRequest
-) -> Result<DeleteRequest>
\ No newline at end of file
+) -> Result<DeleteRequest>
\ No newline at end of file
diff --git a/common_grpc_expr/fn.alter_expr_to_request.html b/common_grpc_expr/fn.alter_expr_to_request.html
index fb020673c315..e83fe76ebb26 100644
--- a/common_grpc_expr/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr - Rust Function common_grpc_expr::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/index.html b/common_grpc_expr/index.html
index 123b65c2895b..3fd0656e8b4a 100644
--- a/common_grpc_expr/index.html
+++ b/common_grpc_expr/index.html
@@ -1 +1 @@
-common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
index 36f3cb9ff049..d204bc70ab7b 100644
--- a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
+++ b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
@@ -1,7 +1,7 @@
build_create_expr_from_insertion in common_grpc_expr::insert - Rust Function common_grpc_expr::insert::build_create_expr_from_insertion
source · pub fn build_create_expr_from_insertion(
catalog_name: &str,
schema_name: &str,
- table_id: Option<TableId>,
+ table_id: Option<TableId>,
table_name: &str,
columns: &[Column],
engine: &str
diff --git a/common_grpc_expr/util/fn.build_create_table_expr.html b/common_grpc_expr/util/fn.build_create_table_expr.html
index e78b4de945b9..76a2b47b82aa 100644
--- a/common_grpc_expr/util/fn.build_create_table_expr.html
+++ b/common_grpc_expr/util/fn.build_create_table_expr.html
@@ -1,6 +1,6 @@
build_create_table_expr in common_grpc_expr::util - Rust Function common_grpc_expr::util::build_create_table_expr
source · pub fn build_create_table_expr(
- table_id: Option<TableId>,
- table_name: &TableReference<'_>,
+ table_id: Option<TableId>,
+ table_name: &TableReference<'_>,
column_exprs: Vec<ColumnExpr<'_>>,
engine: &str,
desc: &str
diff --git a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
index 13feb0240fbf..94e9334f09a2 100644
--- a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
+++ b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
@@ -1,7 +1,7 @@
DummyCacheInvalidator in common_meta::cache_invalidator - Rust pub struct DummyCacheInvalidator;
Trait Implementations§
source§impl CacheInvalidator for DummyCacheInvalidator
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
- _table_id: TableId
+ _table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/cache_invalidator/trait.CacheInvalidator.html b/common_meta/cache_invalidator/trait.CacheInvalidator.html
index dc6e8864c3a7..004d340a376a 100644
--- a/common_meta/cache_invalidator/trait.CacheInvalidator.html
+++ b/common_meta/cache_invalidator/trait.CacheInvalidator.html
@@ -3,7 +3,7 @@
fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
@@ -19,7 +19,7 @@
}Required Methods§
sourcefn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
index 625083846c6d..4e32e147c5db 100644
--- a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
+++ b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
@@ -1,5 +1,5 @@
create_proto_alter_kind in common_meta::ddl::alter_table - Rust Function common_meta::ddl::alter_table::create_proto_alter_kind
source · pub fn create_proto_alter_kind(
- table_info: &RawTableInfo,
+ table_info: &RawTableInfo,
alter_kind: &Kind
) -> Result<(Option<Kind>, Option<ColumnId>)>
Expand description
Creates region proto alter kind from table_info
and alter_kind
.
Returns the kind and next column id if it adds new columns.
diff --git a/common_meta/ddl/alter_table/struct.AlterTableData.html b/common_meta/ddl/alter_table/struct.AlterTableData.html
index f9a58a4e56bc..018ff5a55e63 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableData.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableData.html
@@ -11,7 +11,7 @@
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
cluster_id: u64,
next_column_id: Option<ColumnId>
-) -> Selfsourcefn table_ref(&self) -> TableReference<'_>
sourcefn table_id(&self) -> TableId
sourcefn table_info(&self) -> &RawTableInfo
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for AlterTableData
§impl Send for AlterTableData
§impl Sync for AlterTableData
§impl Unpin for AlterTableData
§impl UnwindSafe for AlterTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
index 473eaaaee000..6a100fc8420b 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
@@ -17,8 +17,8 @@
) -> Result<()>
Update table metadata for rename table operation.
sourceasync fn on_update_metadata_for_alter(
&self,
- new_table_info: RawTableInfo
-) -> Result<()>
sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
+ new_table_info: RawTableInfo
+) -> Result<()>sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
sourceasync fn on_broadcast(&mut self) -> Result<Status>
Broadcasts the invalidating table cache instructions.
sourcefn lock_key_inner(&self) -> Vec<String>
Trait Implementations§
source§impl Procedure for AlterTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff --git a/common_meta/ddl/create_table/struct.CreateTableData.html b/common_meta/ddl/create_table/struct.CreateTableData.html
index 2e5e27fd7eb4..4330b2fbd1af 100644
--- a/common_meta/ddl/create_table/struct.CreateTableData.html
+++ b/common_meta/ddl/create_table/struct.CreateTableData.html
@@ -3,7 +3,7 @@
pub task: CreateTableTask,
pub region_routes: Vec<RegionRoute>,
pub cluster_id: u64,
-}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
source§impl CreateTableData
sourcefn table_ref(&self) -> TableReference<'_>
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for CreateTableData
§impl Send for CreateTableData
§impl Sync for CreateTableData
§impl Unpin for CreateTableData
§impl UnwindSafe for CreateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/create_table/struct.CreateTableProcedure.html b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
index b71e4a8436f9..9a2a1de73fad 100644
--- a/common_meta/ddl/create_table/struct.CreateTableProcedure.html
+++ b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
@@ -6,7 +6,7 @@
task: CreateTableTask,
region_routes: Vec<RegionRoute>,
context: DdlContext
-) -> Self
sourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
+) -> Selfsourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
sourcepub fn create_region_request_template(&self) -> Result<PbCreateRegionRequest>
sourcepub async fn on_datanode_create_regions(&mut self) -> Result<Status>
sourceasync fn on_create_metadata(&self) -> Result<Status>
Trait Implementations§
source§impl Procedure for CreateTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_ctx: &'life1 ProcedureContext
diff --git a/common_meta/ddl/drop_table/struct.DropTableData.html b/common_meta/ddl/drop_table/struct.DropTableData.html
index 46e3a21db8cd..2b91fa24c713 100644
--- a/common_meta/ddl/drop_table/struct.DropTableData.html
+++ b/common_meta/ddl/drop_table/struct.DropTableData.html
@@ -9,7 +9,7 @@
task: DropTableTask,
table_route_value: DeserializedValueWithBytes<TableRouteValue>,
table_info_value: DeserializedValueWithBytes<TableInfoValue>
-) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for DropTableData
§impl Send for DropTableData
§impl Sync for DropTableData
§impl Unpin for DropTableData
§impl UnwindSafe for DropTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/trait.TableMetadataAllocator.html b/common_meta/ddl/trait.TableMetadataAllocator.html
index b095be070299..36cbad59636a 100644
--- a/common_meta/ddl/trait.TableMetadataAllocator.html
+++ b/common_meta/ddl/trait.TableMetadataAllocator.html
@@ -3,7 +3,7 @@
fn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>
where Self: 'async_trait,
@@ -14,7 +14,7 @@
}Required Methods§
sourcefn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/common_meta/ddl/truncate_table/struct.TruncateTableData.html b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
index 7363b523f063..708e5561808d 100644
--- a/common_meta/ddl/truncate_table/struct.TruncateTableData.html
+++ b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
@@ -9,7 +9,7 @@
task: TruncateTableTask,
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
region_routes: Vec<RegionRoute>
-) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for TruncateTableData
§impl Send for TruncateTableData
§impl Sync for TruncateTableData
§impl Unpin for TruncateTableData
§impl UnwindSafe for TruncateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/error/enum.Error.html b/common_meta/error/enum.Error.html
index 541ce4833b77..1a92776ff7a1 100644
--- a/common_meta/error/enum.Error.html
+++ b/common_meta/error/enum.Error.html
@@ -44,12 +44,12 @@
},
BuildTableMeta {
table_name: String,
- error: TableMetaBuilderError,
+ error: TableMetaBuilderError,
location: Location,
},
Table {
location: Location,
- source: Error,
+ source: Error,
},
TableRouteNotFound {
table_name: String,
@@ -145,7 +145,7 @@
location: Location,
},
MoveRegion {
- table_id: TableId,
+ table_id: TableId,
region: RegionNumber,
err_msg: String,
location: Location,
@@ -169,7 +169,7 @@
RetryLater {
source: BoxedError,
},
-
}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
+}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
sourcepub fn is_retry_later(&self) -> bool
Determine whether it is a retry later type through StatusCode
Trait Implementations§
source§impl Error for Errorwhere
Self: Debug + Display,
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§fn output_msg(&self) -> Stringwhere
Self: Sized,
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0> IntoError<Error> for CacheNotGetSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for CatalogAlreadyExistsSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -206,7 +206,7 @@
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0> IntoError<Error> for NextSequenceSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -245,7 +245,7 @@
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for TableRouteNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
+ Error: Error + ErrorCompat,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSnafu<__T0>where
Error: Error + ErrorCompat,
diff --git a/common_meta/error/struct.BuildTableMetaSnafu.html b/common_meta/error/struct.BuildTableMetaSnafu.html
index 848719b5d875..de793f19e317 100644
--- a/common_meta/error/struct.BuildTableMetaSnafu.html
+++ b/common_meta/error/struct.BuildTableMetaSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::BuildTableMeta
variant
Fields§
§table_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for BuildTableMetaSnafu<__T0>
source§fn clone(&self) -> BuildTableMetaSnafu<__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 BuildTableMetaSnafu<__T0>
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for BuildTableMetaSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for BuildTableMetaSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for BuildTableMetaSnafu<__T0>where
diff --git a/common_meta/error/struct.MoveRegionSnafu.html b/common_meta/error/struct.MoveRegionSnafu.html
index 7225b5d448e7..33e45ac82117 100644
--- a/common_meta/error/struct.MoveRegionSnafu.html
+++ b/common_meta/error/struct.MoveRegionSnafu.html
@@ -4,16 +4,16 @@
pub err_msg: __T2,
}Expand description
SNAFU context selector for the Error::MoveRegion
variant
Fields§
§table_id: __T0
§region: __T1
§err_msg: __T2
Implementations§
Trait Implementations§
source§impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for MoveRegionSnafu<__T0, __T1, __T2>
source§fn clone(&self) -> MoveRegionSnafu<__T0, __T1, __T2>
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, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for MoveRegionSnafu<__T0, __T1, __T2>
Auto Trait Implementations§
§impl<__T0, __T1, __T2> RefUnwindSafe for MoveRegionSnafu<__T0, __T1, __T2>where
__T0: RefUnwindSafe,
diff --git a/common_meta/error/struct.TableSnafu.html b/common_meta/error/struct.TableSnafu.html
index d9c91350619f..a2c1ecb55273 100644
--- a/common_meta/error/struct.TableSnafu.html
+++ b/common_meta/error/struct.TableSnafu.html
@@ -1,6 +1,6 @@
TableSnafu in common_meta::error - Rust Struct common_meta::error::TableSnafu
source · pub struct TableSnafu;
Expand description
SNAFU context selector for the Error::Table
variant
Trait Implementations§
source§impl Clone for TableSnafu
source§fn clone(&self) -> TableSnafu
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 TableSnafu
source§impl Copy for TableSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
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/common_meta/instruction/enum.Instruction.html b/common_meta/instruction/enum.Instruction.html
index 7a20097062e3..f2b72df49f65 100644
--- a/common_meta/instruction/enum.Instruction.html
+++ b/common_meta/instruction/enum.Instruction.html
@@ -1,9 +1,9 @@
Instruction in common_meta::instruction - Rust Enum common_meta::instruction::Instruction
source · pub enum Instruction {
OpenRegion(OpenRegion),
CloseRegion(RegionIdent),
- InvalidateTableIdCache(TableId),
+ InvalidateTableIdCache(TableId),
InvalidateTableNameCache(TableName),
-}
Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for Instruction
Auto Trait Implementations§
§impl RefUnwindSafe for Instruction
§impl Send for Instruction
§impl Sync for Instruction
§impl Unpin for Instruction
§impl UnwindSafe for Instruction
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/instruction/struct.RegionIdent.html b/common_meta/instruction/struct.RegionIdent.html
index 834642f1f56d..e1c0821020fb 100644
--- a/common_meta/instruction/struct.RegionIdent.html
+++ b/common_meta/instruction/struct.RegionIdent.html
@@ -1,10 +1,10 @@
RegionIdent in common_meta::instruction - Rust Struct common_meta::instruction::RegionIdent
source · pub struct RegionIdent {
pub cluster_id: ClusterId,
pub datanode_id: DatanodeId,
- pub table_id: TableId,
+ pub table_id: TableId,
pub region_number: RegionNumber,
pub engine: String,
-}
Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for RegionIdent
source§impl Hash for RegionIdent
source§impl PartialEq<RegionIdent> for RegionIdent
source§fn eq(&self, other: &RegionIdent) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableKey.html b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
index 831cc2a090bc..eb2071d8b654 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableKey.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
@@ -1,7 +1,7 @@
DatanodeTableKey in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableKey
source · pub struct DatanodeTableKey {
datanode_id: DatanodeId,
- table_id: TableId,
-}
Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
Blanket Implementations§
source§impl<T> Any for Twhere
+ table_id: TableId,
+}Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
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/common_meta/key/datanode_table/struct.DatanodeTableManager.html b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
index b1e8ab3c4b74..020d5420db60 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableManager.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
@@ -8,7 +8,7 @@
datanode_id: DatanodeId
) -> BoxStream<'static, Result<DatanodeTableValue>>
sourcepub fn build_create_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
engine: &str,
region_storage_path: &str,
region_options: HashMap<String, String>,
@@ -16,7 +16,7 @@
) -> Result<Txn>
Builds the create datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub(crate) fn build_update_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_region_distribution: RegionDistribution,
new_region_distribution: RegionDistribution,
@@ -24,7 +24,7 @@
) -> Result<Txn>
Builds the update datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub fn build_delete_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
distribution: RegionDistribution
) -> Result<Txn>
Builds the delete datanode table transactions. It only executes while the primary keys comparing successes.
Auto Trait Implementations§
§impl !RefUnwindSafe for DatanodeTableManager
§impl Send for DatanodeTableManager
§impl Sync for DatanodeTableManager
§impl Unpin for DatanodeTableManager
§impl !UnwindSafe for DatanodeTableManager
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableValue.html b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
index a32244212294..82d59648fcfd 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableValue.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
@@ -1,10 +1,10 @@
DatanodeTableValue in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableValue
source · pub struct DatanodeTableValue {
- pub table_id: TableId,
+ pub table_id: TableId,
pub regions: Vec<RegionNumber>,
pub region_info: RegionInfo,
version: u64,
-}
Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
- table_id: TableId,
+}Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
+ table_id: TableId,
regions: Vec<RegionNumber>,
region_info: RegionInfo
) -> Self
source§impl DatanodeTableValue
sourcepub fn try_from_raw_value(raw_value: &[u8]) -> Result<Self>
sourcepub fn try_as_raw_value(&self) -> Result<Vec<u8>>
Trait Implementations§
source§impl Clone for DatanodeTableValue
source§fn clone(&self) -> DatanodeTableValue
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 DatanodeTableValue
source§impl<'de> Deserialize<'de> for DatanodeTableValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
diff --git a/common_meta/key/struct.TableMetadataManager.html b/common_meta/key/struct.TableMetadataManager.html
index 6342e3e5e772..ca0e2101e96e 100644
--- a/common_meta/key/struct.TableMetadataManager.html
+++ b/common_meta/key/struct.TableMetadataManager.html
@@ -8,10 +8,10 @@
kv_backend: KvBackendRef,
}Fields§
§table_name_manager: TableNameManager
§table_info_manager: TableInfoManager
§datanode_table_manager: DatanodeTableManager
§catalog_manager: CatalogManager
§schema_manager: SchemaManager
§table_route_manager: TableRouteManager
§kv_backend: KvBackendRef
Implementations§
source§impl TableMetadataManager
sourcepub fn new(kv_backend: KvBackendRef) -> Self
sourcepub async fn init(&self) -> Result<()>
sourcepub fn table_name_manager(&self) -> &TableNameManager
sourcepub fn table_info_manager(&self) -> &TableInfoManager
sourcepub fn datanode_table_manager(&self) -> &DatanodeTableManager
sourcepub fn catalog_manager(&self) -> &CatalogManager
sourcepub fn schema_manager(&self) -> &SchemaManager
sourcepub fn table_route_manager(&self) -> &TableRouteManager
sourcepub fn kv_backend(&self) -> &KvBackendRef
sourcepub async fn get_full_table_info(
&self,
- table_id: TableId
+ table_id: TableId
) -> Result<(Option<DeserializedValueWithBytes<TableInfoValue>>, Option<DeserializedValueWithBytes<TableRouteValue>>)>
sourcepub async fn create_table_metadata(
&self,
- table_info: RawTableInfo,
+ table_info: RawTableInfo,
region_routes: Vec<RegionRoute>
) -> Result<()>
Creates metadata for table and returns an error if different metadata exists.
The caller MUST ensure it has the exclusive access to TableNameKey
.
@@ -31,11 +31,11 @@
sourcepub async fn update_table_info(
&self,
current_table_info_value: DeserializedValueWithBytes<TableInfoValue>,
- new_table_info: RawTableInfo
+ new_table_info: RawTableInfo
) -> Result<()>
Updates table info and returns an error if different metadata exists.
sourcepub async fn update_table_route(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_table_route_value: DeserializedValueWithBytes<TableRouteValue>,
new_region_routes: Vec<RegionRoute>,
diff --git a/common_meta/key/table_info/struct.TableInfoKey.html b/common_meta/key/table_info/struct.TableInfoKey.html
index a65b5c4c9471..f974bb124def 100644
--- a/common_meta/key/table_info/struct.TableInfoKey.html
+++ b/common_meta/key/table_info/struct.TableInfoKey.html
@@ -1,6 +1,6 @@
TableInfoKey in common_meta::key::table_info - Rust Struct common_meta::key::table_info::
fn conv<T>(self) -> Twhere
diff --git a/catalog/struct.RegisterTableRequest.html b/catalog/struct.RegisterTableRequest.html
index c2f30ba4aa53..91238cde5a87 100644
--- a/catalog/struct.RegisterTableRequest.html
+++ b/catalog/struct.RegisterTableRequest.html
@@ -2,9 +2,9 @@
pub catalog: String,
pub schema: String,
pub table_name: String,
- pub table_id: TableId,
- pub table: TableRef,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+ pub table: TableRef,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
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/struct.RenameTableRequest.html b/catalog/struct.RenameTableRequest.html
index c0a56b79a189..166aa7465716 100644
--- a/catalog/struct.RenameTableRequest.html
+++ b/catalog/struct.RenameTableRequest.html
@@ -3,8 +3,8 @@
pub schema: String,
pub table_name: String,
pub new_table_name: String,
- pub table_id: TableId,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
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/trait.CatalogManager.html b/catalog/trait.CatalogManager.html
index cc8091a5169e..3f057be0493b 100644
--- a/catalog/trait.CatalogManager.html
+++ b/catalog/trait.CatalogManager.html
@@ -54,7 +54,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
- ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
+ ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -107,7 +107,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/type.OpenSystemTableHook.html b/catalog/type.OpenSystemTableHook.html
index 6b2713f62a6a..1eefe22addab 100644
--- a/catalog/type.OpenSystemTableHook.html
+++ b/catalog/type.OpenSystemTableHook.html
@@ -1,2 +1,2 @@
-OpenSystemTableHook in catalog - Rust Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+OpenSystemTableHook in catalog - Rust
\ No newline at end of file
diff --git a/client/all.html b/client/all.html
index 1058c330a5ce..9bb88a75eba3 100644
--- a/client/all.html
+++ b/client/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
diff --git a/client/database/struct.Database.html b/client/database/struct.Database.html
index 1c72f65df0e4..2fe6e5e0e2fb 100644
--- a/client/database/struct.Database.html
+++ b/client/database/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/enum.Output.html b/client/enum.Output.html
new file mode 100644
index 000000000000..78dc13d76b4a
--- /dev/null
+++ b/client/enum.Output.html
@@ -0,0 +1,118 @@
+Output in client - Rust pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
§AffectedRows(usize)
§RecordBatches(RecordBatches)
§Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Output
§impl Send for Output
§impl !Sync for Output
§impl Unpin for Output
§impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/fn.from_grpc_response.html b/client/fn.from_grpc_response.html
index 0f422cea122b..0ffdc48fee12 100644
--- a/client/fn.from_grpc_response.html
+++ b/client/fn.from_grpc_response.html
@@ -1 +1 @@
-from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
+from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
diff --git a/client/index.html b/client/index.html
index 3c2e9096c074..1b3ba37a3ae1 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1 @@
-client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
\ No newline at end of file
+client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
\ No newline at end of file
diff --git a/client/region/struct.RegionRequester.html b/client/region/struct.RegionRequester.html
index c52e450ec287..74fb7ac4de8e 100644
--- a/client/region/struct.RegionRequester.html
+++ b/client/region/struct.RegionRequester.html
@@ -3,7 +3,7 @@
}Fields§
§client: Client
Implementations§
Trait Implementations§
source§impl Datanode for RegionRequester
Trait Implementations§
source§impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
Handles DML, and DDL requests.source§fn handle_query<'life0, 'async_trait>(
&'life0 self,
request: QueryRequest
-) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
§impl !RefUnwindSafe for RegionRequester
§impl Send for RegionRequester
§impl Sync for RegionRequester
§impl Unpin for RegionRequester
§impl !UnwindSafe for RegionRequester
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/struct.RecordBatches.html b/client/struct.RecordBatches.html
new file mode 100644
index 000000000000..d4b5134bef55
--- /dev/null
+++ b/client/struct.RecordBatches.html
@@ -0,0 +1,134 @@
+RecordBatches in client - Rust Struct client::RecordBatches
pub struct RecordBatches {
+ pub(crate) schema: Arc<Schema, Global>,
+ pub(crate) batches: Vec<RecordBatch, Global>,
+}
Fields§
§schema: Arc<Schema, Global>
§batches: Vec<RecordBatch, Global>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema, Global>,
+ columns: I
+) -> Result<RecordBatches, Error>where
+ I: IntoIterator<Item = Arc<dyn Vector, Global>>,
pub async fn try_collect(
+ stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
+) -> impl Future<Output = 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, Global>,
+ batches: Vec<RecordBatch, Global>
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema, Global>
pub fn take(self) -> Vec<RecordBatch, Global>
pub fn as_stream(
+ &self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
pub fn into_df_stream(
+ self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, DataFusionError>> + Send, Global>>
Trait Implementations§
§impl Debug for RecordBatches
§impl IntoIterator for RecordBatches
§type IntoIter = IntoIter<<RecordBatches as IntoIterator>::Item, Global>
Which kind of iterator are we turning this into?§fn into_iter(self) -> <RecordBatches as IntoIterator>::IntoIter
Creates an iterator from a value. Read more§impl PartialEq<RecordBatches> for RecordBatches
§fn eq(&self, other: &RecordBatches) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.§impl StructuralPartialEq for RecordBatches
Auto Trait Implementations§
§impl !RefUnwindSafe for RecordBatches
§impl Send for RecordBatches
§impl Sync for RecordBatches
§impl Unpin for RecordBatches
§impl !UnwindSafe for RecordBatches
Blanket Implementations§
§impl<I> BidiIterator for Iwhere
+ I: IntoIterator,
+ <I as IntoIterator>::IntoIter: DoubleEndedIterator,
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/type.SendableRecordBatchStream.html b/client/type.SendableRecordBatchStream.html
new file mode 100644
index 000000000000..df7268aab19a
--- /dev/null
+++ b/client/type.SendableRecordBatchStream.html
@@ -0,0 +1 @@
+SendableRecordBatchStream in client - Rust
\ No newline at end of file
diff --git a/common_grpc_expr/alter/fn.alter_expr_to_request.html b/common_grpc_expr/alter/fn.alter_expr_to_request.html
index 63f2342d02da..1850a92935fc 100644
--- a/common_grpc_expr/alter/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/alter/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr::alter - Rust Function common_grpc_expr::alter::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/alter/index.html b/common_grpc_expr/alter/index.html
index bd7e5b33fbcf..4206ec54f54a 100644
--- a/common_grpc_expr/alter/index.html
+++ b/common_grpc_expr/alter/index.html
@@ -1 +1 @@
-common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/delete/fn.to_table_delete_request.html b/common_grpc_expr/delete/fn.to_table_delete_request.html
index 17bb5cee292b..4d6dd1ad4737 100644
--- a/common_grpc_expr/delete/fn.to_table_delete_request.html
+++ b/common_grpc_expr/delete/fn.to_table_delete_request.html
@@ -2,4 +2,4 @@
catalog_name: &str,
schema_name: &str,
request: DeleteRequest
-) -> Result<DeleteRequest>
\ No newline at end of file
+) -> Result<DeleteRequest>
\ No newline at end of file
diff --git a/common_grpc_expr/fn.alter_expr_to_request.html b/common_grpc_expr/fn.alter_expr_to_request.html
index fb020673c315..e83fe76ebb26 100644
--- a/common_grpc_expr/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr - Rust Function common_grpc_expr::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/index.html b/common_grpc_expr/index.html
index 123b65c2895b..3fd0656e8b4a 100644
--- a/common_grpc_expr/index.html
+++ b/common_grpc_expr/index.html
@@ -1 +1 @@
-common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
index 36f3cb9ff049..d204bc70ab7b 100644
--- a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
+++ b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
@@ -1,7 +1,7 @@
build_create_expr_from_insertion in common_grpc_expr::insert - Rust Function common_grpc_expr::insert::build_create_expr_from_insertion
source · pub fn build_create_expr_from_insertion(
catalog_name: &str,
schema_name: &str,
- table_id: Option<TableId>,
+ table_id: Option<TableId>,
table_name: &str,
columns: &[Column],
engine: &str
diff --git a/common_grpc_expr/util/fn.build_create_table_expr.html b/common_grpc_expr/util/fn.build_create_table_expr.html
index e78b4de945b9..76a2b47b82aa 100644
--- a/common_grpc_expr/util/fn.build_create_table_expr.html
+++ b/common_grpc_expr/util/fn.build_create_table_expr.html
@@ -1,6 +1,6 @@
build_create_table_expr in common_grpc_expr::util - Rust Function common_grpc_expr::util::build_create_table_expr
source · pub fn build_create_table_expr(
- table_id: Option<TableId>,
- table_name: &TableReference<'_>,
+ table_id: Option<TableId>,
+ table_name: &TableReference<'_>,
column_exprs: Vec<ColumnExpr<'_>>,
engine: &str,
desc: &str
diff --git a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
index 13feb0240fbf..94e9334f09a2 100644
--- a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
+++ b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
@@ -1,7 +1,7 @@
DummyCacheInvalidator in common_meta::cache_invalidator - Rust pub struct DummyCacheInvalidator;
Trait Implementations§
source§impl CacheInvalidator for DummyCacheInvalidator
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
- _table_id: TableId
+ _table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/cache_invalidator/trait.CacheInvalidator.html b/common_meta/cache_invalidator/trait.CacheInvalidator.html
index dc6e8864c3a7..004d340a376a 100644
--- a/common_meta/cache_invalidator/trait.CacheInvalidator.html
+++ b/common_meta/cache_invalidator/trait.CacheInvalidator.html
@@ -3,7 +3,7 @@
fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
@@ -19,7 +19,7 @@
}Required Methods§
sourcefn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
index 625083846c6d..4e32e147c5db 100644
--- a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
+++ b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
@@ -1,5 +1,5 @@
create_proto_alter_kind in common_meta::ddl::alter_table - Rust Function common_meta::ddl::alter_table::create_proto_alter_kind
source · pub fn create_proto_alter_kind(
- table_info: &RawTableInfo,
+ table_info: &RawTableInfo,
alter_kind: &Kind
) -> Result<(Option<Kind>, Option<ColumnId>)>
Expand description
Creates region proto alter kind from table_info
and alter_kind
.
Returns the kind and next column id if it adds new columns.
diff --git a/common_meta/ddl/alter_table/struct.AlterTableData.html b/common_meta/ddl/alter_table/struct.AlterTableData.html
index f9a58a4e56bc..018ff5a55e63 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableData.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableData.html
@@ -11,7 +11,7 @@
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
cluster_id: u64,
next_column_id: Option<ColumnId>
-) -> Selfsourcefn table_ref(&self) -> TableReference<'_>
sourcefn table_id(&self) -> TableId
sourcefn table_info(&self) -> &RawTableInfo
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for AlterTableData
§impl Send for AlterTableData
§impl Sync for AlterTableData
§impl Unpin for AlterTableData
§impl UnwindSafe for AlterTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
index 473eaaaee000..6a100fc8420b 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
@@ -17,8 +17,8 @@
) -> Result<()>
Update table metadata for rename table operation.
sourceasync fn on_update_metadata_for_alter(
&self,
- new_table_info: RawTableInfo
-) -> Result<()>
sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
+ new_table_info: RawTableInfo
+) -> Result<()>sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
sourceasync fn on_broadcast(&mut self) -> Result<Status>
Broadcasts the invalidating table cache instructions.
sourcefn lock_key_inner(&self) -> Vec<String>
Trait Implementations§
source§impl Procedure for AlterTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff --git a/common_meta/ddl/create_table/struct.CreateTableData.html b/common_meta/ddl/create_table/struct.CreateTableData.html
index 2e5e27fd7eb4..4330b2fbd1af 100644
--- a/common_meta/ddl/create_table/struct.CreateTableData.html
+++ b/common_meta/ddl/create_table/struct.CreateTableData.html
@@ -3,7 +3,7 @@
pub task: CreateTableTask,
pub region_routes: Vec<RegionRoute>,
pub cluster_id: u64,
-}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
source§impl CreateTableData
sourcefn table_ref(&self) -> TableReference<'_>
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for CreateTableData
§impl Send for CreateTableData
§impl Sync for CreateTableData
§impl Unpin for CreateTableData
§impl UnwindSafe for CreateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/create_table/struct.CreateTableProcedure.html b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
index b71e4a8436f9..9a2a1de73fad 100644
--- a/common_meta/ddl/create_table/struct.CreateTableProcedure.html
+++ b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
@@ -6,7 +6,7 @@
task: CreateTableTask,
region_routes: Vec<RegionRoute>,
context: DdlContext
-) -> Self
sourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
+) -> Selfsourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
sourcepub fn create_region_request_template(&self) -> Result<PbCreateRegionRequest>
sourcepub async fn on_datanode_create_regions(&mut self) -> Result<Status>
sourceasync fn on_create_metadata(&self) -> Result<Status>
Trait Implementations§
source§impl Procedure for CreateTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_ctx: &'life1 ProcedureContext
diff --git a/common_meta/ddl/drop_table/struct.DropTableData.html b/common_meta/ddl/drop_table/struct.DropTableData.html
index 46e3a21db8cd..2b91fa24c713 100644
--- a/common_meta/ddl/drop_table/struct.DropTableData.html
+++ b/common_meta/ddl/drop_table/struct.DropTableData.html
@@ -9,7 +9,7 @@
task: DropTableTask,
table_route_value: DeserializedValueWithBytes<TableRouteValue>,
table_info_value: DeserializedValueWithBytes<TableInfoValue>
-) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for DropTableData
§impl Send for DropTableData
§impl Sync for DropTableData
§impl Unpin for DropTableData
§impl UnwindSafe for DropTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/trait.TableMetadataAllocator.html b/common_meta/ddl/trait.TableMetadataAllocator.html
index b095be070299..36cbad59636a 100644
--- a/common_meta/ddl/trait.TableMetadataAllocator.html
+++ b/common_meta/ddl/trait.TableMetadataAllocator.html
@@ -3,7 +3,7 @@
fn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>
where Self: 'async_trait,
@@ -14,7 +14,7 @@
}Required Methods§
sourcefn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/common_meta/ddl/truncate_table/struct.TruncateTableData.html b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
index 7363b523f063..708e5561808d 100644
--- a/common_meta/ddl/truncate_table/struct.TruncateTableData.html
+++ b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
@@ -9,7 +9,7 @@
task: TruncateTableTask,
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
region_routes: Vec<RegionRoute>
-) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for TruncateTableData
§impl Send for TruncateTableData
§impl Sync for TruncateTableData
§impl Unpin for TruncateTableData
§impl UnwindSafe for TruncateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/error/enum.Error.html b/common_meta/error/enum.Error.html
index 541ce4833b77..1a92776ff7a1 100644
--- a/common_meta/error/enum.Error.html
+++ b/common_meta/error/enum.Error.html
@@ -44,12 +44,12 @@
},
BuildTableMeta {
table_name: String,
- error: TableMetaBuilderError,
+ error: TableMetaBuilderError,
location: Location,
},
Table {
location: Location,
- source: Error,
+ source: Error,
},
TableRouteNotFound {
table_name: String,
@@ -145,7 +145,7 @@
location: Location,
},
MoveRegion {
- table_id: TableId,
+ table_id: TableId,
region: RegionNumber,
err_msg: String,
location: Location,
@@ -169,7 +169,7 @@
RetryLater {
source: BoxedError,
},
-
}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
+}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
sourcepub fn is_retry_later(&self) -> bool
Determine whether it is a retry later type through StatusCode
Trait Implementations§
source§impl Error for Errorwhere
Self: Debug + Display,
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§fn output_msg(&self) -> Stringwhere
Self: Sized,
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0> IntoError<Error> for CacheNotGetSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for CatalogAlreadyExistsSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -206,7 +206,7 @@
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0> IntoError<Error> for NextSequenceSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -245,7 +245,7 @@
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for TableRouteNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
+ Error: Error + ErrorCompat,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSnafu<__T0>where
Error: Error + ErrorCompat,
diff --git a/common_meta/error/struct.BuildTableMetaSnafu.html b/common_meta/error/struct.BuildTableMetaSnafu.html
index 848719b5d875..de793f19e317 100644
--- a/common_meta/error/struct.BuildTableMetaSnafu.html
+++ b/common_meta/error/struct.BuildTableMetaSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::BuildTableMeta
variant
Fields§
§table_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for BuildTableMetaSnafu<__T0>
source§fn clone(&self) -> BuildTableMetaSnafu<__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 BuildTableMetaSnafu<__T0>
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for BuildTableMetaSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for BuildTableMetaSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for BuildTableMetaSnafu<__T0>where
diff --git a/common_meta/error/struct.MoveRegionSnafu.html b/common_meta/error/struct.MoveRegionSnafu.html
index 7225b5d448e7..33e45ac82117 100644
--- a/common_meta/error/struct.MoveRegionSnafu.html
+++ b/common_meta/error/struct.MoveRegionSnafu.html
@@ -4,16 +4,16 @@
pub err_msg: __T2,
}Expand description
SNAFU context selector for the Error::MoveRegion
variant
Fields§
§table_id: __T0
§region: __T1
§err_msg: __T2
Implementations§
Trait Implementations§
source§impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for MoveRegionSnafu<__T0, __T1, __T2>
source§fn clone(&self) -> MoveRegionSnafu<__T0, __T1, __T2>
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, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for MoveRegionSnafu<__T0, __T1, __T2>
Auto Trait Implementations§
§impl<__T0, __T1, __T2> RefUnwindSafe for MoveRegionSnafu<__T0, __T1, __T2>where
__T0: RefUnwindSafe,
diff --git a/common_meta/error/struct.TableSnafu.html b/common_meta/error/struct.TableSnafu.html
index d9c91350619f..a2c1ecb55273 100644
--- a/common_meta/error/struct.TableSnafu.html
+++ b/common_meta/error/struct.TableSnafu.html
@@ -1,6 +1,6 @@
TableSnafu in common_meta::error - Rust Struct common_meta::error::TableSnafu
source · pub struct TableSnafu;
Expand description
SNAFU context selector for the Error::Table
variant
Trait Implementations§
source§impl Clone for TableSnafu
source§fn clone(&self) -> TableSnafu
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 TableSnafu
source§impl Copy for TableSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
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/common_meta/instruction/enum.Instruction.html b/common_meta/instruction/enum.Instruction.html
index 7a20097062e3..f2b72df49f65 100644
--- a/common_meta/instruction/enum.Instruction.html
+++ b/common_meta/instruction/enum.Instruction.html
@@ -1,9 +1,9 @@
Instruction in common_meta::instruction - Rust Enum common_meta::instruction::Instruction
source · pub enum Instruction {
OpenRegion(OpenRegion),
CloseRegion(RegionIdent),
- InvalidateTableIdCache(TableId),
+ InvalidateTableIdCache(TableId),
InvalidateTableNameCache(TableName),
-}
Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for Instruction
Auto Trait Implementations§
§impl RefUnwindSafe for Instruction
§impl Send for Instruction
§impl Sync for Instruction
§impl Unpin for Instruction
§impl UnwindSafe for Instruction
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/instruction/struct.RegionIdent.html b/common_meta/instruction/struct.RegionIdent.html
index 834642f1f56d..e1c0821020fb 100644
--- a/common_meta/instruction/struct.RegionIdent.html
+++ b/common_meta/instruction/struct.RegionIdent.html
@@ -1,10 +1,10 @@
RegionIdent in common_meta::instruction - Rust Struct common_meta::instruction::RegionIdent
source · pub struct RegionIdent {
pub cluster_id: ClusterId,
pub datanode_id: DatanodeId,
- pub table_id: TableId,
+ pub table_id: TableId,
pub region_number: RegionNumber,
pub engine: String,
-}
Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for RegionIdent
source§impl Hash for RegionIdent
source§impl PartialEq<RegionIdent> for RegionIdent
source§fn eq(&self, other: &RegionIdent) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableKey.html b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
index 831cc2a090bc..eb2071d8b654 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableKey.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
@@ -1,7 +1,7 @@
DatanodeTableKey in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableKey
source · pub struct DatanodeTableKey {
datanode_id: DatanodeId,
- table_id: TableId,
-}
Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
Blanket Implementations§
source§impl<T> Any for Twhere
+ table_id: TableId,
+}Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
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/common_meta/key/datanode_table/struct.DatanodeTableManager.html b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
index b1e8ab3c4b74..020d5420db60 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableManager.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
@@ -8,7 +8,7 @@
datanode_id: DatanodeId
) -> BoxStream<'static, Result<DatanodeTableValue>>
sourcepub fn build_create_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
engine: &str,
region_storage_path: &str,
region_options: HashMap<String, String>,
@@ -16,7 +16,7 @@
) -> Result<Txn>
Builds the create datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub(crate) fn build_update_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_region_distribution: RegionDistribution,
new_region_distribution: RegionDistribution,
@@ -24,7 +24,7 @@
) -> Result<Txn>
Builds the update datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub fn build_delete_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
distribution: RegionDistribution
) -> Result<Txn>
Builds the delete datanode table transactions. It only executes while the primary keys comparing successes.
Auto Trait Implementations§
§impl !RefUnwindSafe for DatanodeTableManager
§impl Send for DatanodeTableManager
§impl Sync for DatanodeTableManager
§impl Unpin for DatanodeTableManager
§impl !UnwindSafe for DatanodeTableManager
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableValue.html b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
index a32244212294..82d59648fcfd 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableValue.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
@@ -1,10 +1,10 @@
DatanodeTableValue in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableValue
source · pub struct DatanodeTableValue {
- pub table_id: TableId,
+ pub table_id: TableId,
pub regions: Vec<RegionNumber>,
pub region_info: RegionInfo,
version: u64,
-}
Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
- table_id: TableId,
+}Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
+ table_id: TableId,
regions: Vec<RegionNumber>,
region_info: RegionInfo
) -> Self
source§impl DatanodeTableValue
sourcepub fn try_from_raw_value(raw_value: &[u8]) -> Result<Self>
sourcepub fn try_as_raw_value(&self) -> Result<Vec<u8>>
Trait Implementations§
source§impl Clone for DatanodeTableValue
source§fn clone(&self) -> DatanodeTableValue
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 DatanodeTableValue
source§impl<'de> Deserialize<'de> for DatanodeTableValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
diff --git a/common_meta/key/struct.TableMetadataManager.html b/common_meta/key/struct.TableMetadataManager.html
index 6342e3e5e772..ca0e2101e96e 100644
--- a/common_meta/key/struct.TableMetadataManager.html
+++ b/common_meta/key/struct.TableMetadataManager.html
@@ -8,10 +8,10 @@
kv_backend: KvBackendRef,
}Fields§
§table_name_manager: TableNameManager
§table_info_manager: TableInfoManager
§datanode_table_manager: DatanodeTableManager
§catalog_manager: CatalogManager
§schema_manager: SchemaManager
§table_route_manager: TableRouteManager
§kv_backend: KvBackendRef
Implementations§
source§impl TableMetadataManager
sourcepub fn new(kv_backend: KvBackendRef) -> Self
sourcepub async fn init(&self) -> Result<()>
sourcepub fn table_name_manager(&self) -> &TableNameManager
sourcepub fn table_info_manager(&self) -> &TableInfoManager
sourcepub fn datanode_table_manager(&self) -> &DatanodeTableManager
sourcepub fn catalog_manager(&self) -> &CatalogManager
sourcepub fn schema_manager(&self) -> &SchemaManager
sourcepub fn table_route_manager(&self) -> &TableRouteManager
sourcepub fn kv_backend(&self) -> &KvBackendRef
sourcepub async fn get_full_table_info(
&self,
- table_id: TableId
+ table_id: TableId
) -> Result<(Option<DeserializedValueWithBytes<TableInfoValue>>, Option<DeserializedValueWithBytes<TableRouteValue>>)>
sourcepub async fn create_table_metadata(
&self,
- table_info: RawTableInfo,
+ table_info: RawTableInfo,
region_routes: Vec<RegionRoute>
) -> Result<()>
Creates metadata for table and returns an error if different metadata exists.
The caller MUST ensure it has the exclusive access to TableNameKey
.
@@ -31,11 +31,11 @@
sourcepub async fn update_table_info(
&self,
current_table_info_value: DeserializedValueWithBytes<TableInfoValue>,
- new_table_info: RawTableInfo
+ new_table_info: RawTableInfo
) -> Result<()>
Updates table info and returns an error if different metadata exists.
sourcepub async fn update_table_route(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_table_route_value: DeserializedValueWithBytes<TableRouteValue>,
new_region_routes: Vec<RegionRoute>,
diff --git a/common_meta/key/table_info/struct.TableInfoKey.html b/common_meta/key/table_info/struct.TableInfoKey.html
index a65b5c4c9471..f974bb124def 100644
--- a/common_meta/key/table_info/struct.TableInfoKey.html
+++ b/common_meta/key/table_info/struct.TableInfoKey.html
@@ -1,6 +1,6 @@
TableInfoKey in common_meta::key::table_info - Rust Struct common_meta::key::table_info::
source§impl Clone for RegisterTableRequest
impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
fn clone(&self) -> RegisterTableRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreimpl !RefUnwindSafe for RegisterTableRequest
impl Send for RegisterTableRequest
impl Sync for RegisterTableRequest
impl Unpin for RegisterTableRequest
impl !UnwindSafe for RegisterTableRequest
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+ pub table: TableRef,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
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/struct.RenameTableRequest.html b/catalog/struct.RenameTableRequest.html
index c0a56b79a189..166aa7465716 100644
--- a/catalog/struct.RenameTableRequest.html
+++ b/catalog/struct.RenameTableRequest.html
@@ -3,8 +3,8 @@
pub schema: String,
pub table_name: String,
pub new_table_name: String,
- pub table_id: TableId,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
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/trait.CatalogManager.html b/catalog/trait.CatalogManager.html
index cc8091a5169e..3f057be0493b 100644
--- a/catalog/trait.CatalogManager.html
+++ b/catalog/trait.CatalogManager.html
@@ -54,7 +54,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
- ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
+ ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -107,7 +107,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/type.OpenSystemTableHook.html b/catalog/type.OpenSystemTableHook.html
index 6b2713f62a6a..1eefe22addab 100644
--- a/catalog/type.OpenSystemTableHook.html
+++ b/catalog/type.OpenSystemTableHook.html
@@ -1,2 +1,2 @@
-OpenSystemTableHook in catalog - Rust Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+OpenSystemTableHook in catalog - Rust
\ No newline at end of file
diff --git a/client/all.html b/client/all.html
index 1058c330a5ce..9bb88a75eba3 100644
--- a/client/all.html
+++ b/client/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
diff --git a/client/database/struct.Database.html b/client/database/struct.Database.html
index 1c72f65df0e4..2fe6e5e0e2fb 100644
--- a/client/database/struct.Database.html
+++ b/client/database/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/enum.Output.html b/client/enum.Output.html
new file mode 100644
index 000000000000..78dc13d76b4a
--- /dev/null
+++ b/client/enum.Output.html
@@ -0,0 +1,118 @@
+Output in client - Rust pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
§AffectedRows(usize)
§RecordBatches(RecordBatches)
§Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Output
§impl Send for Output
§impl !Sync for Output
§impl Unpin for Output
§impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/fn.from_grpc_response.html b/client/fn.from_grpc_response.html
index 0f422cea122b..0ffdc48fee12 100644
--- a/client/fn.from_grpc_response.html
+++ b/client/fn.from_grpc_response.html
@@ -1 +1 @@
-from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
+from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
diff --git a/client/index.html b/client/index.html
index 3c2e9096c074..1b3ba37a3ae1 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1 @@
-client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
\ No newline at end of file
+client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
\ No newline at end of file
diff --git a/client/region/struct.RegionRequester.html b/client/region/struct.RegionRequester.html
index c52e450ec287..74fb7ac4de8e 100644
--- a/client/region/struct.RegionRequester.html
+++ b/client/region/struct.RegionRequester.html
@@ -3,7 +3,7 @@
}Fields§
§client: Client
Implementations§
Trait Implementations§
source§impl Datanode for RegionRequester
Trait Implementations§
source§impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
Handles DML, and DDL requests.source§fn handle_query<'life0, 'async_trait>(
&'life0 self,
request: QueryRequest
-) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
§impl !RefUnwindSafe for RegionRequester
§impl Send for RegionRequester
§impl Sync for RegionRequester
§impl Unpin for RegionRequester
§impl !UnwindSafe for RegionRequester
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/struct.RecordBatches.html b/client/struct.RecordBatches.html
new file mode 100644
index 000000000000..d4b5134bef55
--- /dev/null
+++ b/client/struct.RecordBatches.html
@@ -0,0 +1,134 @@
+RecordBatches in client - Rust Struct client::RecordBatches
pub struct RecordBatches {
+ pub(crate) schema: Arc<Schema, Global>,
+ pub(crate) batches: Vec<RecordBatch, Global>,
+}
Fields§
§schema: Arc<Schema, Global>
§batches: Vec<RecordBatch, Global>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema, Global>,
+ columns: I
+) -> Result<RecordBatches, Error>where
+ I: IntoIterator<Item = Arc<dyn Vector, Global>>,
pub async fn try_collect(
+ stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
+) -> impl Future<Output = 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, Global>,
+ batches: Vec<RecordBatch, Global>
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema, Global>
pub fn take(self) -> Vec<RecordBatch, Global>
pub fn as_stream(
+ &self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
pub fn into_df_stream(
+ self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, DataFusionError>> + Send, Global>>
Trait Implementations§
§impl Debug for RecordBatches
§impl IntoIterator for RecordBatches
§type IntoIter = IntoIter<<RecordBatches as IntoIterator>::Item, Global>
Which kind of iterator are we turning this into?§fn into_iter(self) -> <RecordBatches as IntoIterator>::IntoIter
Creates an iterator from a value. Read more§impl PartialEq<RecordBatches> for RecordBatches
§fn eq(&self, other: &RecordBatches) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.§impl StructuralPartialEq for RecordBatches
Auto Trait Implementations§
§impl !RefUnwindSafe for RecordBatches
§impl Send for RecordBatches
§impl Sync for RecordBatches
§impl Unpin for RecordBatches
§impl !UnwindSafe for RecordBatches
Blanket Implementations§
§impl<I> BidiIterator for Iwhere
+ I: IntoIterator,
+ <I as IntoIterator>::IntoIter: DoubleEndedIterator,
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/type.SendableRecordBatchStream.html b/client/type.SendableRecordBatchStream.html
new file mode 100644
index 000000000000..df7268aab19a
--- /dev/null
+++ b/client/type.SendableRecordBatchStream.html
@@ -0,0 +1 @@
+SendableRecordBatchStream in client - Rust
\ No newline at end of file
diff --git a/common_grpc_expr/alter/fn.alter_expr_to_request.html b/common_grpc_expr/alter/fn.alter_expr_to_request.html
index 63f2342d02da..1850a92935fc 100644
--- a/common_grpc_expr/alter/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/alter/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr::alter - Rust Function common_grpc_expr::alter::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/alter/index.html b/common_grpc_expr/alter/index.html
index bd7e5b33fbcf..4206ec54f54a 100644
--- a/common_grpc_expr/alter/index.html
+++ b/common_grpc_expr/alter/index.html
@@ -1 +1 @@
-common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/delete/fn.to_table_delete_request.html b/common_grpc_expr/delete/fn.to_table_delete_request.html
index 17bb5cee292b..4d6dd1ad4737 100644
--- a/common_grpc_expr/delete/fn.to_table_delete_request.html
+++ b/common_grpc_expr/delete/fn.to_table_delete_request.html
@@ -2,4 +2,4 @@
catalog_name: &str,
schema_name: &str,
request: DeleteRequest
-) -> Result<DeleteRequest>
\ No newline at end of file
+) -> Result<DeleteRequest>
\ No newline at end of file
diff --git a/common_grpc_expr/fn.alter_expr_to_request.html b/common_grpc_expr/fn.alter_expr_to_request.html
index fb020673c315..e83fe76ebb26 100644
--- a/common_grpc_expr/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr - Rust Function common_grpc_expr::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/index.html b/common_grpc_expr/index.html
index 123b65c2895b..3fd0656e8b4a 100644
--- a/common_grpc_expr/index.html
+++ b/common_grpc_expr/index.html
@@ -1 +1 @@
-common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
index 36f3cb9ff049..d204bc70ab7b 100644
--- a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
+++ b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
@@ -1,7 +1,7 @@
build_create_expr_from_insertion in common_grpc_expr::insert - Rust Function common_grpc_expr::insert::build_create_expr_from_insertion
source · pub fn build_create_expr_from_insertion(
catalog_name: &str,
schema_name: &str,
- table_id: Option<TableId>,
+ table_id: Option<TableId>,
table_name: &str,
columns: &[Column],
engine: &str
diff --git a/common_grpc_expr/util/fn.build_create_table_expr.html b/common_grpc_expr/util/fn.build_create_table_expr.html
index e78b4de945b9..76a2b47b82aa 100644
--- a/common_grpc_expr/util/fn.build_create_table_expr.html
+++ b/common_grpc_expr/util/fn.build_create_table_expr.html
@@ -1,6 +1,6 @@
build_create_table_expr in common_grpc_expr::util - Rust Function common_grpc_expr::util::build_create_table_expr
source · pub fn build_create_table_expr(
- table_id: Option<TableId>,
- table_name: &TableReference<'_>,
+ table_id: Option<TableId>,
+ table_name: &TableReference<'_>,
column_exprs: Vec<ColumnExpr<'_>>,
engine: &str,
desc: &str
diff --git a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
index 13feb0240fbf..94e9334f09a2 100644
--- a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
+++ b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
@@ -1,7 +1,7 @@
DummyCacheInvalidator in common_meta::cache_invalidator - Rust pub struct DummyCacheInvalidator;
Trait Implementations§
source§impl CacheInvalidator for DummyCacheInvalidator
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
- _table_id: TableId
+ _table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/cache_invalidator/trait.CacheInvalidator.html b/common_meta/cache_invalidator/trait.CacheInvalidator.html
index dc6e8864c3a7..004d340a376a 100644
--- a/common_meta/cache_invalidator/trait.CacheInvalidator.html
+++ b/common_meta/cache_invalidator/trait.CacheInvalidator.html
@@ -3,7 +3,7 @@
fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
@@ -19,7 +19,7 @@
}Required Methods§
sourcefn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
index 625083846c6d..4e32e147c5db 100644
--- a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
+++ b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
@@ -1,5 +1,5 @@
create_proto_alter_kind in common_meta::ddl::alter_table - Rust Function common_meta::ddl::alter_table::create_proto_alter_kind
source · pub fn create_proto_alter_kind(
- table_info: &RawTableInfo,
+ table_info: &RawTableInfo,
alter_kind: &Kind
) -> Result<(Option<Kind>, Option<ColumnId>)>
Expand description
Creates region proto alter kind from table_info
and alter_kind
.
Returns the kind and next column id if it adds new columns.
diff --git a/common_meta/ddl/alter_table/struct.AlterTableData.html b/common_meta/ddl/alter_table/struct.AlterTableData.html
index f9a58a4e56bc..018ff5a55e63 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableData.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableData.html
@@ -11,7 +11,7 @@
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
cluster_id: u64,
next_column_id: Option<ColumnId>
-) -> Selfsourcefn table_ref(&self) -> TableReference<'_>
sourcefn table_id(&self) -> TableId
sourcefn table_info(&self) -> &RawTableInfo
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for AlterTableData
§impl Send for AlterTableData
§impl Sync for AlterTableData
§impl Unpin for AlterTableData
§impl UnwindSafe for AlterTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
index 473eaaaee000..6a100fc8420b 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
@@ -17,8 +17,8 @@
) -> Result<()>
Update table metadata for rename table operation.
sourceasync fn on_update_metadata_for_alter(
&self,
- new_table_info: RawTableInfo
-) -> Result<()>
sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
+ new_table_info: RawTableInfo
+) -> Result<()>sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
sourceasync fn on_broadcast(&mut self) -> Result<Status>
Broadcasts the invalidating table cache instructions.
sourcefn lock_key_inner(&self) -> Vec<String>
Trait Implementations§
source§impl Procedure for AlterTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff --git a/common_meta/ddl/create_table/struct.CreateTableData.html b/common_meta/ddl/create_table/struct.CreateTableData.html
index 2e5e27fd7eb4..4330b2fbd1af 100644
--- a/common_meta/ddl/create_table/struct.CreateTableData.html
+++ b/common_meta/ddl/create_table/struct.CreateTableData.html
@@ -3,7 +3,7 @@
pub task: CreateTableTask,
pub region_routes: Vec<RegionRoute>,
pub cluster_id: u64,
-}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
source§impl CreateTableData
sourcefn table_ref(&self) -> TableReference<'_>
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for CreateTableData
§impl Send for CreateTableData
§impl Sync for CreateTableData
§impl Unpin for CreateTableData
§impl UnwindSafe for CreateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/create_table/struct.CreateTableProcedure.html b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
index b71e4a8436f9..9a2a1de73fad 100644
--- a/common_meta/ddl/create_table/struct.CreateTableProcedure.html
+++ b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
@@ -6,7 +6,7 @@
task: CreateTableTask,
region_routes: Vec<RegionRoute>,
context: DdlContext
-) -> Self
sourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
+) -> Selfsourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
sourcepub fn create_region_request_template(&self) -> Result<PbCreateRegionRequest>
sourcepub async fn on_datanode_create_regions(&mut self) -> Result<Status>
sourceasync fn on_create_metadata(&self) -> Result<Status>
Trait Implementations§
source§impl Procedure for CreateTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_ctx: &'life1 ProcedureContext
diff --git a/common_meta/ddl/drop_table/struct.DropTableData.html b/common_meta/ddl/drop_table/struct.DropTableData.html
index 46e3a21db8cd..2b91fa24c713 100644
--- a/common_meta/ddl/drop_table/struct.DropTableData.html
+++ b/common_meta/ddl/drop_table/struct.DropTableData.html
@@ -9,7 +9,7 @@
task: DropTableTask,
table_route_value: DeserializedValueWithBytes<TableRouteValue>,
table_info_value: DeserializedValueWithBytes<TableInfoValue>
-) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for DropTableData
§impl Send for DropTableData
§impl Sync for DropTableData
§impl Unpin for DropTableData
§impl UnwindSafe for DropTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/trait.TableMetadataAllocator.html b/common_meta/ddl/trait.TableMetadataAllocator.html
index b095be070299..36cbad59636a 100644
--- a/common_meta/ddl/trait.TableMetadataAllocator.html
+++ b/common_meta/ddl/trait.TableMetadataAllocator.html
@@ -3,7 +3,7 @@
fn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>
where Self: 'async_trait,
@@ -14,7 +14,7 @@
}Required Methods§
sourcefn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/common_meta/ddl/truncate_table/struct.TruncateTableData.html b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
index 7363b523f063..708e5561808d 100644
--- a/common_meta/ddl/truncate_table/struct.TruncateTableData.html
+++ b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
@@ -9,7 +9,7 @@
task: TruncateTableTask,
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
region_routes: Vec<RegionRoute>
-) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for TruncateTableData
§impl Send for TruncateTableData
§impl Sync for TruncateTableData
§impl Unpin for TruncateTableData
§impl UnwindSafe for TruncateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/error/enum.Error.html b/common_meta/error/enum.Error.html
index 541ce4833b77..1a92776ff7a1 100644
--- a/common_meta/error/enum.Error.html
+++ b/common_meta/error/enum.Error.html
@@ -44,12 +44,12 @@
},
BuildTableMeta {
table_name: String,
- error: TableMetaBuilderError,
+ error: TableMetaBuilderError,
location: Location,
},
Table {
location: Location,
- source: Error,
+ source: Error,
},
TableRouteNotFound {
table_name: String,
@@ -145,7 +145,7 @@
location: Location,
},
MoveRegion {
- table_id: TableId,
+ table_id: TableId,
region: RegionNumber,
err_msg: String,
location: Location,
@@ -169,7 +169,7 @@
RetryLater {
source: BoxedError,
},
-
}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
+}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
sourcepub fn is_retry_later(&self) -> bool
Determine whether it is a retry later type through StatusCode
Trait Implementations§
source§impl Error for Errorwhere
Self: Debug + Display,
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§fn output_msg(&self) -> Stringwhere
Self: Sized,
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0> IntoError<Error> for CacheNotGetSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for CatalogAlreadyExistsSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -206,7 +206,7 @@
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0> IntoError<Error> for NextSequenceSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -245,7 +245,7 @@
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for TableRouteNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
+ Error: Error + ErrorCompat,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSnafu<__T0>where
Error: Error + ErrorCompat,
diff --git a/common_meta/error/struct.BuildTableMetaSnafu.html b/common_meta/error/struct.BuildTableMetaSnafu.html
index 848719b5d875..de793f19e317 100644
--- a/common_meta/error/struct.BuildTableMetaSnafu.html
+++ b/common_meta/error/struct.BuildTableMetaSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::BuildTableMeta
variant
Fields§
§table_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for BuildTableMetaSnafu<__T0>
source§fn clone(&self) -> BuildTableMetaSnafu<__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 BuildTableMetaSnafu<__T0>
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for BuildTableMetaSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for BuildTableMetaSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for BuildTableMetaSnafu<__T0>where
diff --git a/common_meta/error/struct.MoveRegionSnafu.html b/common_meta/error/struct.MoveRegionSnafu.html
index 7225b5d448e7..33e45ac82117 100644
--- a/common_meta/error/struct.MoveRegionSnafu.html
+++ b/common_meta/error/struct.MoveRegionSnafu.html
@@ -4,16 +4,16 @@
pub err_msg: __T2,
}Expand description
SNAFU context selector for the Error::MoveRegion
variant
Fields§
§table_id: __T0
§region: __T1
§err_msg: __T2
Implementations§
Trait Implementations§
source§impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for MoveRegionSnafu<__T0, __T1, __T2>
source§fn clone(&self) -> MoveRegionSnafu<__T0, __T1, __T2>
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, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for MoveRegionSnafu<__T0, __T1, __T2>
Auto Trait Implementations§
§impl<__T0, __T1, __T2> RefUnwindSafe for MoveRegionSnafu<__T0, __T1, __T2>where
__T0: RefUnwindSafe,
diff --git a/common_meta/error/struct.TableSnafu.html b/common_meta/error/struct.TableSnafu.html
index d9c91350619f..a2c1ecb55273 100644
--- a/common_meta/error/struct.TableSnafu.html
+++ b/common_meta/error/struct.TableSnafu.html
@@ -1,6 +1,6 @@
TableSnafu in common_meta::error - Rust Struct common_meta::error::TableSnafu
source · pub struct TableSnafu;
Expand description
SNAFU context selector for the Error::Table
variant
Trait Implementations§
source§impl Clone for TableSnafu
source§fn clone(&self) -> TableSnafu
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 TableSnafu
source§impl Copy for TableSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
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/common_meta/instruction/enum.Instruction.html b/common_meta/instruction/enum.Instruction.html
index 7a20097062e3..f2b72df49f65 100644
--- a/common_meta/instruction/enum.Instruction.html
+++ b/common_meta/instruction/enum.Instruction.html
@@ -1,9 +1,9 @@
Instruction in common_meta::instruction - Rust Enum common_meta::instruction::Instruction
source · pub enum Instruction {
OpenRegion(OpenRegion),
CloseRegion(RegionIdent),
- InvalidateTableIdCache(TableId),
+ InvalidateTableIdCache(TableId),
InvalidateTableNameCache(TableName),
-}
Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for Instruction
Auto Trait Implementations§
§impl RefUnwindSafe for Instruction
§impl Send for Instruction
§impl Sync for Instruction
§impl Unpin for Instruction
§impl UnwindSafe for Instruction
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/instruction/struct.RegionIdent.html b/common_meta/instruction/struct.RegionIdent.html
index 834642f1f56d..e1c0821020fb 100644
--- a/common_meta/instruction/struct.RegionIdent.html
+++ b/common_meta/instruction/struct.RegionIdent.html
@@ -1,10 +1,10 @@
RegionIdent in common_meta::instruction - Rust Struct common_meta::instruction::RegionIdent
source · pub struct RegionIdent {
pub cluster_id: ClusterId,
pub datanode_id: DatanodeId,
- pub table_id: TableId,
+ pub table_id: TableId,
pub region_number: RegionNumber,
pub engine: String,
-}
Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for RegionIdent
source§impl Hash for RegionIdent
source§impl PartialEq<RegionIdent> for RegionIdent
source§fn eq(&self, other: &RegionIdent) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableKey.html b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
index 831cc2a090bc..eb2071d8b654 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableKey.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
@@ -1,7 +1,7 @@
DatanodeTableKey in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableKey
source · pub struct DatanodeTableKey {
datanode_id: DatanodeId,
- table_id: TableId,
-}
Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
Blanket Implementations§
source§impl<T> Any for Twhere
+ table_id: TableId,
+}Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
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/common_meta/key/datanode_table/struct.DatanodeTableManager.html b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
index b1e8ab3c4b74..020d5420db60 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableManager.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
@@ -8,7 +8,7 @@
datanode_id: DatanodeId
) -> BoxStream<'static, Result<DatanodeTableValue>>
sourcepub fn build_create_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
engine: &str,
region_storage_path: &str,
region_options: HashMap<String, String>,
@@ -16,7 +16,7 @@
) -> Result<Txn>
Builds the create datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub(crate) fn build_update_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_region_distribution: RegionDistribution,
new_region_distribution: RegionDistribution,
@@ -24,7 +24,7 @@
) -> Result<Txn>
Builds the update datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub fn build_delete_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
distribution: RegionDistribution
) -> Result<Txn>
Builds the delete datanode table transactions. It only executes while the primary keys comparing successes.
Auto Trait Implementations§
§impl !RefUnwindSafe for DatanodeTableManager
§impl Send for DatanodeTableManager
§impl Sync for DatanodeTableManager
§impl Unpin for DatanodeTableManager
§impl !UnwindSafe for DatanodeTableManager
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableValue.html b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
index a32244212294..82d59648fcfd 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableValue.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
@@ -1,10 +1,10 @@
DatanodeTableValue in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableValue
source · pub struct DatanodeTableValue {
- pub table_id: TableId,
+ pub table_id: TableId,
pub regions: Vec<RegionNumber>,
pub region_info: RegionInfo,
version: u64,
-}
Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
- table_id: TableId,
+}Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
+ table_id: TableId,
regions: Vec<RegionNumber>,
region_info: RegionInfo
) -> Self
source§impl DatanodeTableValue
sourcepub fn try_from_raw_value(raw_value: &[u8]) -> Result<Self>
sourcepub fn try_as_raw_value(&self) -> Result<Vec<u8>>
Trait Implementations§
source§impl Clone for DatanodeTableValue
source§fn clone(&self) -> DatanodeTableValue
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 DatanodeTableValue
source§impl<'de> Deserialize<'de> for DatanodeTableValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
diff --git a/common_meta/key/struct.TableMetadataManager.html b/common_meta/key/struct.TableMetadataManager.html
index 6342e3e5e772..ca0e2101e96e 100644
--- a/common_meta/key/struct.TableMetadataManager.html
+++ b/common_meta/key/struct.TableMetadataManager.html
@@ -8,10 +8,10 @@
kv_backend: KvBackendRef,
}Fields§
§table_name_manager: TableNameManager
§table_info_manager: TableInfoManager
§datanode_table_manager: DatanodeTableManager
§catalog_manager: CatalogManager
§schema_manager: SchemaManager
§table_route_manager: TableRouteManager
§kv_backend: KvBackendRef
Implementations§
source§impl TableMetadataManager
sourcepub fn new(kv_backend: KvBackendRef) -> Self
sourcepub async fn init(&self) -> Result<()>
sourcepub fn table_name_manager(&self) -> &TableNameManager
sourcepub fn table_info_manager(&self) -> &TableInfoManager
sourcepub fn datanode_table_manager(&self) -> &DatanodeTableManager
sourcepub fn catalog_manager(&self) -> &CatalogManager
sourcepub fn schema_manager(&self) -> &SchemaManager
sourcepub fn table_route_manager(&self) -> &TableRouteManager
sourcepub fn kv_backend(&self) -> &KvBackendRef
sourcepub async fn get_full_table_info(
&self,
- table_id: TableId
+ table_id: TableId
) -> Result<(Option<DeserializedValueWithBytes<TableInfoValue>>, Option<DeserializedValueWithBytes<TableRouteValue>>)>
sourcepub async fn create_table_metadata(
&self,
- table_info: RawTableInfo,
+ table_info: RawTableInfo,
region_routes: Vec<RegionRoute>
) -> Result<()>
Creates metadata for table and returns an error if different metadata exists.
The caller MUST ensure it has the exclusive access to TableNameKey
.
@@ -31,11 +31,11 @@
sourcepub async fn update_table_info(
&self,
current_table_info_value: DeserializedValueWithBytes<TableInfoValue>,
- new_table_info: RawTableInfo
+ new_table_info: RawTableInfo
) -> Result<()>
Updates table info and returns an error if different metadata exists.
sourcepub async fn update_table_route(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_table_route_value: DeserializedValueWithBytes<TableRouteValue>,
new_region_routes: Vec<RegionRoute>,
diff --git a/common_meta/key/table_info/struct.TableInfoKey.html b/common_meta/key/table_info/struct.TableInfoKey.html
index a65b5c4c9471..f974bb124def 100644
--- a/common_meta/key/table_info/struct.TableInfoKey.html
+++ b/common_meta/key/table_info/struct.TableInfoKey.html
@@ -1,6 +1,6 @@
TableInfoKey in common_meta::key::table_info - Rust Struct common_meta::key::table_info::
impl<T> Any for Twhere
+ pub table_id: TableId,
+ pub table: TableRef,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§table_id: TableId
§table: TableRef
Trait Implementations§
source§impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl !RefUnwindSafe for RegisterTableRequest
§impl Send for RegisterTableRequest
§impl Sync for RegisterTableRequest
§impl Unpin for RegisterTableRequest
§impl !UnwindSafe for RegisterTableRequest
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/struct.RenameTableRequest.html b/catalog/struct.RenameTableRequest.html
index c0a56b79a189..166aa7465716 100644
--- a/catalog/struct.RenameTableRequest.html
+++ b/catalog/struct.RenameTableRequest.html
@@ -3,8 +3,8 @@
pub schema: String,
pub table_name: String,
pub new_table_name: String,
- pub table_id: TableId,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
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/trait.CatalogManager.html b/catalog/trait.CatalogManager.html
index cc8091a5169e..3f057be0493b 100644
--- a/catalog/trait.CatalogManager.html
+++ b/catalog/trait.CatalogManager.html
@@ -54,7 +54,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
- ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
+ ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -107,7 +107,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/type.OpenSystemTableHook.html b/catalog/type.OpenSystemTableHook.html
index 6b2713f62a6a..1eefe22addab 100644
--- a/catalog/type.OpenSystemTableHook.html
+++ b/catalog/type.OpenSystemTableHook.html
@@ -1,2 +1,2 @@
-OpenSystemTableHook in catalog - Rust Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+OpenSystemTableHook in catalog - Rust
\ No newline at end of file
diff --git a/client/all.html b/client/all.html
index 1058c330a5ce..9bb88a75eba3 100644
--- a/client/all.html
+++ b/client/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
diff --git a/client/database/struct.Database.html b/client/database/struct.Database.html
index 1c72f65df0e4..2fe6e5e0e2fb 100644
--- a/client/database/struct.Database.html
+++ b/client/database/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/enum.Output.html b/client/enum.Output.html
new file mode 100644
index 000000000000..78dc13d76b4a
--- /dev/null
+++ b/client/enum.Output.html
@@ -0,0 +1,118 @@
+Output in client - Rust pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
§AffectedRows(usize)
§RecordBatches(RecordBatches)
§Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Output
§impl Send for Output
§impl !Sync for Output
§impl Unpin for Output
§impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/fn.from_grpc_response.html b/client/fn.from_grpc_response.html
index 0f422cea122b..0ffdc48fee12 100644
--- a/client/fn.from_grpc_response.html
+++ b/client/fn.from_grpc_response.html
@@ -1 +1 @@
-from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
+from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
diff --git a/client/index.html b/client/index.html
index 3c2e9096c074..1b3ba37a3ae1 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1 @@
-client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
\ No newline at end of file
+client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
\ No newline at end of file
diff --git a/client/region/struct.RegionRequester.html b/client/region/struct.RegionRequester.html
index c52e450ec287..74fb7ac4de8e 100644
--- a/client/region/struct.RegionRequester.html
+++ b/client/region/struct.RegionRequester.html
@@ -3,7 +3,7 @@
}Fields§
§client: Client
Implementations§
Trait Implementations§
source§impl Datanode for RegionRequester
Trait Implementations§
source§impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
Handles DML, and DDL requests.source§fn handle_query<'life0, 'async_trait>(
&'life0 self,
request: QueryRequest
-) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
§impl !RefUnwindSafe for RegionRequester
§impl Send for RegionRequester
§impl Sync for RegionRequester
§impl Unpin for RegionRequester
§impl !UnwindSafe for RegionRequester
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/struct.RecordBatches.html b/client/struct.RecordBatches.html
new file mode 100644
index 000000000000..d4b5134bef55
--- /dev/null
+++ b/client/struct.RecordBatches.html
@@ -0,0 +1,134 @@
+RecordBatches in client - Rust Struct client::RecordBatches
pub struct RecordBatches {
+ pub(crate) schema: Arc<Schema, Global>,
+ pub(crate) batches: Vec<RecordBatch, Global>,
+}
Fields§
§schema: Arc<Schema, Global>
§batches: Vec<RecordBatch, Global>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema, Global>,
+ columns: I
+) -> Result<RecordBatches, Error>where
+ I: IntoIterator<Item = Arc<dyn Vector, Global>>,
pub async fn try_collect(
+ stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
+) -> impl Future<Output = 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, Global>,
+ batches: Vec<RecordBatch, Global>
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema, Global>
pub fn take(self) -> Vec<RecordBatch, Global>
pub fn as_stream(
+ &self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
pub fn into_df_stream(
+ self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, DataFusionError>> + Send, Global>>
Trait Implementations§
§impl Debug for RecordBatches
§impl IntoIterator for RecordBatches
§type IntoIter = IntoIter<<RecordBatches as IntoIterator>::Item, Global>
Which kind of iterator are we turning this into?§fn into_iter(self) -> <RecordBatches as IntoIterator>::IntoIter
Creates an iterator from a value. Read more§impl PartialEq<RecordBatches> for RecordBatches
§fn eq(&self, other: &RecordBatches) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.§impl StructuralPartialEq for RecordBatches
Auto Trait Implementations§
§impl !RefUnwindSafe for RecordBatches
§impl Send for RecordBatches
§impl Sync for RecordBatches
§impl Unpin for RecordBatches
§impl !UnwindSafe for RecordBatches
Blanket Implementations§
§impl<I> BidiIterator for Iwhere
+ I: IntoIterator,
+ <I as IntoIterator>::IntoIter: DoubleEndedIterator,
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/type.SendableRecordBatchStream.html b/client/type.SendableRecordBatchStream.html
new file mode 100644
index 000000000000..df7268aab19a
--- /dev/null
+++ b/client/type.SendableRecordBatchStream.html
@@ -0,0 +1 @@
+SendableRecordBatchStream in client - Rust
\ No newline at end of file
diff --git a/common_grpc_expr/alter/fn.alter_expr_to_request.html b/common_grpc_expr/alter/fn.alter_expr_to_request.html
index 63f2342d02da..1850a92935fc 100644
--- a/common_grpc_expr/alter/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/alter/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr::alter - Rust Function common_grpc_expr::alter::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/alter/index.html b/common_grpc_expr/alter/index.html
index bd7e5b33fbcf..4206ec54f54a 100644
--- a/common_grpc_expr/alter/index.html
+++ b/common_grpc_expr/alter/index.html
@@ -1 +1 @@
-common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/delete/fn.to_table_delete_request.html b/common_grpc_expr/delete/fn.to_table_delete_request.html
index 17bb5cee292b..4d6dd1ad4737 100644
--- a/common_grpc_expr/delete/fn.to_table_delete_request.html
+++ b/common_grpc_expr/delete/fn.to_table_delete_request.html
@@ -2,4 +2,4 @@
catalog_name: &str,
schema_name: &str,
request: DeleteRequest
-) -> Result<DeleteRequest>
\ No newline at end of file
+) -> Result<DeleteRequest>
\ No newline at end of file
diff --git a/common_grpc_expr/fn.alter_expr_to_request.html b/common_grpc_expr/fn.alter_expr_to_request.html
index fb020673c315..e83fe76ebb26 100644
--- a/common_grpc_expr/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr - Rust Function common_grpc_expr::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/index.html b/common_grpc_expr/index.html
index 123b65c2895b..3fd0656e8b4a 100644
--- a/common_grpc_expr/index.html
+++ b/common_grpc_expr/index.html
@@ -1 +1 @@
-common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
index 36f3cb9ff049..d204bc70ab7b 100644
--- a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
+++ b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
@@ -1,7 +1,7 @@
build_create_expr_from_insertion in common_grpc_expr::insert - Rust Function common_grpc_expr::insert::build_create_expr_from_insertion
source · pub fn build_create_expr_from_insertion(
catalog_name: &str,
schema_name: &str,
- table_id: Option<TableId>,
+ table_id: Option<TableId>,
table_name: &str,
columns: &[Column],
engine: &str
diff --git a/common_grpc_expr/util/fn.build_create_table_expr.html b/common_grpc_expr/util/fn.build_create_table_expr.html
index e78b4de945b9..76a2b47b82aa 100644
--- a/common_grpc_expr/util/fn.build_create_table_expr.html
+++ b/common_grpc_expr/util/fn.build_create_table_expr.html
@@ -1,6 +1,6 @@
build_create_table_expr in common_grpc_expr::util - Rust Function common_grpc_expr::util::build_create_table_expr
source · pub fn build_create_table_expr(
- table_id: Option<TableId>,
- table_name: &TableReference<'_>,
+ table_id: Option<TableId>,
+ table_name: &TableReference<'_>,
column_exprs: Vec<ColumnExpr<'_>>,
engine: &str,
desc: &str
diff --git a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
index 13feb0240fbf..94e9334f09a2 100644
--- a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
+++ b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
@@ -1,7 +1,7 @@
DummyCacheInvalidator in common_meta::cache_invalidator - Rust pub struct DummyCacheInvalidator;
Trait Implementations§
source§impl CacheInvalidator for DummyCacheInvalidator
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
- _table_id: TableId
+ _table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/cache_invalidator/trait.CacheInvalidator.html b/common_meta/cache_invalidator/trait.CacheInvalidator.html
index dc6e8864c3a7..004d340a376a 100644
--- a/common_meta/cache_invalidator/trait.CacheInvalidator.html
+++ b/common_meta/cache_invalidator/trait.CacheInvalidator.html
@@ -3,7 +3,7 @@
fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
@@ -19,7 +19,7 @@
}Required Methods§
sourcefn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
index 625083846c6d..4e32e147c5db 100644
--- a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
+++ b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
@@ -1,5 +1,5 @@
create_proto_alter_kind in common_meta::ddl::alter_table - Rust Function common_meta::ddl::alter_table::create_proto_alter_kind
source · pub fn create_proto_alter_kind(
- table_info: &RawTableInfo,
+ table_info: &RawTableInfo,
alter_kind: &Kind
) -> Result<(Option<Kind>, Option<ColumnId>)>
Expand description
Creates region proto alter kind from table_info
and alter_kind
.
Returns the kind and next column id if it adds new columns.
diff --git a/common_meta/ddl/alter_table/struct.AlterTableData.html b/common_meta/ddl/alter_table/struct.AlterTableData.html
index f9a58a4e56bc..018ff5a55e63 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableData.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableData.html
@@ -11,7 +11,7 @@
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
cluster_id: u64,
next_column_id: Option<ColumnId>
-) -> Selfsourcefn table_ref(&self) -> TableReference<'_>
sourcefn table_id(&self) -> TableId
sourcefn table_info(&self) -> &RawTableInfo
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for AlterTableData
§impl Send for AlterTableData
§impl Sync for AlterTableData
§impl Unpin for AlterTableData
§impl UnwindSafe for AlterTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
index 473eaaaee000..6a100fc8420b 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
@@ -17,8 +17,8 @@
) -> Result<()>
Update table metadata for rename table operation.
sourceasync fn on_update_metadata_for_alter(
&self,
- new_table_info: RawTableInfo
-) -> Result<()>
sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
+ new_table_info: RawTableInfo
+) -> Result<()>sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
sourceasync fn on_broadcast(&mut self) -> Result<Status>
Broadcasts the invalidating table cache instructions.
sourcefn lock_key_inner(&self) -> Vec<String>
Trait Implementations§
source§impl Procedure for AlterTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff --git a/common_meta/ddl/create_table/struct.CreateTableData.html b/common_meta/ddl/create_table/struct.CreateTableData.html
index 2e5e27fd7eb4..4330b2fbd1af 100644
--- a/common_meta/ddl/create_table/struct.CreateTableData.html
+++ b/common_meta/ddl/create_table/struct.CreateTableData.html
@@ -3,7 +3,7 @@
pub task: CreateTableTask,
pub region_routes: Vec<RegionRoute>,
pub cluster_id: u64,
-}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
source§impl CreateTableData
sourcefn table_ref(&self) -> TableReference<'_>
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for CreateTableData
§impl Send for CreateTableData
§impl Sync for CreateTableData
§impl Unpin for CreateTableData
§impl UnwindSafe for CreateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/create_table/struct.CreateTableProcedure.html b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
index b71e4a8436f9..9a2a1de73fad 100644
--- a/common_meta/ddl/create_table/struct.CreateTableProcedure.html
+++ b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
@@ -6,7 +6,7 @@
task: CreateTableTask,
region_routes: Vec<RegionRoute>,
context: DdlContext
-) -> Self
sourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
+) -> Selfsourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
sourcepub fn create_region_request_template(&self) -> Result<PbCreateRegionRequest>
sourcepub async fn on_datanode_create_regions(&mut self) -> Result<Status>
sourceasync fn on_create_metadata(&self) -> Result<Status>
Trait Implementations§
source§impl Procedure for CreateTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_ctx: &'life1 ProcedureContext
diff --git a/common_meta/ddl/drop_table/struct.DropTableData.html b/common_meta/ddl/drop_table/struct.DropTableData.html
index 46e3a21db8cd..2b91fa24c713 100644
--- a/common_meta/ddl/drop_table/struct.DropTableData.html
+++ b/common_meta/ddl/drop_table/struct.DropTableData.html
@@ -9,7 +9,7 @@
task: DropTableTask,
table_route_value: DeserializedValueWithBytes<TableRouteValue>,
table_info_value: DeserializedValueWithBytes<TableInfoValue>
-) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for DropTableData
§impl Send for DropTableData
§impl Sync for DropTableData
§impl Unpin for DropTableData
§impl UnwindSafe for DropTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/trait.TableMetadataAllocator.html b/common_meta/ddl/trait.TableMetadataAllocator.html
index b095be070299..36cbad59636a 100644
--- a/common_meta/ddl/trait.TableMetadataAllocator.html
+++ b/common_meta/ddl/trait.TableMetadataAllocator.html
@@ -3,7 +3,7 @@
fn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>
where Self: 'async_trait,
@@ -14,7 +14,7 @@
}Required Methods§
sourcefn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/common_meta/ddl/truncate_table/struct.TruncateTableData.html b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
index 7363b523f063..708e5561808d 100644
--- a/common_meta/ddl/truncate_table/struct.TruncateTableData.html
+++ b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
@@ -9,7 +9,7 @@
task: TruncateTableTask,
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
region_routes: Vec<RegionRoute>
-) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for TruncateTableData
§impl Send for TruncateTableData
§impl Sync for TruncateTableData
§impl Unpin for TruncateTableData
§impl UnwindSafe for TruncateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/error/enum.Error.html b/common_meta/error/enum.Error.html
index 541ce4833b77..1a92776ff7a1 100644
--- a/common_meta/error/enum.Error.html
+++ b/common_meta/error/enum.Error.html
@@ -44,12 +44,12 @@
},
BuildTableMeta {
table_name: String,
- error: TableMetaBuilderError,
+ error: TableMetaBuilderError,
location: Location,
},
Table {
location: Location,
- source: Error,
+ source: Error,
},
TableRouteNotFound {
table_name: String,
@@ -145,7 +145,7 @@
location: Location,
},
MoveRegion {
- table_id: TableId,
+ table_id: TableId,
region: RegionNumber,
err_msg: String,
location: Location,
@@ -169,7 +169,7 @@
RetryLater {
source: BoxedError,
},
-
}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
+}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
sourcepub fn is_retry_later(&self) -> bool
Determine whether it is a retry later type through StatusCode
Trait Implementations§
source§impl Error for Errorwhere
Self: Debug + Display,
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§fn output_msg(&self) -> Stringwhere
Self: Sized,
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0> IntoError<Error> for CacheNotGetSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for CatalogAlreadyExistsSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -206,7 +206,7 @@
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0> IntoError<Error> for NextSequenceSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -245,7 +245,7 @@
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for TableRouteNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
+ Error: Error + ErrorCompat,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSnafu<__T0>where
Error: Error + ErrorCompat,
diff --git a/common_meta/error/struct.BuildTableMetaSnafu.html b/common_meta/error/struct.BuildTableMetaSnafu.html
index 848719b5d875..de793f19e317 100644
--- a/common_meta/error/struct.BuildTableMetaSnafu.html
+++ b/common_meta/error/struct.BuildTableMetaSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::BuildTableMeta
variant
Fields§
§table_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for BuildTableMetaSnafu<__T0>
source§fn clone(&self) -> BuildTableMetaSnafu<__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 BuildTableMetaSnafu<__T0>
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for BuildTableMetaSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for BuildTableMetaSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for BuildTableMetaSnafu<__T0>where
diff --git a/common_meta/error/struct.MoveRegionSnafu.html b/common_meta/error/struct.MoveRegionSnafu.html
index 7225b5d448e7..33e45ac82117 100644
--- a/common_meta/error/struct.MoveRegionSnafu.html
+++ b/common_meta/error/struct.MoveRegionSnafu.html
@@ -4,16 +4,16 @@
pub err_msg: __T2,
}Expand description
SNAFU context selector for the Error::MoveRegion
variant
Fields§
§table_id: __T0
§region: __T1
§err_msg: __T2
Implementations§
Trait Implementations§
source§impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for MoveRegionSnafu<__T0, __T1, __T2>
source§fn clone(&self) -> MoveRegionSnafu<__T0, __T1, __T2>
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, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for MoveRegionSnafu<__T0, __T1, __T2>
Auto Trait Implementations§
§impl<__T0, __T1, __T2> RefUnwindSafe for MoveRegionSnafu<__T0, __T1, __T2>where
__T0: RefUnwindSafe,
diff --git a/common_meta/error/struct.TableSnafu.html b/common_meta/error/struct.TableSnafu.html
index d9c91350619f..a2c1ecb55273 100644
--- a/common_meta/error/struct.TableSnafu.html
+++ b/common_meta/error/struct.TableSnafu.html
@@ -1,6 +1,6 @@
TableSnafu in common_meta::error - Rust Struct common_meta::error::TableSnafu
source · pub struct TableSnafu;
Expand description
SNAFU context selector for the Error::Table
variant
Trait Implementations§
source§impl Clone for TableSnafu
source§fn clone(&self) -> TableSnafu
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 TableSnafu
source§impl Copy for TableSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
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/common_meta/instruction/enum.Instruction.html b/common_meta/instruction/enum.Instruction.html
index 7a20097062e3..f2b72df49f65 100644
--- a/common_meta/instruction/enum.Instruction.html
+++ b/common_meta/instruction/enum.Instruction.html
@@ -1,9 +1,9 @@
Instruction in common_meta::instruction - Rust Enum common_meta::instruction::Instruction
source · pub enum Instruction {
OpenRegion(OpenRegion),
CloseRegion(RegionIdent),
- InvalidateTableIdCache(TableId),
+ InvalidateTableIdCache(TableId),
InvalidateTableNameCache(TableName),
-}
Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for Instruction
Auto Trait Implementations§
§impl RefUnwindSafe for Instruction
§impl Send for Instruction
§impl Sync for Instruction
§impl Unpin for Instruction
§impl UnwindSafe for Instruction
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/instruction/struct.RegionIdent.html b/common_meta/instruction/struct.RegionIdent.html
index 834642f1f56d..e1c0821020fb 100644
--- a/common_meta/instruction/struct.RegionIdent.html
+++ b/common_meta/instruction/struct.RegionIdent.html
@@ -1,10 +1,10 @@
RegionIdent in common_meta::instruction - Rust Struct common_meta::instruction::RegionIdent
source · pub struct RegionIdent {
pub cluster_id: ClusterId,
pub datanode_id: DatanodeId,
- pub table_id: TableId,
+ pub table_id: TableId,
pub region_number: RegionNumber,
pub engine: String,
-}
Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for RegionIdent
source§impl Hash for RegionIdent
source§impl PartialEq<RegionIdent> for RegionIdent
source§fn eq(&self, other: &RegionIdent) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableKey.html b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
index 831cc2a090bc..eb2071d8b654 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableKey.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
@@ -1,7 +1,7 @@
DatanodeTableKey in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableKey
source · pub struct DatanodeTableKey {
datanode_id: DatanodeId,
- table_id: TableId,
-}
Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
Blanket Implementations§
source§impl<T> Any for Twhere
+ table_id: TableId,
+}Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
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/common_meta/key/datanode_table/struct.DatanodeTableManager.html b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
index b1e8ab3c4b74..020d5420db60 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableManager.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
@@ -8,7 +8,7 @@
datanode_id: DatanodeId
) -> BoxStream<'static, Result<DatanodeTableValue>>
sourcepub fn build_create_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
engine: &str,
region_storage_path: &str,
region_options: HashMap<String, String>,
@@ -16,7 +16,7 @@
) -> Result<Txn>
Builds the create datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub(crate) fn build_update_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_region_distribution: RegionDistribution,
new_region_distribution: RegionDistribution,
@@ -24,7 +24,7 @@
) -> Result<Txn>
Builds the update datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub fn build_delete_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
distribution: RegionDistribution
) -> Result<Txn>
Builds the delete datanode table transactions. It only executes while the primary keys comparing successes.
Auto Trait Implementations§
§impl !RefUnwindSafe for DatanodeTableManager
§impl Send for DatanodeTableManager
§impl Sync for DatanodeTableManager
§impl Unpin for DatanodeTableManager
§impl !UnwindSafe for DatanodeTableManager
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableValue.html b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
index a32244212294..82d59648fcfd 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableValue.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
@@ -1,10 +1,10 @@
DatanodeTableValue in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableValue
source · pub struct DatanodeTableValue {
- pub table_id: TableId,
+ pub table_id: TableId,
pub regions: Vec<RegionNumber>,
pub region_info: RegionInfo,
version: u64,
-}
Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
- table_id: TableId,
+}Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
+ table_id: TableId,
regions: Vec<RegionNumber>,
region_info: RegionInfo
) -> Self
source§impl DatanodeTableValue
sourcepub fn try_from_raw_value(raw_value: &[u8]) -> Result<Self>
sourcepub fn try_as_raw_value(&self) -> Result<Vec<u8>>
Trait Implementations§
source§impl Clone for DatanodeTableValue
source§fn clone(&self) -> DatanodeTableValue
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 DatanodeTableValue
source§impl<'de> Deserialize<'de> for DatanodeTableValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
diff --git a/common_meta/key/struct.TableMetadataManager.html b/common_meta/key/struct.TableMetadataManager.html
index 6342e3e5e772..ca0e2101e96e 100644
--- a/common_meta/key/struct.TableMetadataManager.html
+++ b/common_meta/key/struct.TableMetadataManager.html
@@ -8,10 +8,10 @@
kv_backend: KvBackendRef,
}Fields§
§table_name_manager: TableNameManager
§table_info_manager: TableInfoManager
§datanode_table_manager: DatanodeTableManager
§catalog_manager: CatalogManager
§schema_manager: SchemaManager
§table_route_manager: TableRouteManager
§kv_backend: KvBackendRef
Implementations§
source§impl TableMetadataManager
sourcepub fn new(kv_backend: KvBackendRef) -> Self
sourcepub async fn init(&self) -> Result<()>
sourcepub fn table_name_manager(&self) -> &TableNameManager
sourcepub fn table_info_manager(&self) -> &TableInfoManager
sourcepub fn datanode_table_manager(&self) -> &DatanodeTableManager
sourcepub fn catalog_manager(&self) -> &CatalogManager
sourcepub fn schema_manager(&self) -> &SchemaManager
sourcepub fn table_route_manager(&self) -> &TableRouteManager
sourcepub fn kv_backend(&self) -> &KvBackendRef
sourcepub async fn get_full_table_info(
&self,
- table_id: TableId
+ table_id: TableId
) -> Result<(Option<DeserializedValueWithBytes<TableInfoValue>>, Option<DeserializedValueWithBytes<TableRouteValue>>)>
sourcepub async fn create_table_metadata(
&self,
- table_info: RawTableInfo,
+ table_info: RawTableInfo,
region_routes: Vec<RegionRoute>
) -> Result<()>
Creates metadata for table and returns an error if different metadata exists.
The caller MUST ensure it has the exclusive access to TableNameKey
.
@@ -31,11 +31,11 @@
sourcepub async fn update_table_info(
&self,
current_table_info_value: DeserializedValueWithBytes<TableInfoValue>,
- new_table_info: RawTableInfo
+ new_table_info: RawTableInfo
) -> Result<()>
Updates table info and returns an error if different metadata exists.
sourcepub async fn update_table_route(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_table_route_value: DeserializedValueWithBytes<TableRouteValue>,
new_region_routes: Vec<RegionRoute>,
diff --git a/common_meta/key/table_info/struct.TableInfoKey.html b/common_meta/key/table_info/struct.TableInfoKey.html
index a65b5c4c9471..f974bb124def 100644
--- a/common_meta/key/table_info/struct.TableInfoKey.html
+++ b/common_meta/key/table_info/struct.TableInfoKey.html
@@ -1,6 +1,6 @@
TableInfoKey in common_meta::key::table_info - Rust Struct common_meta::key::table_info::
source§impl Clone for RegisterTableRequest
impl Clone for RegisterTableRequest
source§fn clone(&self) -> RegisterTableRequest
fn clone(&self) -> RegisterTableRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreimpl !RefUnwindSafe for RegisterTableRequest
impl Send for RegisterTableRequest
impl Sync for RegisterTableRequest
impl Unpin for RegisterTableRequest
impl !UnwindSafe for RegisterTableRequest
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/struct.RenameTableRequest.html b/catalog/struct.RenameTableRequest.html
index c0a56b79a189..166aa7465716 100644
--- a/catalog/struct.RenameTableRequest.html
+++ b/catalog/struct.RenameTableRequest.html
@@ -3,8 +3,8 @@
pub schema: String,
pub table_name: String,
pub new_table_name: String,
- pub table_id: TableId,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
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/trait.CatalogManager.html b/catalog/trait.CatalogManager.html
index cc8091a5169e..3f057be0493b 100644
--- a/catalog/trait.CatalogManager.html
+++ b/catalog/trait.CatalogManager.html
@@ -54,7 +54,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
- ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
+ ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -107,7 +107,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/type.OpenSystemTableHook.html b/catalog/type.OpenSystemTableHook.html
index 6b2713f62a6a..1eefe22addab 100644
--- a/catalog/type.OpenSystemTableHook.html
+++ b/catalog/type.OpenSystemTableHook.html
@@ -1,2 +1,2 @@
-OpenSystemTableHook in catalog - Rust Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+OpenSystemTableHook in catalog - Rust
\ No newline at end of file
diff --git a/client/all.html b/client/all.html
index 1058c330a5ce..9bb88a75eba3 100644
--- a/client/all.html
+++ b/client/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
diff --git a/client/database/struct.Database.html b/client/database/struct.Database.html
index 1c72f65df0e4..2fe6e5e0e2fb 100644
--- a/client/database/struct.Database.html
+++ b/client/database/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/enum.Output.html b/client/enum.Output.html
new file mode 100644
index 000000000000..78dc13d76b4a
--- /dev/null
+++ b/client/enum.Output.html
@@ -0,0 +1,118 @@
+Output in client - Rust pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
§AffectedRows(usize)
§RecordBatches(RecordBatches)
§Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Output
§impl Send for Output
§impl !Sync for Output
§impl Unpin for Output
§impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/fn.from_grpc_response.html b/client/fn.from_grpc_response.html
index 0f422cea122b..0ffdc48fee12 100644
--- a/client/fn.from_grpc_response.html
+++ b/client/fn.from_grpc_response.html
@@ -1 +1 @@
-from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
+from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
diff --git a/client/index.html b/client/index.html
index 3c2e9096c074..1b3ba37a3ae1 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1 @@
-client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
\ No newline at end of file
+client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
\ No newline at end of file
diff --git a/client/region/struct.RegionRequester.html b/client/region/struct.RegionRequester.html
index c52e450ec287..74fb7ac4de8e 100644
--- a/client/region/struct.RegionRequester.html
+++ b/client/region/struct.RegionRequester.html
@@ -3,7 +3,7 @@
}Fields§
§client: Client
Implementations§
Trait Implementations§
source§impl Datanode for RegionRequester
Trait Implementations§
source§impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
Handles DML, and DDL requests.source§fn handle_query<'life0, 'async_trait>(
&'life0 self,
request: QueryRequest
-) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
§impl !RefUnwindSafe for RegionRequester
§impl Send for RegionRequester
§impl Sync for RegionRequester
§impl Unpin for RegionRequester
§impl !UnwindSafe for RegionRequester
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/struct.RecordBatches.html b/client/struct.RecordBatches.html
new file mode 100644
index 000000000000..d4b5134bef55
--- /dev/null
+++ b/client/struct.RecordBatches.html
@@ -0,0 +1,134 @@
+RecordBatches in client - Rust Struct client::RecordBatches
pub struct RecordBatches {
+ pub(crate) schema: Arc<Schema, Global>,
+ pub(crate) batches: Vec<RecordBatch, Global>,
+}
Fields§
§schema: Arc<Schema, Global>
§batches: Vec<RecordBatch, Global>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema, Global>,
+ columns: I
+) -> Result<RecordBatches, Error>where
+ I: IntoIterator<Item = Arc<dyn Vector, Global>>,
pub async fn try_collect(
+ stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
+) -> impl Future<Output = 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, Global>,
+ batches: Vec<RecordBatch, Global>
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema, Global>
pub fn take(self) -> Vec<RecordBatch, Global>
pub fn as_stream(
+ &self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
pub fn into_df_stream(
+ self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, DataFusionError>> + Send, Global>>
Trait Implementations§
§impl Debug for RecordBatches
§impl IntoIterator for RecordBatches
§type IntoIter = IntoIter<<RecordBatches as IntoIterator>::Item, Global>
Which kind of iterator are we turning this into?§fn into_iter(self) -> <RecordBatches as IntoIterator>::IntoIter
Creates an iterator from a value. Read more§impl PartialEq<RecordBatches> for RecordBatches
§fn eq(&self, other: &RecordBatches) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.§impl StructuralPartialEq for RecordBatches
Auto Trait Implementations§
§impl !RefUnwindSafe for RecordBatches
§impl Send for RecordBatches
§impl Sync for RecordBatches
§impl Unpin for RecordBatches
§impl !UnwindSafe for RecordBatches
Blanket Implementations§
§impl<I> BidiIterator for Iwhere
+ I: IntoIterator,
+ <I as IntoIterator>::IntoIter: DoubleEndedIterator,
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/type.SendableRecordBatchStream.html b/client/type.SendableRecordBatchStream.html
new file mode 100644
index 000000000000..df7268aab19a
--- /dev/null
+++ b/client/type.SendableRecordBatchStream.html
@@ -0,0 +1 @@
+SendableRecordBatchStream in client - Rust
\ No newline at end of file
diff --git a/common_grpc_expr/alter/fn.alter_expr_to_request.html b/common_grpc_expr/alter/fn.alter_expr_to_request.html
index 63f2342d02da..1850a92935fc 100644
--- a/common_grpc_expr/alter/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/alter/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr::alter - Rust Function common_grpc_expr::alter::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/alter/index.html b/common_grpc_expr/alter/index.html
index bd7e5b33fbcf..4206ec54f54a 100644
--- a/common_grpc_expr/alter/index.html
+++ b/common_grpc_expr/alter/index.html
@@ -1 +1 @@
-common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/delete/fn.to_table_delete_request.html b/common_grpc_expr/delete/fn.to_table_delete_request.html
index 17bb5cee292b..4d6dd1ad4737 100644
--- a/common_grpc_expr/delete/fn.to_table_delete_request.html
+++ b/common_grpc_expr/delete/fn.to_table_delete_request.html
@@ -2,4 +2,4 @@
catalog_name: &str,
schema_name: &str,
request: DeleteRequest
-) -> Result<DeleteRequest>
\ No newline at end of file
+) -> Result<DeleteRequest>
\ No newline at end of file
diff --git a/common_grpc_expr/fn.alter_expr_to_request.html b/common_grpc_expr/fn.alter_expr_to_request.html
index fb020673c315..e83fe76ebb26 100644
--- a/common_grpc_expr/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr - Rust Function common_grpc_expr::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/index.html b/common_grpc_expr/index.html
index 123b65c2895b..3fd0656e8b4a 100644
--- a/common_grpc_expr/index.html
+++ b/common_grpc_expr/index.html
@@ -1 +1 @@
-common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
index 36f3cb9ff049..d204bc70ab7b 100644
--- a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
+++ b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
@@ -1,7 +1,7 @@
build_create_expr_from_insertion in common_grpc_expr::insert - Rust Function common_grpc_expr::insert::build_create_expr_from_insertion
source · pub fn build_create_expr_from_insertion(
catalog_name: &str,
schema_name: &str,
- table_id: Option<TableId>,
+ table_id: Option<TableId>,
table_name: &str,
columns: &[Column],
engine: &str
diff --git a/common_grpc_expr/util/fn.build_create_table_expr.html b/common_grpc_expr/util/fn.build_create_table_expr.html
index e78b4de945b9..76a2b47b82aa 100644
--- a/common_grpc_expr/util/fn.build_create_table_expr.html
+++ b/common_grpc_expr/util/fn.build_create_table_expr.html
@@ -1,6 +1,6 @@
build_create_table_expr in common_grpc_expr::util - Rust Function common_grpc_expr::util::build_create_table_expr
source · pub fn build_create_table_expr(
- table_id: Option<TableId>,
- table_name: &TableReference<'_>,
+ table_id: Option<TableId>,
+ table_name: &TableReference<'_>,
column_exprs: Vec<ColumnExpr<'_>>,
engine: &str,
desc: &str
diff --git a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
index 13feb0240fbf..94e9334f09a2 100644
--- a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
+++ b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
@@ -1,7 +1,7 @@
DummyCacheInvalidator in common_meta::cache_invalidator - Rust pub struct DummyCacheInvalidator;
Trait Implementations§
source§impl CacheInvalidator for DummyCacheInvalidator
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
- _table_id: TableId
+ _table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/cache_invalidator/trait.CacheInvalidator.html b/common_meta/cache_invalidator/trait.CacheInvalidator.html
index dc6e8864c3a7..004d340a376a 100644
--- a/common_meta/cache_invalidator/trait.CacheInvalidator.html
+++ b/common_meta/cache_invalidator/trait.CacheInvalidator.html
@@ -3,7 +3,7 @@
fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
@@ -19,7 +19,7 @@
}Required Methods§
sourcefn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
index 625083846c6d..4e32e147c5db 100644
--- a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
+++ b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
@@ -1,5 +1,5 @@
create_proto_alter_kind in common_meta::ddl::alter_table - Rust Function common_meta::ddl::alter_table::create_proto_alter_kind
source · pub fn create_proto_alter_kind(
- table_info: &RawTableInfo,
+ table_info: &RawTableInfo,
alter_kind: &Kind
) -> Result<(Option<Kind>, Option<ColumnId>)>
Expand description
Creates region proto alter kind from table_info
and alter_kind
.
Returns the kind and next column id if it adds new columns.
diff --git a/common_meta/ddl/alter_table/struct.AlterTableData.html b/common_meta/ddl/alter_table/struct.AlterTableData.html
index f9a58a4e56bc..018ff5a55e63 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableData.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableData.html
@@ -11,7 +11,7 @@
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
cluster_id: u64,
next_column_id: Option<ColumnId>
-) -> Selfsourcefn table_ref(&self) -> TableReference<'_>
sourcefn table_id(&self) -> TableId
sourcefn table_info(&self) -> &RawTableInfo
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for AlterTableData
§impl Send for AlterTableData
§impl Sync for AlterTableData
§impl Unpin for AlterTableData
§impl UnwindSafe for AlterTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
index 473eaaaee000..6a100fc8420b 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
@@ -17,8 +17,8 @@
) -> Result<()>
Update table metadata for rename table operation.
sourceasync fn on_update_metadata_for_alter(
&self,
- new_table_info: RawTableInfo
-) -> Result<()>
sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
+ new_table_info: RawTableInfo
+) -> Result<()>sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
sourceasync fn on_broadcast(&mut self) -> Result<Status>
Broadcasts the invalidating table cache instructions.
sourcefn lock_key_inner(&self) -> Vec<String>
Trait Implementations§
source§impl Procedure for AlterTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff --git a/common_meta/ddl/create_table/struct.CreateTableData.html b/common_meta/ddl/create_table/struct.CreateTableData.html
index 2e5e27fd7eb4..4330b2fbd1af 100644
--- a/common_meta/ddl/create_table/struct.CreateTableData.html
+++ b/common_meta/ddl/create_table/struct.CreateTableData.html
@@ -3,7 +3,7 @@
pub task: CreateTableTask,
pub region_routes: Vec<RegionRoute>,
pub cluster_id: u64,
-}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
source§impl CreateTableData
sourcefn table_ref(&self) -> TableReference<'_>
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for CreateTableData
§impl Send for CreateTableData
§impl Sync for CreateTableData
§impl Unpin for CreateTableData
§impl UnwindSafe for CreateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/create_table/struct.CreateTableProcedure.html b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
index b71e4a8436f9..9a2a1de73fad 100644
--- a/common_meta/ddl/create_table/struct.CreateTableProcedure.html
+++ b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
@@ -6,7 +6,7 @@
task: CreateTableTask,
region_routes: Vec<RegionRoute>,
context: DdlContext
-) -> Self
sourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
+) -> Selfsourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
sourcepub fn create_region_request_template(&self) -> Result<PbCreateRegionRequest>
sourcepub async fn on_datanode_create_regions(&mut self) -> Result<Status>
sourceasync fn on_create_metadata(&self) -> Result<Status>
Trait Implementations§
source§impl Procedure for CreateTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_ctx: &'life1 ProcedureContext
diff --git a/common_meta/ddl/drop_table/struct.DropTableData.html b/common_meta/ddl/drop_table/struct.DropTableData.html
index 46e3a21db8cd..2b91fa24c713 100644
--- a/common_meta/ddl/drop_table/struct.DropTableData.html
+++ b/common_meta/ddl/drop_table/struct.DropTableData.html
@@ -9,7 +9,7 @@
task: DropTableTask,
table_route_value: DeserializedValueWithBytes<TableRouteValue>,
table_info_value: DeserializedValueWithBytes<TableInfoValue>
-) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for DropTableData
§impl Send for DropTableData
§impl Sync for DropTableData
§impl Unpin for DropTableData
§impl UnwindSafe for DropTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/trait.TableMetadataAllocator.html b/common_meta/ddl/trait.TableMetadataAllocator.html
index b095be070299..36cbad59636a 100644
--- a/common_meta/ddl/trait.TableMetadataAllocator.html
+++ b/common_meta/ddl/trait.TableMetadataAllocator.html
@@ -3,7 +3,7 @@
fn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>
where Self: 'async_trait,
@@ -14,7 +14,7 @@
}Required Methods§
sourcefn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/common_meta/ddl/truncate_table/struct.TruncateTableData.html b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
index 7363b523f063..708e5561808d 100644
--- a/common_meta/ddl/truncate_table/struct.TruncateTableData.html
+++ b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
@@ -9,7 +9,7 @@
task: TruncateTableTask,
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
region_routes: Vec<RegionRoute>
-) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for TruncateTableData
§impl Send for TruncateTableData
§impl Sync for TruncateTableData
§impl Unpin for TruncateTableData
§impl UnwindSafe for TruncateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/error/enum.Error.html b/common_meta/error/enum.Error.html
index 541ce4833b77..1a92776ff7a1 100644
--- a/common_meta/error/enum.Error.html
+++ b/common_meta/error/enum.Error.html
@@ -44,12 +44,12 @@
},
BuildTableMeta {
table_name: String,
- error: TableMetaBuilderError,
+ error: TableMetaBuilderError,
location: Location,
},
Table {
location: Location,
- source: Error,
+ source: Error,
},
TableRouteNotFound {
table_name: String,
@@ -145,7 +145,7 @@
location: Location,
},
MoveRegion {
- table_id: TableId,
+ table_id: TableId,
region: RegionNumber,
err_msg: String,
location: Location,
@@ -169,7 +169,7 @@
RetryLater {
source: BoxedError,
},
-
}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
+}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
sourcepub fn is_retry_later(&self) -> bool
Determine whether it is a retry later type through StatusCode
Trait Implementations§
source§impl Error for Errorwhere
Self: Debug + Display,
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§fn output_msg(&self) -> Stringwhere
Self: Sized,
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0> IntoError<Error> for CacheNotGetSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for CatalogAlreadyExistsSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -206,7 +206,7 @@
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0> IntoError<Error> for NextSequenceSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -245,7 +245,7 @@
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for TableRouteNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
+ Error: Error + ErrorCompat,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSnafu<__T0>where
Error: Error + ErrorCompat,
diff --git a/common_meta/error/struct.BuildTableMetaSnafu.html b/common_meta/error/struct.BuildTableMetaSnafu.html
index 848719b5d875..de793f19e317 100644
--- a/common_meta/error/struct.BuildTableMetaSnafu.html
+++ b/common_meta/error/struct.BuildTableMetaSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::BuildTableMeta
variant
Fields§
§table_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for BuildTableMetaSnafu<__T0>
source§fn clone(&self) -> BuildTableMetaSnafu<__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 BuildTableMetaSnafu<__T0>
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for BuildTableMetaSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for BuildTableMetaSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for BuildTableMetaSnafu<__T0>where
diff --git a/common_meta/error/struct.MoveRegionSnafu.html b/common_meta/error/struct.MoveRegionSnafu.html
index 7225b5d448e7..33e45ac82117 100644
--- a/common_meta/error/struct.MoveRegionSnafu.html
+++ b/common_meta/error/struct.MoveRegionSnafu.html
@@ -4,16 +4,16 @@
pub err_msg: __T2,
}Expand description
SNAFU context selector for the Error::MoveRegion
variant
Fields§
§table_id: __T0
§region: __T1
§err_msg: __T2
Implementations§
Trait Implementations§
source§impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for MoveRegionSnafu<__T0, __T1, __T2>
source§fn clone(&self) -> MoveRegionSnafu<__T0, __T1, __T2>
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, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for MoveRegionSnafu<__T0, __T1, __T2>
Auto Trait Implementations§
§impl<__T0, __T1, __T2> RefUnwindSafe for MoveRegionSnafu<__T0, __T1, __T2>where
__T0: RefUnwindSafe,
diff --git a/common_meta/error/struct.TableSnafu.html b/common_meta/error/struct.TableSnafu.html
index d9c91350619f..a2c1ecb55273 100644
--- a/common_meta/error/struct.TableSnafu.html
+++ b/common_meta/error/struct.TableSnafu.html
@@ -1,6 +1,6 @@
TableSnafu in common_meta::error - Rust Struct common_meta::error::TableSnafu
source · pub struct TableSnafu;
Expand description
SNAFU context selector for the Error::Table
variant
Trait Implementations§
source§impl Clone for TableSnafu
source§fn clone(&self) -> TableSnafu
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 TableSnafu
source§impl Copy for TableSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
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/common_meta/instruction/enum.Instruction.html b/common_meta/instruction/enum.Instruction.html
index 7a20097062e3..f2b72df49f65 100644
--- a/common_meta/instruction/enum.Instruction.html
+++ b/common_meta/instruction/enum.Instruction.html
@@ -1,9 +1,9 @@
Instruction in common_meta::instruction - Rust Enum common_meta::instruction::Instruction
source · pub enum Instruction {
OpenRegion(OpenRegion),
CloseRegion(RegionIdent),
- InvalidateTableIdCache(TableId),
+ InvalidateTableIdCache(TableId),
InvalidateTableNameCache(TableName),
-}
Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for Instruction
Auto Trait Implementations§
§impl RefUnwindSafe for Instruction
§impl Send for Instruction
§impl Sync for Instruction
§impl Unpin for Instruction
§impl UnwindSafe for Instruction
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/instruction/struct.RegionIdent.html b/common_meta/instruction/struct.RegionIdent.html
index 834642f1f56d..e1c0821020fb 100644
--- a/common_meta/instruction/struct.RegionIdent.html
+++ b/common_meta/instruction/struct.RegionIdent.html
@@ -1,10 +1,10 @@
RegionIdent in common_meta::instruction - Rust Struct common_meta::instruction::RegionIdent
source · pub struct RegionIdent {
pub cluster_id: ClusterId,
pub datanode_id: DatanodeId,
- pub table_id: TableId,
+ pub table_id: TableId,
pub region_number: RegionNumber,
pub engine: String,
-}
Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for RegionIdent
source§impl Hash for RegionIdent
source§impl PartialEq<RegionIdent> for RegionIdent
source§fn eq(&self, other: &RegionIdent) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableKey.html b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
index 831cc2a090bc..eb2071d8b654 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableKey.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
@@ -1,7 +1,7 @@
DatanodeTableKey in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableKey
source · pub struct DatanodeTableKey {
datanode_id: DatanodeId,
- table_id: TableId,
-}
Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
Blanket Implementations§
source§impl<T> Any for Twhere
+ table_id: TableId,
+}Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
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/common_meta/key/datanode_table/struct.DatanodeTableManager.html b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
index b1e8ab3c4b74..020d5420db60 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableManager.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
@@ -8,7 +8,7 @@
datanode_id: DatanodeId
) -> BoxStream<'static, Result<DatanodeTableValue>>
sourcepub fn build_create_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
engine: &str,
region_storage_path: &str,
region_options: HashMap<String, String>,
@@ -16,7 +16,7 @@
) -> Result<Txn>
Builds the create datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub(crate) fn build_update_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_region_distribution: RegionDistribution,
new_region_distribution: RegionDistribution,
@@ -24,7 +24,7 @@
) -> Result<Txn>
Builds the update datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub fn build_delete_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
distribution: RegionDistribution
) -> Result<Txn>
Builds the delete datanode table transactions. It only executes while the primary keys comparing successes.
Auto Trait Implementations§
§impl !RefUnwindSafe for DatanodeTableManager
§impl Send for DatanodeTableManager
§impl Sync for DatanodeTableManager
§impl Unpin for DatanodeTableManager
§impl !UnwindSafe for DatanodeTableManager
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableValue.html b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
index a32244212294..82d59648fcfd 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableValue.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
@@ -1,10 +1,10 @@
DatanodeTableValue in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableValue
source · pub struct DatanodeTableValue {
- pub table_id: TableId,
+ pub table_id: TableId,
pub regions: Vec<RegionNumber>,
pub region_info: RegionInfo,
version: u64,
-}
Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
- table_id: TableId,
+}Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
+ table_id: TableId,
regions: Vec<RegionNumber>,
region_info: RegionInfo
) -> Self
source§impl DatanodeTableValue
sourcepub fn try_from_raw_value(raw_value: &[u8]) -> Result<Self>
sourcepub fn try_as_raw_value(&self) -> Result<Vec<u8>>
Trait Implementations§
source§impl Clone for DatanodeTableValue
source§fn clone(&self) -> DatanodeTableValue
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 DatanodeTableValue
source§impl<'de> Deserialize<'de> for DatanodeTableValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
diff --git a/common_meta/key/struct.TableMetadataManager.html b/common_meta/key/struct.TableMetadataManager.html
index 6342e3e5e772..ca0e2101e96e 100644
--- a/common_meta/key/struct.TableMetadataManager.html
+++ b/common_meta/key/struct.TableMetadataManager.html
@@ -8,10 +8,10 @@
kv_backend: KvBackendRef,
}Fields§
§table_name_manager: TableNameManager
§table_info_manager: TableInfoManager
§datanode_table_manager: DatanodeTableManager
§catalog_manager: CatalogManager
§schema_manager: SchemaManager
§table_route_manager: TableRouteManager
§kv_backend: KvBackendRef
Implementations§
source§impl TableMetadataManager
sourcepub fn new(kv_backend: KvBackendRef) -> Self
sourcepub async fn init(&self) -> Result<()>
sourcepub fn table_name_manager(&self) -> &TableNameManager
sourcepub fn table_info_manager(&self) -> &TableInfoManager
sourcepub fn datanode_table_manager(&self) -> &DatanodeTableManager
sourcepub fn catalog_manager(&self) -> &CatalogManager
sourcepub fn schema_manager(&self) -> &SchemaManager
sourcepub fn table_route_manager(&self) -> &TableRouteManager
sourcepub fn kv_backend(&self) -> &KvBackendRef
sourcepub async fn get_full_table_info(
&self,
- table_id: TableId
+ table_id: TableId
) -> Result<(Option<DeserializedValueWithBytes<TableInfoValue>>, Option<DeserializedValueWithBytes<TableRouteValue>>)>
sourcepub async fn create_table_metadata(
&self,
- table_info: RawTableInfo,
+ table_info: RawTableInfo,
region_routes: Vec<RegionRoute>
) -> Result<()>
Creates metadata for table and returns an error if different metadata exists.
The caller MUST ensure it has the exclusive access to TableNameKey
.
@@ -31,11 +31,11 @@
sourcepub async fn update_table_info(
&self,
current_table_info_value: DeserializedValueWithBytes<TableInfoValue>,
- new_table_info: RawTableInfo
+ new_table_info: RawTableInfo
) -> Result<()>
Updates table info and returns an error if different metadata exists.
sourcepub async fn update_table_route(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_table_route_value: DeserializedValueWithBytes<TableRouteValue>,
new_region_routes: Vec<RegionRoute>,
diff --git a/common_meta/key/table_info/struct.TableInfoKey.html b/common_meta/key/table_info/struct.TableInfoKey.html
index a65b5c4c9471..f974bb124def 100644
--- a/common_meta/key/table_info/struct.TableInfoKey.html
+++ b/common_meta/key/table_info/struct.TableInfoKey.html
@@ -1,6 +1,6 @@
TableInfoKey in common_meta::key::table_info - Rust Struct common_meta::key::table_info::
fn conv<T>(self) -> Twhere
diff --git a/catalog/struct.RenameTableRequest.html b/catalog/struct.RenameTableRequest.html
index c0a56b79a189..166aa7465716 100644
--- a/catalog/struct.RenameTableRequest.html
+++ b/catalog/struct.RenameTableRequest.html
@@ -3,8 +3,8 @@
pub schema: String,
pub table_name: String,
pub new_table_name: String,
- pub table_id: TableId,
-}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
Blanket Implementations§
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
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/trait.CatalogManager.html b/catalog/trait.CatalogManager.html
index cc8091a5169e..3f057be0493b 100644
--- a/catalog/trait.CatalogManager.html
+++ b/catalog/trait.CatalogManager.html
@@ -54,7 +54,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
- ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
+ ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -107,7 +107,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/type.OpenSystemTableHook.html b/catalog/type.OpenSystemTableHook.html
index 6b2713f62a6a..1eefe22addab 100644
--- a/catalog/type.OpenSystemTableHook.html
+++ b/catalog/type.OpenSystemTableHook.html
@@ -1,2 +1,2 @@
-OpenSystemTableHook in catalog - Rust Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+OpenSystemTableHook in catalog - Rust
\ No newline at end of file
diff --git a/client/all.html b/client/all.html
index 1058c330a5ce..9bb88a75eba3 100644
--- a/client/all.html
+++ b/client/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
diff --git a/client/database/struct.Database.html b/client/database/struct.Database.html
index 1c72f65df0e4..2fe6e5e0e2fb 100644
--- a/client/database/struct.Database.html
+++ b/client/database/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/enum.Output.html b/client/enum.Output.html
new file mode 100644
index 000000000000..78dc13d76b4a
--- /dev/null
+++ b/client/enum.Output.html
@@ -0,0 +1,118 @@
+Output in client - Rust pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
§AffectedRows(usize)
§RecordBatches(RecordBatches)
§Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Output
§impl Send for Output
§impl !Sync for Output
§impl Unpin for Output
§impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/fn.from_grpc_response.html b/client/fn.from_grpc_response.html
index 0f422cea122b..0ffdc48fee12 100644
--- a/client/fn.from_grpc_response.html
+++ b/client/fn.from_grpc_response.html
@@ -1 +1 @@
-from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
+from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
diff --git a/client/index.html b/client/index.html
index 3c2e9096c074..1b3ba37a3ae1 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1 @@
-client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
\ No newline at end of file
+client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
\ No newline at end of file
diff --git a/client/region/struct.RegionRequester.html b/client/region/struct.RegionRequester.html
index c52e450ec287..74fb7ac4de8e 100644
--- a/client/region/struct.RegionRequester.html
+++ b/client/region/struct.RegionRequester.html
@@ -3,7 +3,7 @@
}Fields§
§client: Client
Implementations§
Trait Implementations§
source§impl Datanode for RegionRequester
Trait Implementations§
source§impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
Handles DML, and DDL requests.source§fn handle_query<'life0, 'async_trait>(
&'life0 self,
request: QueryRequest
-) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
§impl !RefUnwindSafe for RegionRequester
§impl Send for RegionRequester
§impl Sync for RegionRequester
§impl Unpin for RegionRequester
§impl !UnwindSafe for RegionRequester
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/struct.RecordBatches.html b/client/struct.RecordBatches.html
new file mode 100644
index 000000000000..d4b5134bef55
--- /dev/null
+++ b/client/struct.RecordBatches.html
@@ -0,0 +1,134 @@
+RecordBatches in client - Rust Struct client::RecordBatches
pub struct RecordBatches {
+ pub(crate) schema: Arc<Schema, Global>,
+ pub(crate) batches: Vec<RecordBatch, Global>,
+}
Fields§
§schema: Arc<Schema, Global>
§batches: Vec<RecordBatch, Global>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema, Global>,
+ columns: I
+) -> Result<RecordBatches, Error>where
+ I: IntoIterator<Item = Arc<dyn Vector, Global>>,
pub async fn try_collect(
+ stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
+) -> impl Future<Output = 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, Global>,
+ batches: Vec<RecordBatch, Global>
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema, Global>
pub fn take(self) -> Vec<RecordBatch, Global>
pub fn as_stream(
+ &self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
pub fn into_df_stream(
+ self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, DataFusionError>> + Send, Global>>
Trait Implementations§
§impl Debug for RecordBatches
§impl IntoIterator for RecordBatches
§type IntoIter = IntoIter<<RecordBatches as IntoIterator>::Item, Global>
Which kind of iterator are we turning this into?§fn into_iter(self) -> <RecordBatches as IntoIterator>::IntoIter
Creates an iterator from a value. Read more§impl PartialEq<RecordBatches> for RecordBatches
§fn eq(&self, other: &RecordBatches) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.§impl StructuralPartialEq for RecordBatches
Auto Trait Implementations§
§impl !RefUnwindSafe for RecordBatches
§impl Send for RecordBatches
§impl Sync for RecordBatches
§impl Unpin for RecordBatches
§impl !UnwindSafe for RecordBatches
Blanket Implementations§
§impl<I> BidiIterator for Iwhere
+ I: IntoIterator,
+ <I as IntoIterator>::IntoIter: DoubleEndedIterator,
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/type.SendableRecordBatchStream.html b/client/type.SendableRecordBatchStream.html
new file mode 100644
index 000000000000..df7268aab19a
--- /dev/null
+++ b/client/type.SendableRecordBatchStream.html
@@ -0,0 +1 @@
+SendableRecordBatchStream in client - Rust
\ No newline at end of file
diff --git a/common_grpc_expr/alter/fn.alter_expr_to_request.html b/common_grpc_expr/alter/fn.alter_expr_to_request.html
index 63f2342d02da..1850a92935fc 100644
--- a/common_grpc_expr/alter/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/alter/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr::alter - Rust Function common_grpc_expr::alter::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/alter/index.html b/common_grpc_expr/alter/index.html
index bd7e5b33fbcf..4206ec54f54a 100644
--- a/common_grpc_expr/alter/index.html
+++ b/common_grpc_expr/alter/index.html
@@ -1 +1 @@
-common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/delete/fn.to_table_delete_request.html b/common_grpc_expr/delete/fn.to_table_delete_request.html
index 17bb5cee292b..4d6dd1ad4737 100644
--- a/common_grpc_expr/delete/fn.to_table_delete_request.html
+++ b/common_grpc_expr/delete/fn.to_table_delete_request.html
@@ -2,4 +2,4 @@
catalog_name: &str,
schema_name: &str,
request: DeleteRequest
-) -> Result<DeleteRequest>
\ No newline at end of file
+) -> Result<DeleteRequest>
\ No newline at end of file
diff --git a/common_grpc_expr/fn.alter_expr_to_request.html b/common_grpc_expr/fn.alter_expr_to_request.html
index fb020673c315..e83fe76ebb26 100644
--- a/common_grpc_expr/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr - Rust Function common_grpc_expr::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/index.html b/common_grpc_expr/index.html
index 123b65c2895b..3fd0656e8b4a 100644
--- a/common_grpc_expr/index.html
+++ b/common_grpc_expr/index.html
@@ -1 +1 @@
-common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr - Rust Crate common_grpc_expr
source · Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
index 36f3cb9ff049..d204bc70ab7b 100644
--- a/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
+++ b/common_grpc_expr/insert/fn.build_create_expr_from_insertion.html
@@ -1,7 +1,7 @@
build_create_expr_from_insertion in common_grpc_expr::insert - Rust Function common_grpc_expr::insert::build_create_expr_from_insertion
source · pub fn build_create_expr_from_insertion(
catalog_name: &str,
schema_name: &str,
- table_id: Option<TableId>,
+ table_id: Option<TableId>,
table_name: &str,
columns: &[Column],
engine: &str
diff --git a/common_grpc_expr/util/fn.build_create_table_expr.html b/common_grpc_expr/util/fn.build_create_table_expr.html
index e78b4de945b9..76a2b47b82aa 100644
--- a/common_grpc_expr/util/fn.build_create_table_expr.html
+++ b/common_grpc_expr/util/fn.build_create_table_expr.html
@@ -1,6 +1,6 @@
build_create_table_expr in common_grpc_expr::util - Rust Function common_grpc_expr::util::build_create_table_expr
source · pub fn build_create_table_expr(
- table_id: Option<TableId>,
- table_name: &TableReference<'_>,
+ table_id: Option<TableId>,
+ table_name: &TableReference<'_>,
column_exprs: Vec<ColumnExpr<'_>>,
engine: &str,
desc: &str
diff --git a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
index 13feb0240fbf..94e9334f09a2 100644
--- a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
+++ b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
@@ -1,7 +1,7 @@
DummyCacheInvalidator in common_meta::cache_invalidator - Rust pub struct DummyCacheInvalidator;
Trait Implementations§
source§impl CacheInvalidator for DummyCacheInvalidator
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
- _table_id: TableId
+ _table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/cache_invalidator/trait.CacheInvalidator.html b/common_meta/cache_invalidator/trait.CacheInvalidator.html
index dc6e8864c3a7..004d340a376a 100644
--- a/common_meta/cache_invalidator/trait.CacheInvalidator.html
+++ b/common_meta/cache_invalidator/trait.CacheInvalidator.html
@@ -3,7 +3,7 @@
fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
@@ -19,7 +19,7 @@
}Required Methods§
sourcefn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
index 625083846c6d..4e32e147c5db 100644
--- a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
+++ b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
@@ -1,5 +1,5 @@
create_proto_alter_kind in common_meta::ddl::alter_table - Rust Function common_meta::ddl::alter_table::create_proto_alter_kind
source · pub fn create_proto_alter_kind(
- table_info: &RawTableInfo,
+ table_info: &RawTableInfo,
alter_kind: &Kind
) -> Result<(Option<Kind>, Option<ColumnId>)>
Expand description
Creates region proto alter kind from table_info
and alter_kind
.
Returns the kind and next column id if it adds new columns.
diff --git a/common_meta/ddl/alter_table/struct.AlterTableData.html b/common_meta/ddl/alter_table/struct.AlterTableData.html
index f9a58a4e56bc..018ff5a55e63 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableData.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableData.html
@@ -11,7 +11,7 @@
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
cluster_id: u64,
next_column_id: Option<ColumnId>
-) -> Selfsourcefn table_ref(&self) -> TableReference<'_>
sourcefn table_id(&self) -> TableId
sourcefn table_info(&self) -> &RawTableInfo
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for AlterTableData
§impl Send for AlterTableData
§impl Sync for AlterTableData
§impl Unpin for AlterTableData
§impl UnwindSafe for AlterTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
index 473eaaaee000..6a100fc8420b 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
@@ -17,8 +17,8 @@
) -> Result<()>
Update table metadata for rename table operation.
sourceasync fn on_update_metadata_for_alter(
&self,
- new_table_info: RawTableInfo
-) -> Result<()>
sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
+ new_table_info: RawTableInfo
+) -> Result<()>sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
sourceasync fn on_broadcast(&mut self) -> Result<Status>
Broadcasts the invalidating table cache instructions.
sourcefn lock_key_inner(&self) -> Vec<String>
Trait Implementations§
source§impl Procedure for AlterTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff --git a/common_meta/ddl/create_table/struct.CreateTableData.html b/common_meta/ddl/create_table/struct.CreateTableData.html
index 2e5e27fd7eb4..4330b2fbd1af 100644
--- a/common_meta/ddl/create_table/struct.CreateTableData.html
+++ b/common_meta/ddl/create_table/struct.CreateTableData.html
@@ -3,7 +3,7 @@
pub task: CreateTableTask,
pub region_routes: Vec<RegionRoute>,
pub cluster_id: u64,
-}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
source§impl CreateTableData
sourcefn table_ref(&self) -> TableReference<'_>
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for CreateTableData
§impl Send for CreateTableData
§impl Sync for CreateTableData
§impl Unpin for CreateTableData
§impl UnwindSafe for CreateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/create_table/struct.CreateTableProcedure.html b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
index b71e4a8436f9..9a2a1de73fad 100644
--- a/common_meta/ddl/create_table/struct.CreateTableProcedure.html
+++ b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
@@ -6,7 +6,7 @@
task: CreateTableTask,
region_routes: Vec<RegionRoute>,
context: DdlContext
-) -> Self
sourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
+) -> Selfsourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
sourcepub fn create_region_request_template(&self) -> Result<PbCreateRegionRequest>
sourcepub async fn on_datanode_create_regions(&mut self) -> Result<Status>
sourceasync fn on_create_metadata(&self) -> Result<Status>
Trait Implementations§
source§impl Procedure for CreateTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_ctx: &'life1 ProcedureContext
diff --git a/common_meta/ddl/drop_table/struct.DropTableData.html b/common_meta/ddl/drop_table/struct.DropTableData.html
index 46e3a21db8cd..2b91fa24c713 100644
--- a/common_meta/ddl/drop_table/struct.DropTableData.html
+++ b/common_meta/ddl/drop_table/struct.DropTableData.html
@@ -9,7 +9,7 @@
task: DropTableTask,
table_route_value: DeserializedValueWithBytes<TableRouteValue>,
table_info_value: DeserializedValueWithBytes<TableInfoValue>
-) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for DropTableData
§impl Send for DropTableData
§impl Sync for DropTableData
§impl Unpin for DropTableData
§impl UnwindSafe for DropTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/trait.TableMetadataAllocator.html b/common_meta/ddl/trait.TableMetadataAllocator.html
index b095be070299..36cbad59636a 100644
--- a/common_meta/ddl/trait.TableMetadataAllocator.html
+++ b/common_meta/ddl/trait.TableMetadataAllocator.html
@@ -3,7 +3,7 @@
fn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>
where Self: 'async_trait,
@@ -14,7 +14,7 @@
}Required Methods§
sourcefn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/common_meta/ddl/truncate_table/struct.TruncateTableData.html b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
index 7363b523f063..708e5561808d 100644
--- a/common_meta/ddl/truncate_table/struct.TruncateTableData.html
+++ b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
@@ -9,7 +9,7 @@
task: TruncateTableTask,
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
region_routes: Vec<RegionRoute>
-) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for TruncateTableData
§impl Send for TruncateTableData
§impl Sync for TruncateTableData
§impl Unpin for TruncateTableData
§impl UnwindSafe for TruncateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/error/enum.Error.html b/common_meta/error/enum.Error.html
index 541ce4833b77..1a92776ff7a1 100644
--- a/common_meta/error/enum.Error.html
+++ b/common_meta/error/enum.Error.html
@@ -44,12 +44,12 @@
},
BuildTableMeta {
table_name: String,
- error: TableMetaBuilderError,
+ error: TableMetaBuilderError,
location: Location,
},
Table {
location: Location,
- source: Error,
+ source: Error,
},
TableRouteNotFound {
table_name: String,
@@ -145,7 +145,7 @@
location: Location,
},
MoveRegion {
- table_id: TableId,
+ table_id: TableId,
region: RegionNumber,
err_msg: String,
location: Location,
@@ -169,7 +169,7 @@
RetryLater {
source: BoxedError,
},
-
}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
+}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
sourcepub fn is_retry_later(&self) -> bool
Determine whether it is a retry later type through StatusCode
Trait Implementations§
source§impl Error for Errorwhere
Self: Debug + Display,
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§fn output_msg(&self) -> Stringwhere
Self: Sized,
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0> IntoError<Error> for CacheNotGetSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for CatalogAlreadyExistsSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -206,7 +206,7 @@
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0> IntoError<Error> for NextSequenceSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -245,7 +245,7 @@
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for TableRouteNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
+ Error: Error + ErrorCompat,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSnafu<__T0>where
Error: Error + ErrorCompat,
diff --git a/common_meta/error/struct.BuildTableMetaSnafu.html b/common_meta/error/struct.BuildTableMetaSnafu.html
index 848719b5d875..de793f19e317 100644
--- a/common_meta/error/struct.BuildTableMetaSnafu.html
+++ b/common_meta/error/struct.BuildTableMetaSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::BuildTableMeta
variant
Fields§
§table_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for BuildTableMetaSnafu<__T0>
source§fn clone(&self) -> BuildTableMetaSnafu<__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 BuildTableMetaSnafu<__T0>
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for BuildTableMetaSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for BuildTableMetaSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for BuildTableMetaSnafu<__T0>where
diff --git a/common_meta/error/struct.MoveRegionSnafu.html b/common_meta/error/struct.MoveRegionSnafu.html
index 7225b5d448e7..33e45ac82117 100644
--- a/common_meta/error/struct.MoveRegionSnafu.html
+++ b/common_meta/error/struct.MoveRegionSnafu.html
@@ -4,16 +4,16 @@
pub err_msg: __T2,
}Expand description
SNAFU context selector for the Error::MoveRegion
variant
Fields§
§table_id: __T0
§region: __T1
§err_msg: __T2
Implementations§
Trait Implementations§
source§impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for MoveRegionSnafu<__T0, __T1, __T2>
source§fn clone(&self) -> MoveRegionSnafu<__T0, __T1, __T2>
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, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for MoveRegionSnafu<__T0, __T1, __T2>
Auto Trait Implementations§
§impl<__T0, __T1, __T2> RefUnwindSafe for MoveRegionSnafu<__T0, __T1, __T2>where
__T0: RefUnwindSafe,
diff --git a/common_meta/error/struct.TableSnafu.html b/common_meta/error/struct.TableSnafu.html
index d9c91350619f..a2c1ecb55273 100644
--- a/common_meta/error/struct.TableSnafu.html
+++ b/common_meta/error/struct.TableSnafu.html
@@ -1,6 +1,6 @@
TableSnafu in common_meta::error - Rust Struct common_meta::error::TableSnafu
source · pub struct TableSnafu;
Expand description
SNAFU context selector for the Error::Table
variant
Trait Implementations§
source§impl Clone for TableSnafu
source§fn clone(&self) -> TableSnafu
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 TableSnafu
source§impl Copy for TableSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
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/common_meta/instruction/enum.Instruction.html b/common_meta/instruction/enum.Instruction.html
index 7a20097062e3..f2b72df49f65 100644
--- a/common_meta/instruction/enum.Instruction.html
+++ b/common_meta/instruction/enum.Instruction.html
@@ -1,9 +1,9 @@
Instruction in common_meta::instruction - Rust Enum common_meta::instruction::Instruction
source · pub enum Instruction {
OpenRegion(OpenRegion),
CloseRegion(RegionIdent),
- InvalidateTableIdCache(TableId),
+ InvalidateTableIdCache(TableId),
InvalidateTableNameCache(TableName),
-}
Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for Instruction
Auto Trait Implementations§
§impl RefUnwindSafe for Instruction
§impl Send for Instruction
§impl Sync for Instruction
§impl Unpin for Instruction
§impl UnwindSafe for Instruction
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/instruction/struct.RegionIdent.html b/common_meta/instruction/struct.RegionIdent.html
index 834642f1f56d..e1c0821020fb 100644
--- a/common_meta/instruction/struct.RegionIdent.html
+++ b/common_meta/instruction/struct.RegionIdent.html
@@ -1,10 +1,10 @@
RegionIdent in common_meta::instruction - Rust Struct common_meta::instruction::RegionIdent
source · pub struct RegionIdent {
pub cluster_id: ClusterId,
pub datanode_id: DatanodeId,
- pub table_id: TableId,
+ pub table_id: TableId,
pub region_number: RegionNumber,
pub engine: String,
-}
Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for RegionIdent
source§impl Hash for RegionIdent
source§impl PartialEq<RegionIdent> for RegionIdent
source§fn eq(&self, other: &RegionIdent) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableKey.html b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
index 831cc2a090bc..eb2071d8b654 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableKey.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
@@ -1,7 +1,7 @@
DatanodeTableKey in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableKey
source · pub struct DatanodeTableKey {
datanode_id: DatanodeId,
- table_id: TableId,
-}
Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
Blanket Implementations§
source§impl<T> Any for Twhere
+ table_id: TableId,
+}Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
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/common_meta/key/datanode_table/struct.DatanodeTableManager.html b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
index b1e8ab3c4b74..020d5420db60 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableManager.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
@@ -8,7 +8,7 @@
datanode_id: DatanodeId
) -> BoxStream<'static, Result<DatanodeTableValue>>
sourcepub fn build_create_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
engine: &str,
region_storage_path: &str,
region_options: HashMap<String, String>,
@@ -16,7 +16,7 @@
) -> Result<Txn>
Builds the create datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub(crate) fn build_update_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_region_distribution: RegionDistribution,
new_region_distribution: RegionDistribution,
@@ -24,7 +24,7 @@
) -> Result<Txn>
Builds the update datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub fn build_delete_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
distribution: RegionDistribution
) -> Result<Txn>
Builds the delete datanode table transactions. It only executes while the primary keys comparing successes.
Auto Trait Implementations§
§impl !RefUnwindSafe for DatanodeTableManager
§impl Send for DatanodeTableManager
§impl Sync for DatanodeTableManager
§impl Unpin for DatanodeTableManager
§impl !UnwindSafe for DatanodeTableManager
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableValue.html b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
index a32244212294..82d59648fcfd 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableValue.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
@@ -1,10 +1,10 @@
DatanodeTableValue in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableValue
source · pub struct DatanodeTableValue {
- pub table_id: TableId,
+ pub table_id: TableId,
pub regions: Vec<RegionNumber>,
pub region_info: RegionInfo,
version: u64,
-}
Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
- table_id: TableId,
+}Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
+ table_id: TableId,
regions: Vec<RegionNumber>,
region_info: RegionInfo
) -> Self
source§impl DatanodeTableValue
sourcepub fn try_from_raw_value(raw_value: &[u8]) -> Result<Self>
sourcepub fn try_as_raw_value(&self) -> Result<Vec<u8>>
Trait Implementations§
source§impl Clone for DatanodeTableValue
source§fn clone(&self) -> DatanodeTableValue
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 DatanodeTableValue
source§impl<'de> Deserialize<'de> for DatanodeTableValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
diff --git a/common_meta/key/struct.TableMetadataManager.html b/common_meta/key/struct.TableMetadataManager.html
index 6342e3e5e772..ca0e2101e96e 100644
--- a/common_meta/key/struct.TableMetadataManager.html
+++ b/common_meta/key/struct.TableMetadataManager.html
@@ -8,10 +8,10 @@
kv_backend: KvBackendRef,
}Fields§
§table_name_manager: TableNameManager
§table_info_manager: TableInfoManager
§datanode_table_manager: DatanodeTableManager
§catalog_manager: CatalogManager
§schema_manager: SchemaManager
§table_route_manager: TableRouteManager
§kv_backend: KvBackendRef
Implementations§
source§impl TableMetadataManager
sourcepub fn new(kv_backend: KvBackendRef) -> Self
sourcepub async fn init(&self) -> Result<()>
sourcepub fn table_name_manager(&self) -> &TableNameManager
sourcepub fn table_info_manager(&self) -> &TableInfoManager
sourcepub fn datanode_table_manager(&self) -> &DatanodeTableManager
sourcepub fn catalog_manager(&self) -> &CatalogManager
sourcepub fn schema_manager(&self) -> &SchemaManager
sourcepub fn table_route_manager(&self) -> &TableRouteManager
sourcepub fn kv_backend(&self) -> &KvBackendRef
sourcepub async fn get_full_table_info(
&self,
- table_id: TableId
+ table_id: TableId
) -> Result<(Option<DeserializedValueWithBytes<TableInfoValue>>, Option<DeserializedValueWithBytes<TableRouteValue>>)>
sourcepub async fn create_table_metadata(
&self,
- table_info: RawTableInfo,
+ table_info: RawTableInfo,
region_routes: Vec<RegionRoute>
) -> Result<()>
Creates metadata for table and returns an error if different metadata exists.
The caller MUST ensure it has the exclusive access to TableNameKey
.
@@ -31,11 +31,11 @@
sourcepub async fn update_table_info(
&self,
current_table_info_value: DeserializedValueWithBytes<TableInfoValue>,
- new_table_info: RawTableInfo
+ new_table_info: RawTableInfo
) -> Result<()>
Updates table info and returns an error if different metadata exists.
sourcepub async fn update_table_route(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_table_route_value: DeserializedValueWithBytes<TableRouteValue>,
new_region_routes: Vec<RegionRoute>,
diff --git a/common_meta/key/table_info/struct.TableInfoKey.html b/common_meta/key/table_info/struct.TableInfoKey.html
index a65b5c4c9471..f974bb124def 100644
--- a/common_meta/key/table_info/struct.TableInfoKey.html
+++ b/common_meta/key/table_info/struct.TableInfoKey.html
@@ -1,6 +1,6 @@
TableInfoKey in common_meta::key::table_info - Rust Struct common_meta::key::table_info::
source§impl Clone for RenameTableRequest
impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
fn clone(&self) -> RenameTableRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreimpl RefUnwindSafe for RenameTableRequest
impl Send for RenameTableRequest
impl Sync for RenameTableRequest
impl Unpin for RenameTableRequest
impl UnwindSafe for RenameTableRequest
source§impl<T> Any for Twhere
+ pub table_id: TableId,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
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/trait.CatalogManager.html b/catalog/trait.CatalogManager.html
index cc8091a5169e..3f057be0493b 100644
--- a/catalog/trait.CatalogManager.html
+++ b/catalog/trait.CatalogManager.html
@@ -54,7 +54,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
- ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
+ ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -107,7 +107,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/type.OpenSystemTableHook.html b/catalog/type.OpenSystemTableHook.html
index 6b2713f62a6a..1eefe22addab 100644
--- a/catalog/type.OpenSystemTableHook.html
+++ b/catalog/type.OpenSystemTableHook.html
@@ -1,2 +1,2 @@
-OpenSystemTableHook in catalog - Rust Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+OpenSystemTableHook in catalog - Rust
\ No newline at end of file
diff --git a/client/all.html b/client/all.html
index 1058c330a5ce..9bb88a75eba3 100644
--- a/client/all.html
+++ b/client/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
diff --git a/client/database/struct.Database.html b/client/database/struct.Database.html
index 1c72f65df0e4..2fe6e5e0e2fb 100644
--- a/client/database/struct.Database.html
+++ b/client/database/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/enum.Output.html b/client/enum.Output.html
new file mode 100644
index 000000000000..78dc13d76b4a
--- /dev/null
+++ b/client/enum.Output.html
@@ -0,0 +1,118 @@
+Output in client - Rust pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
§AffectedRows(usize)
§RecordBatches(RecordBatches)
§Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Output
§impl Send for Output
§impl !Sync for Output
§impl Unpin for Output
§impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/fn.from_grpc_response.html b/client/fn.from_grpc_response.html
index 0f422cea122b..0ffdc48fee12 100644
--- a/client/fn.from_grpc_response.html
+++ b/client/fn.from_grpc_response.html
@@ -1 +1 @@
-from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
+from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
diff --git a/client/index.html b/client/index.html
index 3c2e9096c074..1b3ba37a3ae1 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1 @@
-client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
\ No newline at end of file
+client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
\ No newline at end of file
diff --git a/client/region/struct.RegionRequester.html b/client/region/struct.RegionRequester.html
index c52e450ec287..74fb7ac4de8e 100644
--- a/client/region/struct.RegionRequester.html
+++ b/client/region/struct.RegionRequester.html
@@ -3,7 +3,7 @@
}Fields§
§client: Client
Implementations§
Trait Implementations§
source§impl Datanode for RegionRequester
Trait Implementations§
source§impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
Handles DML, and DDL requests.source§fn handle_query<'life0, 'async_trait>(
&'life0 self,
request: QueryRequest
-) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
§impl !RefUnwindSafe for RegionRequester
§impl Send for RegionRequester
§impl Sync for RegionRequester
§impl Unpin for RegionRequester
§impl !UnwindSafe for RegionRequester
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
impl<T> Any for Twhere
+ pub table_id: TableId,
+}Fields§
§catalog: String
§schema: String
§table_name: String
§new_table_name: String
§table_id: TableId
Trait Implementations§
source§impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for RenameTableRequest
§impl Send for RenameTableRequest
§impl Sync for RenameTableRequest
§impl Unpin for RenameTableRequest
§impl UnwindSafe for RenameTableRequest
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/trait.CatalogManager.html b/catalog/trait.CatalogManager.html
index cc8091a5169e..3f057be0493b 100644
--- a/catalog/trait.CatalogManager.html
+++ b/catalog/trait.CatalogManager.html
@@ -54,7 +54,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
- ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
+ ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -107,7 +107,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/type.OpenSystemTableHook.html b/catalog/type.OpenSystemTableHook.html
index 6b2713f62a6a..1eefe22addab 100644
--- a/catalog/type.OpenSystemTableHook.html
+++ b/catalog/type.OpenSystemTableHook.html
@@ -1,2 +1,2 @@
-OpenSystemTableHook in catalog - Rust Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+OpenSystemTableHook in catalog - Rust
\ No newline at end of file
diff --git a/client/all.html b/client/all.html
index 1058c330a5ce..9bb88a75eba3 100644
--- a/client/all.html
+++ b/client/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
diff --git a/client/database/struct.Database.html b/client/database/struct.Database.html
index 1c72f65df0e4..2fe6e5e0e2fb 100644
--- a/client/database/struct.Database.html
+++ b/client/database/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
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/enum.Output.html b/client/enum.Output.html
new file mode 100644
index 000000000000..78dc13d76b4a
--- /dev/null
+++ b/client/enum.Output.html
@@ -0,0 +1,118 @@
+Output in client - Rust pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
§AffectedRows(usize)
§RecordBatches(RecordBatches)
§Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Output
§impl Send for Output
§impl !Sync for Output
§impl Unpin for Output
§impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/fn.from_grpc_response.html b/client/fn.from_grpc_response.html
index 0f422cea122b..0ffdc48fee12 100644
--- a/client/fn.from_grpc_response.html
+++ b/client/fn.from_grpc_response.html
@@ -1 +1 @@
-from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
+from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
diff --git a/client/index.html b/client/index.html
index 3c2e9096c074..1b3ba37a3ae1 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1 @@
-client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
\ No newline at end of file
+client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
\ No newline at end of file
diff --git a/client/region/struct.RegionRequester.html b/client/region/struct.RegionRequester.html
index c52e450ec287..74fb7ac4de8e 100644
--- a/client/region/struct.RegionRequester.html
+++ b/client/region/struct.RegionRequester.html
@@ -3,7 +3,7 @@
}Fields§
§client: Client
Implementations§
Trait Implementations§
source§impl Datanode for RegionRequester
Trait Implementations§
source§impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
Handles DML, and DDL requests.source§fn handle_query<'life0, 'async_trait>(
&'life0 self,
request: QueryRequest
-) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
§impl !RefUnwindSafe for RegionRequester
§impl Send for RegionRequester
§impl Sync for RegionRequester
§impl Unpin for RegionRequester
§impl !UnwindSafe for RegionRequester
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Database
§impl Send for Database
§impl Sync for Database
§impl Unpin for Database
§impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
source§impl Clone for RenameTableRequest
impl Clone for RenameTableRequest
source§fn clone(&self) -> RenameTableRequest
fn clone(&self) -> RenameTableRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreimpl RefUnwindSafe for RenameTableRequest
impl Send for RenameTableRequest
impl Sync for RenameTableRequest
impl Unpin for RenameTableRequest
impl UnwindSafe for RenameTableRequest
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/trait.CatalogManager.html b/catalog/trait.CatalogManager.html
index cc8091a5169e..3f057be0493b 100644
--- a/catalog/trait.CatalogManager.html
+++ b/catalog/trait.CatalogManager.html
@@ -54,7 +54,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
- ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
+ ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -107,7 +107,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/type.OpenSystemTableHook.html b/catalog/type.OpenSystemTableHook.html
index 6b2713f62a6a..1eefe22addab 100644
--- a/catalog/type.OpenSystemTableHook.html
+++ b/catalog/type.OpenSystemTableHook.html
@@ -1,2 +1,2 @@
-OpenSystemTableHook in catalog - Rust Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+OpenSystemTableHook in catalog - Rust
\ No newline at end of file
diff --git a/client/all.html b/client/all.html
index 1058c330a5ce..9bb88a75eba3 100644
--- a/client/all.html
+++ b/client/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
diff --git a/client/database/struct.Database.html b/client/database/struct.Database.html
index 1c72f65df0e4..2fe6e5e0e2fb 100644
--- a/client/database/struct.Database.html
+++ b/client/database/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
fn conv<T>(self) -> Twhere
diff --git a/catalog/trait.CatalogManager.html b/catalog/trait.CatalogManager.html
index cc8091a5169e..3f057be0493b 100644
--- a/catalog/trait.CatalogManager.html
+++ b/catalog/trait.CatalogManager.html
@@ -54,7 +54,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
- ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
+ ) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
@@ -107,7 +107,7 @@
catalog: &'life1 str,
schema: &'life2 str,
table_name: &'life3 str
-) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = Result<Option<TableRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
diff --git a/catalog/type.OpenSystemTableHook.html b/catalog/type.OpenSystemTableHook.html
index 6b2713f62a6a..1eefe22addab 100644
--- a/catalog/type.OpenSystemTableHook.html
+++ b/catalog/type.OpenSystemTableHook.html
@@ -1,2 +1,2 @@
-OpenSystemTableHook in catalog - Rust Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+OpenSystemTableHook in catalog - Rust
\ No newline at end of file
diff --git a/client/all.html b/client/all.html
index 1058c330a5ce..9bb88a75eba3 100644
--- a/client/all.html
+++ b/client/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
\ No newline at end of file
diff --git a/client/database/struct.Database.html b/client/database/struct.Database.html
index 1c72f65df0e4..2fe6e5e0e2fb 100644
--- a/client/database/struct.Database.html
+++ b/client/database/struct.Database.html
@@ -19,17 +19,17 @@
sourcepub fn catalog(&self) -> &String
sourcepub fn set_catalog(&mut self, catalog: impl Into<String>)
sourcepub fn schema(&self) -> &String
sourcepub fn set_schema(&mut self, schema: impl Into<String>)
sourcepub fn dbname(&self) -> &String
sourcepub fn set_dbname(&mut self, dbname: impl Into<String>)
sourcepub fn set_auth(&mut self, auth: AuthScheme)
sourcepub async fn insert(&self, requests: InsertRequests) -> Result<u32>
sourcepub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
sourcepub fn streaming_inserter(&self) -> Result<StreamInserter>
sourcepub fn streaming_inserter_with_channel_size(
&self,
channel_size: usize
-) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
+) -> Result<StreamInserter>
sourcepub async fn delete(&self, request: DeleteRequests) -> Result<u32>
sourceasync fn handle(&self, request: Request) -> Result<u32>
sourcefn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
sourcepub async fn sql(&self, sql: &str) -> Result<Output>
sourcepub async fn logical_plan(
&self,
logical_plan: Vec<u8>,
trace_id: u64
-) -> Result<Output>
sourcepub async fn prom_range_query(
+) -> Result<Output>
sourcepub async fn prom_range_query(
&self,
promql: &str,
start: &str,
end: &str,
step: &str
-) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Type Definition catalog::OpenSystemTableHook
source · pub type OpenSystemTableHook = Box<dyn Fn(TableRef) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description
Hook called after system table opening.
+List of all items
Structs
- Client
- Database
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
List of all items
Structs
- Client
- Database
- RecordBatches
- StreamInserter
- client::Client
- client::DatabaseClient
- client::FlightClient
- client::Inner
- client_manager::DatanodeClients
- database::Database
- database::FlightContext
- error::ClientStreamingSnafu
- error::ColumnDataTypeSnafu
- error::ConvertFlightDataSnafu
- error::CreateChannelSnafu
- error::FlightGetSnafu
- error::HandleRequestSnafu
- error::IllegalDatabaseResponseSnafu
- error::IllegalFlightMessagesSnafu
- error::IllegalGrpcClientStateSnafu
- error::MissingFieldSnafu
- error::RegionServerSnafu
- error::ServerSnafu
- load_balance::Random
- region::RegionRequester
- stream_insert::StreamInserter
Enums
Traits
Functions
Type Definitions
Constants
- DEFAULT_CATALOG_NAME
- DEFAULT_SCHEMA_NAME
- metrics::METRIC_GRPC_ALTER
- metrics::METRIC_GRPC_CREATE_TABLE
- metrics::METRIC_GRPC_DELETE
- metrics::METRIC_GRPC_DO_GET
- metrics::METRIC_GRPC_DROP_TABLE
- metrics::METRIC_GRPC_INSERT
- metrics::METRIC_GRPC_LOGICAL_PLAN
- metrics::METRIC_GRPC_PROMQL_RANGE_QUERY
- metrics::METRIC_GRPC_SQL
- metrics::METRIC_GRPC_TRUNCATE_TABLE
- metrics::METRIC_REGION_REQUEST_GRPC
pub fn catalog(&self) -> &String
pub fn set_catalog(&mut self, catalog: impl Into<String>)
pub fn schema(&self) -> &String
pub fn set_schema(&mut self, schema: impl Into<String>)
pub fn dbname(&self) -> &String
pub fn set_dbname(&mut self, dbname: impl Into<String>)
pub fn set_auth(&mut self, auth: AuthScheme)
pub async fn insert(&self, requests: InsertRequests) -> Result<u32>
pub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
pub fn streaming_inserter(&self) -> Result<StreamInserter>
pub fn streaming_inserter_with_channel_size( &self, channel_size: usize -) -> Result<StreamInserter>
pub async fn delete(&self, request: DeleteRequests) -> Result<u32>
async fn handle(&self, request: Request) -> Result<u32>
fn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
pub async fn sql(&self, sql: &str) -> Result<Output>
pub async fn logical_plan( +) -> Result<StreamInserter>
pub async fn delete(&self, request: DeleteRequests) -> Result<u32>
async fn handle(&self, request: Request) -> Result<u32>
fn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
pub async fn sql(&self, sql: &str) -> Result<Output>
pub async fn logical_plan( &self, logical_plan: Vec<u8>, trace_id: u64 -) -> Result<Output>
pub async fn prom_range_query( +) -> Result<Output>
pub async fn prom_range_query( &self, promql: &str, start: &str, end: &str, step: &str -) -> Result<Output>
pub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
pub async fn alter(&self, expr: AlterExpr) -> Result<Output>
pub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
pub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
async fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Database
impl Send for Database
impl Sync for Database
impl Unpin for Database
impl !UnwindSafe for Database
Blanket Implementations§
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
impl<T> Any for Twhere +) -> Result<Output>
pub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
pub async fn alter(&self, expr: AlterExpr) -> Result<Output>
pub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
pub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
async fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
impl !RefUnwindSafe for Database
impl Send for Database
impl Sync for Database
impl Unpin for Database
impl !UnwindSafe for Database
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/enum.Output.html b/client/enum.Output.html
new file mode 100644
index 000000000000..78dc13d76b4a
--- /dev/null
+++ b/client/enum.Output.html
@@ -0,0 +1,118 @@
+Output in client - Rust pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
§AffectedRows(usize)
§RecordBatches(RecordBatches)
§Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Output
§impl Send for Output
§impl !Sync for Output
§impl Unpin for Output
§impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/fn.from_grpc_response.html b/client/fn.from_grpc_response.html
index 0f422cea122b..0ffdc48fee12 100644
--- a/client/fn.from_grpc_response.html
+++ b/client/fn.from_grpc_response.html
@@ -1 +1 @@
-from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
+from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
diff --git a/client/index.html b/client/index.html
index 3c2e9096c074..1b3ba37a3ae1 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1 @@
-client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
\ No newline at end of file
+client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
\ No newline at end of file
diff --git a/client/region/struct.RegionRequester.html b/client/region/struct.RegionRequester.html
index c52e450ec287..74fb7ac4de8e 100644
--- a/client/region/struct.RegionRequester.html
+++ b/client/region/struct.RegionRequester.html
@@ -3,7 +3,7 @@
}Fields§
§client: Client
Implementations§
Trait Implementations§
source§impl Datanode for RegionRequester
Trait Implementations§
source§impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
Handles DML, and DDL requests.source§fn handle_query<'life0, 'async_trait>(
&'life0 self,
request: QueryRequest
-) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
§impl !RefUnwindSafe for RegionRequester
§impl Send for RegionRequester
§impl Sync for RegionRequester
§impl Unpin for RegionRequester
§impl !UnwindSafe for RegionRequester
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
fn conv<T>(self) -> Twhere
diff --git a/client/enum.Output.html b/client/enum.Output.html
new file mode 100644
index 000000000000..78dc13d76b4a
--- /dev/null
+++ b/client/enum.Output.html
@@ -0,0 +1,118 @@
+Output in client - Rust pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
§AffectedRows(usize)
§RecordBatches(RecordBatches)
§Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
§impl !RefUnwindSafe for Output
§impl Send for Output
§impl !Sync for Output
§impl Unpin for Output
§impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/fn.from_grpc_response.html b/client/fn.from_grpc_response.html
index 0f422cea122b..0ffdc48fee12 100644
--- a/client/fn.from_grpc_response.html
+++ b/client/fn.from_grpc_response.html
@@ -1 +1 @@
-from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
+from_grpc_response in client - Rust Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
\ No newline at end of file
diff --git a/client/index.html b/client/index.html
index 3c2e9096c074..1b3ba37a3ae1 100644
--- a/client/index.html
+++ b/client/index.html
@@ -1 +1 @@
-client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
\ No newline at end of file
+client - Rust Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
\ No newline at end of file
diff --git a/client/region/struct.RegionRequester.html b/client/region/struct.RegionRequester.html
index c52e450ec287..74fb7ac4de8e 100644
--- a/client/region/struct.RegionRequester.html
+++ b/client/region/struct.RegionRequester.html
@@ -3,7 +3,7 @@
}Fields§
§client: Client
Implementations§
Trait Implementations§
source§impl Datanode for RegionRequester
Trait Implementations§
source§impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
Handles DML, and DDL requests.source§fn handle_query<'life0, 'async_trait>(
&'life0 self,
request: QueryRequest
-) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
+) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
§impl !RefUnwindSafe for RegionRequester
§impl Send for RegionRequester
§impl Sync for RegionRequester
§impl Unpin for RegionRequester
§impl !UnwindSafe for RegionRequester
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
pub enum Output {
+ AffectedRows(usize),
+ RecordBatches(RecordBatches),
+ Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>),
+}
Variants§
AffectedRows(usize)
RecordBatches(RecordBatches)
Stream(Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Output
impl Send for Output
impl !Sync for Output
impl Unpin for Output
impl !UnwindSafe for Output
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
impl<T, V> Convert<T> for Vwhere + V: Into<T>,
fn convert(value: Self) -> T
fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
fn convert_vec_box( + value: Vec<Box<Self, Global>, Global> +) -> Vec<Box<T, Global>, Global>
fn convert_matrix( + value: Vec<Vec<Self, Global>, Global> +) -> Vec<Vec<T, Global>, Global>
fn convert_option(value: Option<Self>) -> Option<T>
fn convert_option_box( + value: Option<Box<Self, Global>> +) -> Option<Box<T, Global>>
fn convert_option_vec( + value: Option<Vec<Self, Global>> +) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where + Self: Binary,
self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where + Self: Display,
self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where + Self: LowerExp,
self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where + Self: LowerHex,
self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where + Self: Octal,
self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where + Self: Pointer,
self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where + Self: UpperExp,
self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where + Self: UpperHex,
self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where + &'a Self: for<'a> IntoIterator,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
impl<T> Pipe for Twhere + T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere + Self: Sized,
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere + R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere + R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere + Self: Borrow<B>, + B: 'a + ?Sized, + R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
fn pipe_borrow_mut<'a, B, R>( + &'a mut self, + func: impl FnOnce(&'a mut B) -> R +) -> Rwhere + Self: BorrowMut<B>, + B: 'a + ?Sized, + R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere + Self: AsRef<U>, + U: 'a + ?Sized, + R: 'a,
self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere + Self: AsMut<U>, + U: 'a + ?Sized, + R: 'a,
self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere + SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere + Self: Borrow<B>, + B: ?Sized,
Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere + Self: BorrowMut<B>, + B: ?Sized,
BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere + Self: AsRef<R>, + R: ?Sized,
AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere + Self: AsMut<R>, + R: ?Sized,
AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere + Self: Deref<Target = T>, + T: ?Sized,
Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere + Self: DerefMut<Target = T> + Deref, + T: ?Sized,
Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere + Self: Borrow<B>, + B: ?Sized,
.tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere + Self: BorrowMut<B>, + B: ?Sized,
.tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere + Self: AsRef<R>, + R: ?Sized,
.tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere + Self: AsMut<R>, + R: ?Sized,
.tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
impl<T> TryConv for T
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
Function client::from_grpc_response
source · pub fn from_grpc_response(response: GreptimeResponse) -> Result<u32>
Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Constants
Functions
Re-exports
Modules
Structs
- A structure that provides some methods for streaming data insert.
Enums
Constants
Functions
Type Definitions
source§impl Datanode for RegionRequester
impl Datanode for RegionRequester
source§impl Datanode for RegionRequester
impl Datanode for RegionRequester
source§fn handle<'life0, 'async_trait>(
&'life0 self,
request: RegionRequest
) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where
@@ -11,7 +11,7 @@
'life0: 'async_trait,
fn handle<'life0, 'async_trait>( &'life0 self, request: RegionRequest ) -> Pin<Box<dyn Future<Output = MetaResult<AffectedRows>> + Send + 'async_trait>>where @@ -11,7 +11,7 @@ 'life0: 'async_trait,
fn handle_query<'life0, 'async_trait>( &'life0 self, request: QueryRequest -) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = MetaResult<SendableRecordBatchStream>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
impl !RefUnwindSafe for RegionRequester
impl Send for RegionRequester
impl Sync for RegionRequester
impl Unpin for RegionRequester
impl !UnwindSafe for RegionRequester
source§impl<T> Borrow<T> for Twhere
diff --git a/client/sidebar-items.js b/client/sidebar-items.js
index be2b26fe753c..3485278f4d54 100644
--- a/client/sidebar-items.js
+++ b/client/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]};
\ No newline at end of file
diff --git a/client/struct.Database.html b/client/struct.Database.html
index 630c358d719b..5186ef2ee86a 100644
--- a/client/struct.Database.html
+++ b/client/struct.Database.html
@@ -19,17 +19,17 @@
impl<T> Borrow<T> for Twhere diff --git a/client/sidebar-items.js b/client/sidebar-items.js index be2b26fe753c..3485278f4d54 100644 --- a/client/sidebar-items.js +++ b/client/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","StreamInserter"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"constant":["DEFAULT_CATALOG_NAME","DEFAULT_SCHEMA_NAME"],"enum":["Output"],"fn":["from_grpc_response"],"mod":["client","client_manager","database","error","load_balance","metrics","region","stream_insert"],"struct":["Client","Database","RecordBatches","StreamInserter"],"type":["SendableRecordBatchStream"]}; \ No newline at end of file diff --git a/client/struct.Database.html b/client/struct.Database.html index 630c358d719b..5186ef2ee86a 100644 --- a/client/struct.Database.html +++ b/client/struct.Database.html @@ -19,17 +19,17 @@
pub fn catalog(&self) -> &String
pub fn set_catalog(&mut self, catalog: impl Into<String>)
pub fn schema(&self) -> &String
pub fn set_schema(&mut self, schema: impl Into<String>)
pub fn dbname(&self) -> &String
pub fn set_dbname(&mut self, dbname: impl Into<String>)
pub fn set_auth(&mut self, auth: AuthScheme)
pub async fn insert(&self, requests: InsertRequests) -> Result<u32>
pub async fn row_insert(&self, requests: RowInsertRequests) -> Result<u32>
pub fn streaming_inserter(&self) -> Result<StreamInserter>
pub fn streaming_inserter_with_channel_size( &self, channel_size: usize -) -> Result<StreamInserter>
pub async fn delete(&self, request: DeleteRequests) -> Result<u32>
async fn handle(&self, request: Request) -> Result<u32>
fn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
pub async fn sql(&self, sql: &str) -> Result<Output>
pub async fn logical_plan( +) -> Result<StreamInserter>
pub async fn delete(&self, request: DeleteRequests) -> Result<u32>
async fn handle(&self, request: Request) -> Result<u32>
fn to_rpc_request(&self, request: Request, trace_id: u64) -> GreptimeRequest
pub async fn sql(&self, sql: &str) -> Result<Output>
pub async fn logical_plan( &self, logical_plan: Vec<u8>, trace_id: u64 -) -> Result<Output>
pub async fn prom_range_query( +) -> Result<Output>
pub async fn prom_range_query( &self, promql: &str, start: &str, end: &str, step: &str -) -> Result<Output>
pub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
pub async fn alter(&self, expr: AlterExpr) -> Result<Output>
pub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
pub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
async fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
impl !RefUnwindSafe for Database
impl Send for Database
impl Sync for Database
impl Unpin for Database
impl !UnwindSafe for Database
source§impl<T> Any for Twhere
+) -> Result<Output>
sourcepub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
sourcepub async fn alter(&self, expr: AlterExpr) -> Result<Output>
sourcepub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
sourcepub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
sourceasync fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
impl<T> Any for Twhere +) -> Result<Output>
pub async fn create(&self, expr: CreateTableExpr) -> Result<Output>
pub async fn alter(&self, expr: AlterExpr) -> Result<Output>
pub async fn drop_table(&self, expr: DropTableExpr) -> Result<Output>
pub async fn truncate_table(&self, expr: TruncateTableExpr) -> Result<Output>
async fn do_get(&self, request: Request, trace_id: u64) -> Result<Output>
impl !RefUnwindSafe for Database
impl Send for Database
impl Sync for Database
impl Unpin for Database
impl !UnwindSafe for Database
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/struct.RecordBatches.html b/client/struct.RecordBatches.html
new file mode 100644
index 000000000000..d4b5134bef55
--- /dev/null
+++ b/client/struct.RecordBatches.html
@@ -0,0 +1,134 @@
+RecordBatches in client - Rust Struct client::RecordBatches
pub struct RecordBatches {
+ pub(crate) schema: Arc<Schema, Global>,
+ pub(crate) batches: Vec<RecordBatch, Global>,
+}
Fields§
§schema: Arc<Schema, Global>
§batches: Vec<RecordBatch, Global>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema, Global>,
+ columns: I
+) -> Result<RecordBatches, Error>where
+ I: IntoIterator<Item = Arc<dyn Vector, Global>>,
pub async fn try_collect(
+ stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
+) -> impl Future<Output = 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, Global>,
+ batches: Vec<RecordBatch, Global>
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema, Global>
pub fn take(self) -> Vec<RecordBatch, Global>
pub fn as_stream(
+ &self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
pub fn into_df_stream(
+ self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, DataFusionError>> + Send, Global>>
Trait Implementations§
§impl Debug for RecordBatches
§impl IntoIterator for RecordBatches
§type IntoIter = IntoIter<<RecordBatches as IntoIterator>::Item, Global>
Which kind of iterator are we turning this into?§fn into_iter(self) -> <RecordBatches as IntoIterator>::IntoIter
Creates an iterator from a value. Read more§impl PartialEq<RecordBatches> for RecordBatches
§fn eq(&self, other: &RecordBatches) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.§impl StructuralPartialEq for RecordBatches
Auto Trait Implementations§
§impl !RefUnwindSafe for RecordBatches
§impl Send for RecordBatches
§impl Sync for RecordBatches
§impl Unpin for RecordBatches
§impl !UnwindSafe for RecordBatches
Blanket Implementations§
§impl<I> BidiIterator for Iwhere
+ I: IntoIterator,
+ <I as IntoIterator>::IntoIter: DoubleEndedIterator,
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/type.SendableRecordBatchStream.html b/client/type.SendableRecordBatchStream.html
new file mode 100644
index 000000000000..df7268aab19a
--- /dev/null
+++ b/client/type.SendableRecordBatchStream.html
@@ -0,0 +1 @@
+SendableRecordBatchStream in client - Rust
\ No newline at end of file
diff --git a/common_grpc_expr/alter/fn.alter_expr_to_request.html b/common_grpc_expr/alter/fn.alter_expr_to_request.html
index 63f2342d02da..1850a92935fc 100644
--- a/common_grpc_expr/alter/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/alter/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr::alter - Rust Function common_grpc_expr::alter::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/alter/index.html b/common_grpc_expr/alter/index.html
index bd7e5b33fbcf..4206ec54f54a 100644
--- a/common_grpc_expr/alter/index.html
+++ b/common_grpc_expr/alter/index.html
@@ -1 +1 @@
-common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/delete/fn.to_table_delete_request.html b/common_grpc_expr/delete/fn.to_table_delete_request.html
index 17bb5cee292b..4d6dd1ad4737 100644
--- a/common_grpc_expr/delete/fn.to_table_delete_request.html
+++ b/common_grpc_expr/delete/fn.to_table_delete_request.html
@@ -2,4 +2,4 @@
catalog_name: &str,
schema_name: &str,
request: DeleteRequest
-) -> Result<DeleteRequest>
\ No newline at end of file
+) -> Result<DeleteRequest>
fn conv<T>(self) -> Twhere
diff --git a/client/struct.RecordBatches.html b/client/struct.RecordBatches.html
new file mode 100644
index 000000000000..d4b5134bef55
--- /dev/null
+++ b/client/struct.RecordBatches.html
@@ -0,0 +1,134 @@
+RecordBatches in client - Rust Struct client::RecordBatches
pub struct RecordBatches {
+ pub(crate) schema: Arc<Schema, Global>,
+ pub(crate) batches: Vec<RecordBatch, Global>,
+}
Fields§
§schema: Arc<Schema, Global>
§batches: Vec<RecordBatch, Global>
Implementations§
§impl RecordBatches
pub fn try_from_columns<I>(
+ schema: Arc<Schema, Global>,
+ columns: I
+) -> Result<RecordBatches, Error>where
+ I: IntoIterator<Item = Arc<dyn Vector, Global>>,
pub async fn try_collect(
+ stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
+) -> impl Future<Output = 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, Global>,
+ batches: Vec<RecordBatch, Global>
+) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema, Global>
pub fn take(self) -> Vec<RecordBatch, Global>
pub fn as_stream(
+ &self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
pub fn into_df_stream(
+ self
+) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, DataFusionError>> + Send, Global>>
Trait Implementations§
§impl Debug for RecordBatches
§impl IntoIterator for RecordBatches
§type IntoIter = IntoIter<<RecordBatches as IntoIterator>::Item, Global>
Which kind of iterator are we turning this into?§fn into_iter(self) -> <RecordBatches as IntoIterator>::IntoIter
Creates an iterator from a value. Read more§impl PartialEq<RecordBatches> for RecordBatches
§fn eq(&self, other: &RecordBatches) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.§impl StructuralPartialEq for RecordBatches
Auto Trait Implementations§
§impl !RefUnwindSafe for RecordBatches
§impl Send for RecordBatches
§impl Sync for RecordBatches
§impl Unpin for RecordBatches
§impl !UnwindSafe for RecordBatches
Blanket Implementations§
§impl<I> BidiIterator for Iwhere
+ I: IntoIterator,
+ <I as IntoIterator>::IntoIter: DoubleEndedIterator,
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
§fn convert(value: Self) -> T
§fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
§fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
§fn convert_vec_box(
+ value: Vec<Box<Self, Global>, Global>
+) -> Vec<Box<T, Global>, Global>
§fn convert_matrix(
+ value: Vec<Vec<Self, Global>, Global>
+) -> Vec<Vec<T, Global>, Global>
§fn convert_option(value: Option<Self>) -> Option<T>
§fn convert_option_box(
+ value: Option<Box<Self, Global>>
+) -> Option<Box<T, Global>>
§fn convert_option_vec(
+ value: Option<Vec<Self, Global>>
+) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
Causes self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
Causes self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
Causes self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
Causes self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
Causes self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
Causes self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
Causes self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
Causes self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more§impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.§impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
\ No newline at end of file
diff --git a/client/type.SendableRecordBatchStream.html b/client/type.SendableRecordBatchStream.html
new file mode 100644
index 000000000000..df7268aab19a
--- /dev/null
+++ b/client/type.SendableRecordBatchStream.html
@@ -0,0 +1 @@
+SendableRecordBatchStream in client - Rust
\ No newline at end of file
diff --git a/common_grpc_expr/alter/fn.alter_expr_to_request.html b/common_grpc_expr/alter/fn.alter_expr_to_request.html
index 63f2342d02da..1850a92935fc 100644
--- a/common_grpc_expr/alter/fn.alter_expr_to_request.html
+++ b/common_grpc_expr/alter/fn.alter_expr_to_request.html
@@ -1,5 +1,5 @@
alter_expr_to_request in common_grpc_expr::alter - Rust Function common_grpc_expr::alter::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
+) -> Result<AlterTableRequest>Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/alter/index.html b/common_grpc_expr/alter/index.html
index bd7e5b33fbcf..4206ec54f54a 100644
--- a/common_grpc_expr/alter/index.html
+++ b/common_grpc_expr/alter/index.html
@@ -1 +1 @@
-common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an AlterTableRequest
\ No newline at end of file
+common_grpc_expr::alter - Rust Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
\ No newline at end of file
diff --git a/common_grpc_expr/delete/fn.to_table_delete_request.html b/common_grpc_expr/delete/fn.to_table_delete_request.html
index 17bb5cee292b..4d6dd1ad4737 100644
--- a/common_grpc_expr/delete/fn.to_table_delete_request.html
+++ b/common_grpc_expr/delete/fn.to_table_delete_request.html
@@ -2,4 +2,4 @@
catalog_name: &str,
schema_name: &str,
request: DeleteRequest
-) -> Result<DeleteRequest>
\ No newline at end of file
+) -> Result<DeleteRequest>
Struct client::RecordBatches
pub struct RecordBatches {
+ pub(crate) schema: Arc<Schema, Global>,
+ pub(crate) batches: Vec<RecordBatch, Global>,
+}
Fields§
§schema: Arc<Schema, Global>
§batches: Vec<RecordBatch, Global>
Implementations§
§impl RecordBatches
impl RecordBatches
pub fn try_from_columns<I>( + schema: Arc<Schema, Global>, + columns: I +) -> Result<RecordBatches, Error>where + I: IntoIterator<Item = Arc<dyn Vector, Global>>,
pub async fn try_collect( + stream: Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>> +) -> impl Future<Output = 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, Global>, + batches: Vec<RecordBatch, Global> +) -> Result<RecordBatches, Error>
pub fn schema(&self) -> Arc<Schema, Global>
pub fn take(self) -> Vec<RecordBatch, Global>
pub fn as_stream( + &self +) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, Error>> + Send, Global>>
pub fn into_df_stream( + self +) -> Pin<Box<dyn RecordBatchStream<Item = Result<RecordBatch, DataFusionError>> + Send, Global>>
Trait Implementations§
§impl Debug for RecordBatches
impl Debug for RecordBatches
§impl IntoIterator for RecordBatches
impl IntoIterator for RecordBatches
§type IntoIter = IntoIter<<RecordBatches as IntoIterator>::Item, Global>
type IntoIter = IntoIter<<RecordBatches as IntoIterator>::Item, Global>
§fn into_iter(self) -> <RecordBatches as IntoIterator>::IntoIter
fn into_iter(self) -> <RecordBatches as IntoIterator>::IntoIter
§impl PartialEq<RecordBatches> for RecordBatches
impl PartialEq<RecordBatches> for RecordBatches
§fn eq(&self, other: &RecordBatches) -> bool
fn eq(&self, other: &RecordBatches) -> bool
self
and other
values to be equal, and is used
+by ==
.impl StructuralPartialEq for RecordBatches
Auto Trait Implementations§
impl !RefUnwindSafe for RecordBatches
impl Send for RecordBatches
impl Sync for RecordBatches
impl Unpin for RecordBatches
impl !UnwindSafe for RecordBatches
Blanket Implementations§
§impl<I> BidiIterator for Iwhere
+ I: IntoIterator,
+ <I as IntoIterator>::IntoIter: DoubleEndedIterator,
impl<I> BidiIterator for Iwhere + I: IntoIterator, + <I as IntoIterator>::IntoIter: DoubleEndedIterator,
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
§impl<T, V> Convert<T> for Vwhere
+ V: Into<T>,
impl<T, V> Convert<T> for Vwhere + V: Into<T>,
fn convert(value: Self) -> T
fn convert_box(value: Box<Self, Global>) -> Box<T, Global>
fn convert_vec(value: Vec<Self, Global>) -> Vec<T, Global>
fn convert_vec_box( + value: Vec<Box<Self, Global>, Global> +) -> Vec<Box<T, Global>, Global>
fn convert_matrix( + value: Vec<Vec<Self, Global>, Global> +) -> Vec<Vec<T, Global>, Global>
fn convert_option(value: Option<Self>) -> Option<T>
fn convert_option_box( + value: Option<Box<Self, Global>> +) -> Option<Box<T, Global>>
fn convert_option_vec( + value: Option<Vec<Self, Global>> +) -> Option<Vec<T, Global>>
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
+ Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where + Self: Binary,
self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
+ Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where + Self: Display,
self
to use its Display
implementation when
+Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
+ Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where + Self: LowerExp,
self
to use its LowerExp
implementation when
+Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
+ Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where + Self: LowerHex,
self
to use its LowerHex
implementation when
+Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
+ Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where + Self: Octal,
self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
+ Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where + Self: Pointer,
self
to use its Pointer
implementation when
+Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
+ Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where + Self: UpperExp,
self
to use its UpperExp
implementation when
+Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
+ Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where + Self: UpperHex,
self
to use its UpperHex
implementation when
+Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
+ &'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where + &'a Self: for<'a> IntoIterator,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request
§impl<T> Pipe for Twhere
+ T: ?Sized,
impl<T> Pipe for Twhere + T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
+ Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere + Self: Sized,
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
+ R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere + R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
+ R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere + R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
+ Self: Borrow<B>,
+ B: 'a + ?Sized,
+ R: 'a,
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere + Self: Borrow<B>, + B: 'a + ?Sized, + R: 'a,
§fn pipe_borrow_mut<'a, B, R>(
+ &'a mut self,
+ func: impl FnOnce(&'a mut B) -> R
+) -> Rwhere
+ Self: BorrowMut<B>,
+ B: 'a + ?Sized,
+ R: 'a,
fn pipe_borrow_mut<'a, B, R>( + &'a mut self, + func: impl FnOnce(&'a mut B) -> R +) -> Rwhere + Self: BorrowMut<B>, + B: 'a + ?Sized, + R: 'a,
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
+ Self: AsRef<U>,
+ U: 'a + ?Sized,
+ R: 'a,
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere + Self: AsRef<U>, + U: 'a + ?Sized, + R: 'a,
self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
+ Self: AsMut<U>,
+ U: 'a + ?Sized,
+ R: 'a,
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere + Self: AsMut<U>, + U: 'a + ?Sized, + R: 'a,
self
, then passes self.as_mut()
into the pipe
+function.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
+ SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere + SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
+superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere + Self: Borrow<B>, + B: ?Sized,
Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere + Self: BorrowMut<B>, + B: ?Sized,
BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere + Self: AsRef<R>, + R: ?Sized,
AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere + Self: AsMut<R>, + R: ?Sized,
AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
+ Self: Deref<Target = T>,
+ T: ?Sized,
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere + Self: Deref<Target = T>, + T: ?Sized,
Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
+ Self: DerefMut<Target = T> + Deref,
+ T: ?Sized,
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere + Self: DerefMut<Target = T> + Deref, + T: ?Sized,
Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
+ Self: Borrow<B>,
+ B: ?Sized,
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere + Self: Borrow<B>, + B: ?Sized,
.tap_borrow()
only in debug builds, and is erased in release
+builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
+ Self: BorrowMut<B>,
+ B: ?Sized,
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere + Self: BorrowMut<B>, + B: ?Sized,
.tap_borrow_mut()
only in debug builds, and is erased in release
+builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
+ Self: AsRef<R>,
+ R: ?Sized,
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere + Self: AsRef<R>, + R: ?Sized,
.tap_ref()
only in debug builds, and is erased in release
+builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
+ Self: AsMut<R>,
+ R: ?Sized,
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere + Self: AsMut<R>, + R: ?Sized,
.tap_ref_mut()
only in debug builds, and is erased in release
+builds.§impl<T> TryConv for T
impl<T> TryConv for T
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
+ S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Function common_grpc_expr::alter::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to anAlterTableRequest
Module common_grpc_expr::alter
source · Constants
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
Function common_grpc_expr::alter_expr_to_request
source · pub fn alter_expr_to_request(
- table_id: TableId,
+ table_id: TableId,
expr: AlterExpr
-) -> Result<AlterTableRequest>
Expand description
Convert an [AlterExpr
] to an AlterTableRequest
Expand description
Convert an [AlterExpr
] to an [AlterTableRequest
]
Crate common_grpc_expr
source ·Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to anAlterTableRequest
Crate common_grpc_expr
source ·Re-exports
pub use insert::build_create_expr_from_insertion;
pub use insert::find_new_columns;
Modules
- alter 🔒
Functions
- Convert an [
AlterExpr
] to an [AlterTableRequest
]
Function common_grpc_expr::insert::build_create_expr_from_insertion
source · pub fn build_create_expr_from_insertion(
catalog_name: &str,
schema_name: &str,
- table_id: Option<TableId>,
+ table_id: Option<TableId>,
table_name: &str,
columns: &[Column],
engine: &str
diff --git a/common_grpc_expr/util/fn.build_create_table_expr.html b/common_grpc_expr/util/fn.build_create_table_expr.html
index e78b4de945b9..76a2b47b82aa 100644
--- a/common_grpc_expr/util/fn.build_create_table_expr.html
+++ b/common_grpc_expr/util/fn.build_create_table_expr.html
@@ -1,6 +1,6 @@
build_create_table_expr in common_grpc_expr::util - Rust Function common_grpc_expr::util::build_create_table_expr
source · pub fn build_create_table_expr(
- table_id: Option<TableId>,
- table_name: &TableReference<'_>,
+ table_id: Option<TableId>,
+ table_name: &TableReference<'_>,
column_exprs: Vec<ColumnExpr<'_>>,
engine: &str,
desc: &str
diff --git a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
index 13feb0240fbf..94e9334f09a2 100644
--- a/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
+++ b/common_meta/cache_invalidator/struct.DummyCacheInvalidator.html
@@ -1,7 +1,7 @@
DummyCacheInvalidator in common_meta::cache_invalidator - Rust pub struct DummyCacheInvalidator;
Trait Implementations§
source§impl CacheInvalidator for DummyCacheInvalidator
source§fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
- _table_id: TableId
+ _table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/cache_invalidator/trait.CacheInvalidator.html b/common_meta/cache_invalidator/trait.CacheInvalidator.html
index dc6e8864c3a7..004d340a376a 100644
--- a/common_meta/cache_invalidator/trait.CacheInvalidator.html
+++ b/common_meta/cache_invalidator/trait.CacheInvalidator.html
@@ -3,7 +3,7 @@
fn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
@@ -19,7 +19,7 @@
}Required Methods§
sourcefn invalidate_table_id<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
- table_id: TableId
+ table_id: TableId
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
diff --git a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
index 625083846c6d..4e32e147c5db 100644
--- a/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
+++ b/common_meta/ddl/alter_table/fn.create_proto_alter_kind.html
@@ -1,5 +1,5 @@
create_proto_alter_kind in common_meta::ddl::alter_table - Rust Function common_meta::ddl::alter_table::create_proto_alter_kind
source · pub fn create_proto_alter_kind(
- table_info: &RawTableInfo,
+ table_info: &RawTableInfo,
alter_kind: &Kind
) -> Result<(Option<Kind>, Option<ColumnId>)>
Expand description
Creates region proto alter kind from table_info
and alter_kind
.
Returns the kind and next column id if it adds new columns.
diff --git a/common_meta/ddl/alter_table/struct.AlterTableData.html b/common_meta/ddl/alter_table/struct.AlterTableData.html
index f9a58a4e56bc..018ff5a55e63 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableData.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableData.html
@@ -11,7 +11,7 @@
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
cluster_id: u64,
next_column_id: Option<ColumnId>
-) -> Selfsourcefn table_ref(&self) -> TableReference<'_>
sourcefn table_id(&self) -> TableId
sourcefn table_info(&self) -> &RawTableInfo
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
Trait Implementations§
source§impl Debug for AlterTableData
source§impl<'de> Deserialize<'de> for AlterTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for AlterTableData
§impl Send for AlterTableData
§impl Sync for AlterTableData
§impl Unpin for AlterTableData
§impl UnwindSafe for AlterTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
index 473eaaaee000..6a100fc8420b 100644
--- a/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
+++ b/common_meta/ddl/alter_table/struct.AlterTableProcedure.html
@@ -17,8 +17,8 @@
) -> Result<()>
Update table metadata for rename table operation.
sourceasync fn on_update_metadata_for_alter(
&self,
- new_table_info: RawTableInfo
-) -> Result<()>
sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
+ new_table_info: RawTableInfo
+) -> Result<()>sourcefn build_new_table_info(&self) -> Result<TableInfo>
sourceasync fn on_update_metadata(&mut self) -> Result<Status>
Update table metadata.
sourceasync fn on_broadcast(&mut self) -> Result<Status>
Broadcasts the invalidating table cache instructions.
sourcefn lock_key_inner(&self) -> Vec<String>
Trait Implementations§
source§impl Procedure for AlterTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff --git a/common_meta/ddl/create_table/struct.CreateTableData.html b/common_meta/ddl/create_table/struct.CreateTableData.html
index 2e5e27fd7eb4..4330b2fbd1af 100644
--- a/common_meta/ddl/create_table/struct.CreateTableData.html
+++ b/common_meta/ddl/create_table/struct.CreateTableData.html
@@ -3,7 +3,7 @@
pub task: CreateTableTask,
pub region_routes: Vec<RegionRoute>,
pub cluster_id: u64,
-}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
source§impl CreateTableData
sourcefn table_ref(&self) -> TableReference<'_>
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§state: CreateTableState
§task: CreateTableTask
§region_routes: Vec<RegionRoute>
§cluster_id: u64
Implementations§
Trait Implementations§
source§impl Debug for CreateTableData
source§impl<'de> Deserialize<'de> for CreateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for CreateTableData
§impl Send for CreateTableData
§impl Sync for CreateTableData
§impl Unpin for CreateTableData
§impl UnwindSafe for CreateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/create_table/struct.CreateTableProcedure.html b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
index b71e4a8436f9..9a2a1de73fad 100644
--- a/common_meta/ddl/create_table/struct.CreateTableProcedure.html
+++ b/common_meta/ddl/create_table/struct.CreateTableProcedure.html
@@ -6,7 +6,7 @@
task: CreateTableTask,
region_routes: Vec<RegionRoute>,
context: DdlContext
-) -> Self
sourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
+) -> Selfsourcepub fn from_json(json: &str, context: DdlContext) -> ProcedureResult<Self>
sourcepub fn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
sourcepub fn region_routes(&self) -> &Vec<RegionRoute>
sourceasync fn on_prepare(&mut self) -> Result<Status>
Checks whether the table exists.
sourcepub fn create_region_request_template(&self) -> Result<PbCreateRegionRequest>
sourcepub async fn on_datanode_create_regions(&mut self) -> Result<Status>
sourceasync fn on_create_metadata(&self) -> Result<Status>
Trait Implementations§
source§impl Procedure for CreateTableProcedure
source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_ctx: &'life1 ProcedureContext
diff --git a/common_meta/ddl/drop_table/struct.DropTableData.html b/common_meta/ddl/drop_table/struct.DropTableData.html
index 46e3a21db8cd..2b91fa24c713 100644
--- a/common_meta/ddl/drop_table/struct.DropTableData.html
+++ b/common_meta/ddl/drop_table/struct.DropTableData.html
@@ -9,7 +9,7 @@
task: DropTableTask,
table_route_value: DeserializedValueWithBytes<TableRouteValue>,
table_info_value: DeserializedValueWithBytes<TableInfoValue>
-) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcefn table_ref(&self) -> TableReference<'_>
sourcefn region_routes(&self) -> &Vec<RegionRoute>
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for DropTableData
source§impl<'de> Deserialize<'de> for DropTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for DropTableData
§impl Send for DropTableData
§impl Sync for DropTableData
§impl Unpin for DropTableData
§impl UnwindSafe for DropTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/ddl/trait.TableMetadataAllocator.html b/common_meta/ddl/trait.TableMetadataAllocator.html
index b095be070299..36cbad59636a 100644
--- a/common_meta/ddl/trait.TableMetadataAllocator.html
+++ b/common_meta/ddl/trait.TableMetadataAllocator.html
@@ -3,7 +3,7 @@
fn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>
where Self: 'async_trait,
@@ -14,7 +14,7 @@
}Required Methods§
sourcefn create<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 TableMetadataAllocatorContext,
- table_info: &'life2 mut RawTableInfo,
+ table_info: &'life2 mut RawTableInfo,
partitions: &'life3 [Partition]
) -> Pin<Box<dyn Future<Output = Result<(TableId, Vec<RegionRoute>)>> + Send + 'async_trait>>where
Self: 'async_trait,
diff --git a/common_meta/ddl/truncate_table/struct.TruncateTableData.html b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
index 7363b523f063..708e5561808d 100644
--- a/common_meta/ddl/truncate_table/struct.TruncateTableData.html
+++ b/common_meta/ddl/truncate_table/struct.TruncateTableData.html
@@ -9,7 +9,7 @@
task: TruncateTableTask,
table_info_value: DeserializedValueWithBytes<TableInfoValue>,
region_routes: Vec<RegionRoute>
-) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+) -> Self
sourcepub fn table_ref(&self) -> TableReference<'_>
sourcepub fn table_name(&self) -> TableName
sourcefn table_info(&self) -> &RawTableInfo
sourcefn table_id(&self) -> TableId
Trait Implementations§
source§impl Debug for TruncateTableData
source§impl<'de> Deserialize<'de> for TruncateTableData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for TruncateTableData
§impl Send for TruncateTableData
§impl Sync for TruncateTableData
§impl Unpin for TruncateTableData
§impl UnwindSafe for TruncateTableData
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/error/enum.Error.html b/common_meta/error/enum.Error.html
index 541ce4833b77..1a92776ff7a1 100644
--- a/common_meta/error/enum.Error.html
+++ b/common_meta/error/enum.Error.html
@@ -44,12 +44,12 @@
},
BuildTableMeta {
table_name: String,
- error: TableMetaBuilderError,
+ error: TableMetaBuilderError,
location: Location,
},
Table {
location: Location,
- source: Error,
+ source: Error,
},
TableRouteNotFound {
table_name: String,
@@ -145,7 +145,7 @@
location: Location,
},
MoveRegion {
- table_id: TableId,
+ table_id: TableId,
region: RegionNumber,
err_msg: String,
location: Location,
@@ -169,7 +169,7 @@
RetryLater {
source: BoxedError,
},
-
}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
+}Variants§
§NextSequence
§SequenceOutOfRange
§UnexpectedSequenceValue
§TableInfoNotFound
§RegisterProcedureLoader
§SubmitProcedure
§Unsupported
§WaitProcedure
§ConvertRawTableInfo
§PrimaryKeyNotFound
§BuildTableMeta
§Table
§TableRouteNotFound
§DecodeProto
§EncodeJson
§DecodeJson
§PayloadNotExist
Fields
§location: Location
§SendMessage
§SerdeJson
§ParseOption
§RouteInfoCorrupted
§IllegalServerState
§ConvertAlterTableRequest
§InvalidProtoMsg
§Unexpected
§TableAlreadyExists
§CatalogAlreadyExists
§SchemaAlreadyExists
§ConvertRawKey
§TableNotFound
§RenameTable
§InvalidTableMetadata
§GetKvCache
§CacheNotGet
§EtcdTxnOpResponse
§MoveRegion
§InvalidCatalogValue
§External
§InvalidHeartbeatResponse
Fields
§location: Location
§OperateDatanode
§RetryLater
Fields
§source: BoxedError
Implementations§
source§impl Error
sourcepub fn retry_later<E: ErrorExt + Send + Sync + 'static>(err: E) -> Error
Creates a new Error::RetryLater error from source err
.
sourcepub fn is_retry_later(&self) -> bool
Determine whether it is a retry later type through StatusCode
Trait Implementations§
source§impl Error for Errorwhere
Self: Debug + Display,
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§fn output_msg(&self) -> Stringwhere
Self: Sized,
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0> IntoError<Error> for CacheNotGetSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for CatalogAlreadyExistsSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -206,7 +206,7 @@
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0> IntoError<Error> for NextSequenceSnafu<__T0>where
Error: Error + ErrorCompat,
@@ -245,7 +245,7 @@
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for TableRouteNotFoundSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
+ Error: Error + ErrorCompat,
source§impl<__T0> IntoError<Error> for UnexpectedSequenceValueSnafu<__T0>where
Error: Error + ErrorCompat,
__T0: Into<String>,
source§impl<__T0> IntoError<Error> for UnexpectedSnafu<__T0>where
Error: Error + ErrorCompat,
diff --git a/common_meta/error/struct.BuildTableMetaSnafu.html b/common_meta/error/struct.BuildTableMetaSnafu.html
index 848719b5d875..de793f19e317 100644
--- a/common_meta/error/struct.BuildTableMetaSnafu.html
+++ b/common_meta/error/struct.BuildTableMetaSnafu.html
@@ -3,7 +3,7 @@
}Expand description
SNAFU context selector for the Error::BuildTableMeta
variant
Fields§
§table_name: __T0
Trait Implementations§
source§impl<__T0: Clone> Clone for BuildTableMetaSnafu<__T0>
source§fn clone(&self) -> BuildTableMetaSnafu<__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 BuildTableMetaSnafu<__T0>
source§impl<__T0> IntoError<Error> for BuildTableMetaSnafu<__T0>where
Error: Error + ErrorCompat,
- __T0: Into<String>,
§type Source = TableMetaBuilderError
The underlying errorsource§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
+ __T0: Into<String>,
source§fn into_error(self, error: Self::Source) -> Error
Combine the information to produce the errorsource§impl<__T0: Copy> Copy for BuildTableMetaSnafu<__T0>
Auto Trait Implementations§
§impl<__T0> RefUnwindSafe for BuildTableMetaSnafu<__T0>where
__T0: RefUnwindSafe,
§impl<__T0> Send for BuildTableMetaSnafu<__T0>where
__T0: Send,
§impl<__T0> Sync for BuildTableMetaSnafu<__T0>where
__T0: Sync,
§impl<__T0> Unpin for BuildTableMetaSnafu<__T0>where
diff --git a/common_meta/error/struct.MoveRegionSnafu.html b/common_meta/error/struct.MoveRegionSnafu.html
index 7225b5d448e7..33e45ac82117 100644
--- a/common_meta/error/struct.MoveRegionSnafu.html
+++ b/common_meta/error/struct.MoveRegionSnafu.html
@@ -4,16 +4,16 @@
pub err_msg: __T2,
}Expand description
SNAFU context selector for the Error::MoveRegion
variant
Fields§
§table_id: __T0
§region: __T1
§err_msg: __T2
Implementations§
Trait Implementations§
source§impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for MoveRegionSnafu<__T0, __T1, __T2>
source§fn clone(&self) -> MoveRegionSnafu<__T0, __T1, __T2>
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, __T1, __T2> IntoError<Error> for MoveRegionSnafu<__T0, __T1, __T2>where
Error: Error + ErrorCompat,
- __T0: Into<TableId>,
+ __T0: Into<TableId>,
__T1: Into<RegionNumber>,
__T2: Into<String>,
source§impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for MoveRegionSnafu<__T0, __T1, __T2>
Auto Trait Implementations§
§impl<__T0, __T1, __T2> RefUnwindSafe for MoveRegionSnafu<__T0, __T1, __T2>where
__T0: RefUnwindSafe,
diff --git a/common_meta/error/struct.TableSnafu.html b/common_meta/error/struct.TableSnafu.html
index d9c91350619f..a2c1ecb55273 100644
--- a/common_meta/error/struct.TableSnafu.html
+++ b/common_meta/error/struct.TableSnafu.html
@@ -1,6 +1,6 @@
TableSnafu in common_meta::error - Rust Struct common_meta::error::TableSnafu
source · pub struct TableSnafu;
Expand description
SNAFU context selector for the Error::Table
variant
Trait Implementations§
source§impl Clone for TableSnafu
source§fn clone(&self) -> TableSnafu
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 TableSnafu
source§impl Copy for TableSnafu
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
Blanket Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for TableSnafu
§impl Send for TableSnafu
§impl Sync for TableSnafu
§impl Unpin for TableSnafu
§impl UnwindSafe for TableSnafu
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/common_meta/instruction/enum.Instruction.html b/common_meta/instruction/enum.Instruction.html
index 7a20097062e3..f2b72df49f65 100644
--- a/common_meta/instruction/enum.Instruction.html
+++ b/common_meta/instruction/enum.Instruction.html
@@ -1,9 +1,9 @@
Instruction in common_meta::instruction - Rust Enum common_meta::instruction::Instruction
source · pub enum Instruction {
OpenRegion(OpenRegion),
CloseRegion(RegionIdent),
- InvalidateTableIdCache(TableId),
+ InvalidateTableIdCache(TableId),
InvalidateTableNameCache(TableName),
-}
Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Variants§
§OpenRegion(OpenRegion)
§CloseRegion(RegionIdent)
§InvalidateTableIdCache(TableId)
§InvalidateTableNameCache(TableName)
Trait Implementations§
source§impl Clone for Instruction
source§fn clone(&self) -> Instruction
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 Instruction
source§impl<'de> Deserialize<'de> for Instruction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for Instruction
Auto Trait Implementations§
§impl RefUnwindSafe for Instruction
§impl Send for Instruction
§impl Sync for Instruction
§impl Unpin for Instruction
§impl UnwindSafe for Instruction
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/common_meta/instruction/struct.RegionIdent.html b/common_meta/instruction/struct.RegionIdent.html
index 834642f1f56d..e1c0821020fb 100644
--- a/common_meta/instruction/struct.RegionIdent.html
+++ b/common_meta/instruction/struct.RegionIdent.html
@@ -1,10 +1,10 @@
RegionIdent in common_meta::instruction - Rust Struct common_meta::instruction::RegionIdent
source · pub struct RegionIdent {
pub cluster_id: ClusterId,
pub datanode_id: DatanodeId,
- pub table_id: TableId,
+ pub table_id: TableId,
pub region_number: RegionNumber,
pub engine: String,
-}
Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+}Fields§
§cluster_id: ClusterId
§datanode_id: DatanodeId
§table_id: TableId
§region_number: RegionNumber
§engine: String
Implementations§
source§impl RegionIdent
sourcepub fn get_region_id(&self) -> RegionId
Trait Implementations§
source§impl Clone for RegionIdent
source§fn clone(&self) -> RegionIdent
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 RegionIdent
source§impl<'de> Deserialize<'de> for RegionIdent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for RegionIdent
source§impl Hash for RegionIdent
source§impl PartialEq<RegionIdent> for RegionIdent
source§fn eq(&self, other: &RegionIdent) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableKey.html b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
index 831cc2a090bc..eb2071d8b654 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableKey.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableKey.html
@@ -1,7 +1,7 @@
DatanodeTableKey in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableKey
source · pub struct DatanodeTableKey {
datanode_id: DatanodeId,
- table_id: TableId,
-}
Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
Blanket Implementations§
source§impl<T> Any for Twhere
+ table_id: TableId,
+}Fields§
§datanode_id: DatanodeId
§table_id: TableId
Implementations§
source§impl DatanodeTableKey
sourcepub fn new(datanode_id: DatanodeId, table_id: TableId) -> Self
sourcefn prefix(datanode_id: DatanodeId) -> String
sourcepub fn range_start_key(datanode_id: DatanodeId) -> String
sourcepub fn strip_table_id(raw_key: &[u8]) -> Result<TableId>
Trait Implementations§
source§impl Display for DatanodeTableKey
source§impl TableMetaKey for DatanodeTableKey
Auto Trait Implementations§
§impl RefUnwindSafe for DatanodeTableKey
§impl Send for DatanodeTableKey
§impl Sync for DatanodeTableKey
§impl Unpin for DatanodeTableKey
§impl UnwindSafe for DatanodeTableKey
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/common_meta/key/datanode_table/struct.DatanodeTableManager.html b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
index b1e8ab3c4b74..020d5420db60 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableManager.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableManager.html
@@ -8,7 +8,7 @@
datanode_id: DatanodeId
) -> BoxStream<'static, Result<DatanodeTableValue>>
sourcepub fn build_create_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
engine: &str,
region_storage_path: &str,
region_options: HashMap<String, String>,
@@ -16,7 +16,7 @@
) -> Result<Txn>
Builds the create datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub(crate) fn build_update_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_region_distribution: RegionDistribution,
new_region_distribution: RegionDistribution,
@@ -24,7 +24,7 @@
) -> Result<Txn>
Builds the update datanode table transactions. It only executes while the primary keys comparing successes.
sourcepub fn build_delete_txn(
&self,
- table_id: TableId,
+ table_id: TableId,
distribution: RegionDistribution
) -> Result<Txn>
Builds the delete datanode table transactions. It only executes while the primary keys comparing successes.
Auto Trait Implementations§
§impl !RefUnwindSafe for DatanodeTableManager
§impl Send for DatanodeTableManager
§impl Sync for DatanodeTableManager
§impl Unpin for DatanodeTableManager
§impl !UnwindSafe for DatanodeTableManager
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/common_meta/key/datanode_table/struct.DatanodeTableValue.html b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
index a32244212294..82d59648fcfd 100644
--- a/common_meta/key/datanode_table/struct.DatanodeTableValue.html
+++ b/common_meta/key/datanode_table/struct.DatanodeTableValue.html
@@ -1,10 +1,10 @@
DatanodeTableValue in common_meta::key::datanode_table - Rust Struct common_meta::key::datanode_table::DatanodeTableValue
source · pub struct DatanodeTableValue {
- pub table_id: TableId,
+ pub table_id: TableId,
pub regions: Vec<RegionNumber>,
pub region_info: RegionInfo,
version: u64,
-}
Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
- table_id: TableId,
+}Fields§
§table_id: TableId
§regions: Vec<RegionNumber>
§region_info: RegionInfo
§version: u64
Implementations§
source§impl DatanodeTableValue
sourcepub fn new(
+ table_id: TableId,
regions: Vec<RegionNumber>,
region_info: RegionInfo
) -> Self
source§impl DatanodeTableValue
sourcepub fn try_from_raw_value(raw_value: &[u8]) -> Result<Self>
sourcepub fn try_as_raw_value(&self) -> Result<Vec<u8>>
Trait Implementations§
source§impl Clone for DatanodeTableValue
source§fn clone(&self) -> DatanodeTableValue
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 DatanodeTableValue
source§impl<'de> Deserialize<'de> for DatanodeTableValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
diff --git a/common_meta/key/struct.TableMetadataManager.html b/common_meta/key/struct.TableMetadataManager.html
index 6342e3e5e772..ca0e2101e96e 100644
--- a/common_meta/key/struct.TableMetadataManager.html
+++ b/common_meta/key/struct.TableMetadataManager.html
@@ -8,10 +8,10 @@
kv_backend: KvBackendRef,
}Fields§
§table_name_manager: TableNameManager
§table_info_manager: TableInfoManager
§datanode_table_manager: DatanodeTableManager
§catalog_manager: CatalogManager
§schema_manager: SchemaManager
§table_route_manager: TableRouteManager
§kv_backend: KvBackendRef
Implementations§
source§impl TableMetadataManager
sourcepub fn new(kv_backend: KvBackendRef) -> Self
sourcepub async fn init(&self) -> Result<()>
sourcepub fn table_name_manager(&self) -> &TableNameManager
sourcepub fn table_info_manager(&self) -> &TableInfoManager
sourcepub fn datanode_table_manager(&self) -> &DatanodeTableManager
sourcepub fn catalog_manager(&self) -> &CatalogManager
sourcepub fn schema_manager(&self) -> &SchemaManager
sourcepub fn table_route_manager(&self) -> &TableRouteManager
sourcepub fn kv_backend(&self) -> &KvBackendRef
sourcepub async fn get_full_table_info(
&self,
- table_id: TableId
+ table_id: TableId
) -> Result<(Option<DeserializedValueWithBytes<TableInfoValue>>, Option<DeserializedValueWithBytes<TableRouteValue>>)>
sourcepub async fn create_table_metadata(
&self,
- table_info: RawTableInfo,
+ table_info: RawTableInfo,
region_routes: Vec<RegionRoute>
) -> Result<()>
Creates metadata for table and returns an error if different metadata exists.
The caller MUST ensure it has the exclusive access to TableNameKey
.
@@ -31,11 +31,11 @@
sourcepub async fn update_table_info(
&self,
current_table_info_value: DeserializedValueWithBytes<TableInfoValue>,
- new_table_info: RawTableInfo
+ new_table_info: RawTableInfo
) -> Result<()>
Updates table info and returns an error if different metadata exists.
sourcepub async fn update_table_route(
&self,
- table_id: TableId,
+ table_id: TableId,
region_info: RegionInfo,
current_table_route_value: DeserializedValueWithBytes<TableRouteValue>,
new_region_routes: Vec<RegionRoute>,
diff --git a/common_meta/key/table_info/struct.TableInfoKey.html b/common_meta/key/table_info/struct.TableInfoKey.html
index a65b5c4c9471..f974bb124def 100644
--- a/common_meta/key/table_info/struct.TableInfoKey.html
+++ b/common_meta/key/table_info/struct.TableInfoKey.html
@@ -1,6 +1,6 @@
TableInfoKey in common_meta::key::table_info - Rust Struct common_meta::key::table_info::