Struct mentat_db::cache::InProgressSQLiteAttributeCache
[−]
[src]
We maintain a diff on top of the inner
-- existing -- cache.
That involves tracking unregisterings and registerings.
Fields
overlay: AttributeCaches
Methods
impl InProgressSQLiteAttributeCache
[src]
[−]
impl InProgressSQLiteAttributeCache
pub fn from_cache(inner: SQLiteAttributeCache) -> InProgressSQLiteAttributeCache
[src]
pub fn from_cache(inner: SQLiteAttributeCache) -> InProgressSQLiteAttributeCache
pub fn register_forward<U>(
&mut self,
schema: &Schema,
sqlite: &Connection,
attribute: U
) -> Result<()> where
U: Into<Entid>,
[src]
pub fn register_forward<U>(
&mut self,
schema: &Schema,
sqlite: &Connection,
attribute: U
) -> Result<()> where
U: Into<Entid>,
pub fn register_reverse<U>(
&mut self,
schema: &Schema,
sqlite: &Connection,
attribute: U
) -> Result<()> where
U: Into<Entid>,
[src]
pub fn register_reverse<U>(
&mut self,
schema: &Schema,
sqlite: &Connection,
attribute: U
) -> Result<()> where
U: Into<Entid>,
pub fn register<U>(
&mut self,
schema: &Schema,
sqlite: &Connection,
attribute: U
) -> Result<()> where
U: Into<Entid>,
[src]
pub fn register<U>(
&mut self,
schema: &Schema,
sqlite: &Connection,
attribute: U
) -> Result<()> where
U: Into<Entid>,
pub fn unregister<U>(&mut self, attribute: U) where
U: Into<Entid>,
[src]
pub fn unregister<U>(&mut self, attribute: U) where
U: Into<Entid>,
pub fn unregister_all(&mut self)
[src]
pub fn unregister_all(&mut self)
impl InProgressSQLiteAttributeCache
[src]
[−]
impl InProgressSQLiteAttributeCache
pub fn values_pairs<U>(
&self,
schema: &Schema,
attribute: U
) -> Option<&BTreeMap<Entid, Vec<TypedValue>>> where
U: Into<Entid>,
[src]
[−]
pub fn values_pairs<U>(
&self,
schema: &Schema,
attribute: U
) -> Option<&BTreeMap<Entid, Vec<TypedValue>>> where
U: Into<Entid>,
Intended for use from tests.
pub fn value_pairs<U>(
&self,
schema: &Schema,
attribute: U
) -> Option<&BTreeMap<Entid, Option<TypedValue>>> where
U: Into<Entid>,
[src]
[−]
pub fn value_pairs<U>(
&self,
schema: &Schema,
attribute: U
) -> Option<&BTreeMap<Entid, Option<TypedValue>>> where
U: Into<Entid>,
Intended for use from tests.
pub fn commit_to(self, destination: &mut SQLiteAttributeCache)
[src]
pub fn commit_to(self, destination: &mut SQLiteAttributeCache)
impl InProgressSQLiteAttributeCache
[src]
[−]
impl InProgressSQLiteAttributeCache
pub fn transact_watcher<'a>(&'a mut self) -> InProgressCacheTransactWatcher<'a>
[src]
pub fn transact_watcher<'a>(&'a mut self) -> InProgressCacheTransactWatcher<'a>
Trait Implementations
impl Debug for InProgressSQLiteAttributeCache
[src]
[+]
impl Debug for InProgressSQLiteAttributeCache
impl Default for InProgressSQLiteAttributeCache
[src]
[+]
impl Default for InProgressSQLiteAttributeCache
impl UpdateableCache<DbError> for InProgressSQLiteAttributeCache
[src]
[+]
impl UpdateableCache<DbError> for InProgressSQLiteAttributeCache
impl CachedAttributes for InProgressSQLiteAttributeCache
[src]
[+]
impl CachedAttributes for InProgressSQLiteAttributeCache
Auto Trait Implementations
impl Send for InProgressSQLiteAttributeCache
impl Send for InProgressSQLiteAttributeCache
impl Sync for InProgressSQLiteAttributeCache
impl Sync for InProgressSQLiteAttributeCache