pub struct HoltStore { /* private fields */ }Implementations§
Source§impl HoltStore
impl HoltStore
pub fn open(dir: impl AsRef<Path>) -> QuillSQLResult<Self>
pub fn db(&self) -> Arc<DB> ⓘ
pub fn table_tree_name(table_id: u64) -> String
pub fn index_tree_name(index_id: u64) -> String
pub fn canonical_table_name(table_ref: &TableReference) -> String
pub fn table_descriptor( &self, table_ref: &TableReference, ) -> QuillSQLResult<Option<u64>>
pub fn index_descriptor( &self, table_ref: &TableReference, index_name: &str, ) -> QuillSQLResult<Option<u64>>
pub fn create_table_descriptor( &self, table_ref: &TableReference, schema: &Schema, ) -> QuillSQLResult<u64>
pub fn create_index_descriptor( &self, table_ref: &TableReference, index_name: &str, key_schema: &Schema, ) -> QuillSQLResult<u64>
pub fn drop_table_descriptor( &self, table_ref: &TableReference, ) -> QuillSQLResult<()>
pub fn drop_index_descriptor( &self, table_ref: &TableReference, index_name: &str, ) -> QuillSQLResult<()>
pub fn allocate_rid(&self) -> QuillSQLResult<RecordId>
pub fn insert_system_row( &self, table_id: u64, tuple: &Tuple, ) -> QuillSQLResult<RecordId>
pub fn mark_system_row_deleted( &self, table_id: u64, schema: SchemaRef, rid: RecordId, ) -> QuillSQLResult<()>
pub fn reserve_rid(&self) -> QuillSQLResult<(RecordId, u64)>
pub fn put_txn_status( &self, txn_id: TransactionId, status: TransactionStatus, ) -> QuillSQLResult<()>
pub fn txn_status( &self, txn_id: TransactionId, ) -> QuillSQLResult<Option<TransactionStatus>>
pub fn recover_txn_statuses( &self, ) -> QuillSQLResult<Vec<(TransactionId, TransactionStatus)>>
pub fn table_descriptors(&self) -> QuillSQLResult<Vec<HoltTableDescriptor>>
pub fn index_descriptors(&self) -> QuillSQLResult<Vec<HoltIndexDescriptor>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HoltStore
impl !RefUnwindSafe for HoltStore
impl Send for HoltStore
impl Sync for HoltStore
impl Unpin for HoltStore
impl UnsafeUnpin for HoltStore
impl !UnwindSafe for HoltStore
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