pub struct VectorXLite {
pub conn: Arc<Connection>,
pub query_planner: QueryPlanner,
pub query_executor: QueryExecutor,
}Fields§
§conn: Arc<Connection>§query_planner: QueryPlanner§query_executor: QueryExecutorImplementations§
Source§impl VectorXLite
impl VectorXLite
pub fn new(sqlite_connection: Connection) -> Result<VectorXLite>
Source§impl VectorXLite
impl VectorXLite
pub fn create_collection( &self, collection_config: CollectionConfig, ) -> Result<()>
pub fn insert(&self, create_point: InsertPoint) -> Result<()>
pub fn search( &self, search_point: SearchPoint, ) -> Result<Vec<HashMap<String, String>>>
Auto Trait Implementations§
impl Freeze for VectorXLite
impl !RefUnwindSafe for VectorXLite
impl !Send for VectorXLite
impl !Sync for VectorXLite
impl Unpin for VectorXLite
impl !UnwindSafe for VectorXLite
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
Mutably borrows from an owned value. Read more