Struct terminus_store::store::sync::SyncStoreLayer [−][src]
A layer that keeps track of the store it came out of, allowing the creation of a layer builder on top of this layer
Implementations
impl SyncStoreLayer
[src]
pub fn open_write(&self) -> Result<SyncStoreLayerBuilder, Error>
[src]
Create a layer builder based on this layer
pub fn parent(&self) -> Result<Option<SyncStoreLayer>, Error>
[src]
pub fn squash(&self) -> Result<SyncStoreLayer, Error>
[src]
pub fn rollup(&self) -> Result<(), Error>
[src]
pub fn rollup_upto(&self, upto: &SyncStoreLayer) -> Result<(), Error>
[src]
pub fn triple_addition_exists(
&self,
subject: u64,
predicate: u64,
object: u64
) -> Result<bool>
[src]
&self,
subject: u64,
predicate: u64,
object: u64
) -> Result<bool>
pub fn triple_removal_exists(
&self,
subject: u64,
predicate: u64,
object: u64
) -> Result<bool>
[src]
&self,
subject: u64,
predicate: u64,
object: u64
) -> Result<bool>
pub fn triple_additions(
&self
) -> Result<Box<dyn Iterator<Item = IdTriple> + Send>>
[src]
&self
) -> Result<Box<dyn Iterator<Item = IdTriple> + Send>>
pub fn triple_removals(
&self
) -> Result<Box<dyn Iterator<Item = IdTriple> + Send>>
[src]
&self
) -> Result<Box<dyn Iterator<Item = IdTriple> + Send>>
pub fn triple_additions_s(
&self,
subject: u64
) -> Result<Box<dyn Iterator<Item = IdTriple> + Send>>
[src]
&self,
subject: u64
) -> Result<Box<dyn Iterator<Item = IdTriple> + Send>>
pub fn triple_removals_s(
&self,
subject: u64
) -> Result<Box<dyn Iterator<Item = IdTriple> + Send>>
[src]
&self,
subject: u64
) -> Result<Box<dyn Iterator<Item = IdTriple> + Send>>
pub fn triple_additions_sp(
&self,
subject: u64,
predicate: u64
) -> Result<Box<dyn Iterator<Item = IdTriple> + Send>>
[src]
&self,
subject: u64,
predicate: u64
) -> Result<Box<dyn Iterator<Item = IdTriple> + Send>>
pub fn triple_removals_sp(
&self,
subject: u64,
predicate: u64
) -> Result<Box<dyn Iterator<Item = IdTriple> + Send>>
[src]
&self,
subject: u64,
predicate: u64
) -> Result<Box<dyn Iterator<Item = IdTriple> + Send>>
pub fn triple_additions_p(
&self,
predicate: u64
) -> Result<Box<dyn Iterator<Item = IdTriple> + Send>>
[src]
&self,
predicate: u64
) -> Result<Box<dyn Iterator<Item = IdTriple> + Send>>
pub fn triple_removals_p(
&self,
predicate: u64
) -> Result<Box<dyn Iterator<Item = IdTriple> + Send>>
[src]
&self,
predicate: u64
) -> Result<Box<dyn Iterator<Item = IdTriple> + Send>>
pub fn triple_additions_o(
&self,
object: u64
) -> Result<Box<dyn Iterator<Item = IdTriple> + Send>>
[src]
&self,
object: u64
) -> Result<Box<dyn Iterator<Item = IdTriple> + Send>>
pub fn triple_removals_o(
&self,
object: u64
) -> Result<Box<dyn Iterator<Item = IdTriple> + Send>>
[src]
&self,
object: u64
) -> Result<Box<dyn Iterator<Item = IdTriple> + Send>>
pub fn triple_layer_addition_count(&self) -> Result<usize>
[src]
pub fn triple_layer_removal_count(&self) -> Result<usize>
[src]
pub fn retrieve_layer_stack_names(&self) -> Result<Vec<[u32; 5]>>
[src]
Trait Implementations
impl Clone for SyncStoreLayer
[src]
fn clone(&self) -> SyncStoreLayer
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Layer for SyncStoreLayer
[src]
fn name(&self) -> [u32; 5]
[src]
fn parent_name(&self) -> Option<[u32; 5]>
[src]
fn node_and_value_count(&self) -> usize
[src]
fn predicate_count(&self) -> usize
[src]
fn subject_id(&self, subject: &str) -> Option<u64>
[src]
fn predicate_id(&self, predicate: &str) -> Option<u64>
[src]
fn object_node_id(&self, object: &str) -> Option<u64>
[src]
fn object_value_id(&self, object: &str) -> Option<u64>
[src]
fn id_subject(&self, id: u64) -> Option<String>
[src]
fn id_predicate(&self, id: u64) -> Option<String>
[src]
fn id_object(&self, id: u64) -> Option<ObjectType>
[src]
fn triple_exists(&self, subject: u64, predicate: u64, object: u64) -> bool
[src]
fn triples(&self) -> Box<dyn Iterator<Item = IdTriple> + Send>
[src]
fn triples_s(&self, subject: u64) -> Box<dyn Iterator<Item = IdTriple> + Send>
[src]
fn triples_sp(
&self,
subject: u64,
predicate: u64
) -> Box<dyn Iterator<Item = IdTriple> + Send>
[src]
&self,
subject: u64,
predicate: u64
) -> Box<dyn Iterator<Item = IdTriple> + Send>
fn triples_p(&self, predicate: u64) -> Box<dyn Iterator<Item = IdTriple> + Send>
[src]
fn triples_o(&self, object: u64) -> Box<dyn Iterator<Item = IdTriple> + Send>
[src]
fn clone_boxed(&self) -> Box<dyn Layer>
[src]
fn triple_addition_count(&self) -> usize
[src]
fn triple_removal_count(&self) -> usize
[src]
fn all_counts(&self) -> LayerCounts
[src]
fn id_triple_exists(&self, triple: IdTriple) -> bool
[src]
fn string_triple_exists(&self, triple: &StringTriple) -> bool
[src]
fn string_triple_to_id(&self, triple: &StringTriple) -> Option<IdTriple>
[src]
fn string_triple_to_partially_resolved(
&self,
triple: StringTriple
) -> PartiallyResolvedTriple
[src]
&self,
triple: StringTriple
) -> PartiallyResolvedTriple
fn id_triple_to_string(&self, triple: &IdTriple) -> Option<StringTriple>
[src]
fn triple_count(&self) -> usize
[src]
Auto Trait Implementations
impl !RefUnwindSafe for SyncStoreLayer
[src]
impl Send for SyncStoreLayer
[src]
impl Sync for SyncStoreLayer
[src]
impl Unpin for SyncStoreLayer
[src]
impl !UnwindSafe for SyncStoreLayer
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,