Skip to main content

VectorIndexCatalog

Trait VectorIndexCatalog 

Source
pub trait VectorIndexCatalog {
    // Required methods
    fn resolve_table_name(&self, name: &str) -> Result<Option<String>, SQLError>;
    fn column_type(
        &self,
        table: &str,
        column: &str,
    ) -> Result<Option<ColumnType>, SQLError>;
    fn vector_index_names(
        &self,
        table: &str,
        column: &str,
    ) -> Result<Vec<String>, SQLError>;
}

Required Methods§

Source

fn resolve_table_name(&self, name: &str) -> Result<Option<String>, SQLError>

Source

fn column_type( &self, table: &str, column: &str, ) -> Result<Option<ColumnType>, SQLError>

Source

fn vector_index_names( &self, table: &str, column: &str, ) -> Result<Vec<String>, SQLError>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§