[−][src]Struct terminus_store::store::sync::SyncStoreLayer
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) -> Option<SyncStoreLayer>
[src]
pub fn squash(&self) -> Result<SyncStoreLayer, Error>
[src]
Trait Implementations
impl Clone for SyncStoreLayer
[src]
fn clone(&self) -> SyncStoreLayer
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Layer for SyncStoreLayer
[src]
fn name(&self) -> [u32; 5]
[src]
fn names(&self) -> Vec<[u32; 5]>
[src]
fn parent(&self) -> Option<&dyn Layer>
[src]
fn node_dict_id(&self, subject: &str) -> Option<u64>
[src]
fn value_dict_id(&self, value: &str) -> Option<u64>
[src]
fn node_dict_len(&self) -> usize
[src]
fn value_dict_len(&self) -> usize
[src]
fn value_dict_get(&self, id: usize) -> Option<String>
[src]
fn node_dict_get(&self, id: usize) -> Option<String>
[src]
fn node_and_value_count(&self) -> usize
[src]
fn predicate_dict_id(&self, predicate: &str) -> Option<u64>
[src]
fn predicate_dict_get(&self, id: usize) -> Option<String>
[src]
fn predicate_dict_len(&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 subjects(&self) -> Box<dyn Iterator<Item = Box<dyn SubjectLookup>>>
[src]
fn subject_additions(
&self
) -> Box<dyn Iterator<Item = Box<dyn LayerSubjectLookup>>>
[src]
&self
) -> Box<dyn Iterator<Item = Box<dyn LayerSubjectLookup>>>
fn subject_removals(
&self
) -> Box<dyn Iterator<Item = Box<dyn LayerSubjectLookup>>>
[src]
&self
) -> Box<dyn Iterator<Item = Box<dyn LayerSubjectLookup>>>
fn lookup_subject(&self, subject: u64) -> Option<Box<dyn SubjectLookup>>
[src]
fn lookup_subject_addition(
&self,
subject: u64
) -> Option<Box<dyn LayerSubjectLookup>>
[src]
&self,
subject: u64
) -> Option<Box<dyn LayerSubjectLookup>>
fn lookup_subject_removal(
&self,
subject: u64
) -> Option<Box<dyn LayerSubjectLookup>>
[src]
&self,
subject: u64
) -> Option<Box<dyn LayerSubjectLookup>>
fn object_additions(
&self
) -> Box<dyn Iterator<Item = Box<dyn LayerObjectLookup>>>
[src]
&self
) -> Box<dyn Iterator<Item = Box<dyn LayerObjectLookup>>>
fn object_removals(
&self
) -> Box<dyn Iterator<Item = Box<dyn LayerObjectLookup>>>
[src]
&self
) -> Box<dyn Iterator<Item = Box<dyn LayerObjectLookup>>>
fn lookup_object_addition(
&self,
object: u64
) -> Option<Box<dyn LayerObjectLookup>>
[src]
&self,
object: u64
) -> Option<Box<dyn LayerObjectLookup>>
fn lookup_object_removal(
&self,
object: u64
) -> Option<Box<dyn LayerObjectLookup>>
[src]
&self,
object: u64
) -> Option<Box<dyn LayerObjectLookup>>
fn lookup_predicate_addition(
&self,
predicate: u64
) -> Option<Box<dyn LayerPredicateLookup>>
[src]
&self,
predicate: u64
) -> Option<Box<dyn LayerPredicateLookup>>
fn lookup_predicate_removal(
&self,
predicate: u64
) -> Option<Box<dyn LayerPredicateLookup>>
[src]
&self,
predicate: u64
) -> Option<Box<dyn LayerPredicateLookup>>
fn clone_boxed(&self) -> Box<dyn Layer>
[src]
fn triple_layer_addition_count(&self) -> usize
[src]
fn triple_layer_removal_count(&self) -> usize
[src]
fn subject_additions_generic(
&self
) -> Box<dyn Iterator<Item = Box<dyn SubjectLookup>>>
[src]
&self
) -> Box<dyn Iterator<Item = Box<dyn SubjectLookup>>>
fn subject_removals_generic(
&self
) -> Box<dyn Iterator<Item = Box<dyn SubjectLookup>>>
[src]
&self
) -> Box<dyn Iterator<Item = Box<dyn SubjectLookup>>>
fn lookup_subject_addition_generic(
&self,
subject: u64
) -> Option<Box<dyn SubjectLookup>>
[src]
&self,
subject: u64
) -> Option<Box<dyn SubjectLookup>>
fn lookup_subject_removal_generic(
&self,
subject: u64
) -> Option<Box<dyn SubjectLookup>>
[src]
&self,
subject: u64
) -> Option<Box<dyn SubjectLookup>>
fn objects(&self) -> Box<dyn Iterator<Item = Box<dyn ObjectLookup>>>
[src]
fn object_additions_generic(
&self
) -> Box<dyn Iterator<Item = Box<dyn ObjectLookup>>>
[src]
&self
) -> Box<dyn Iterator<Item = Box<dyn ObjectLookup>>>
fn object_removals_generic(
&self
) -> Box<dyn Iterator<Item = Box<dyn ObjectLookup>>>
[src]
&self
) -> Box<dyn Iterator<Item = Box<dyn ObjectLookup>>>
fn lookup_object(&self, object: u64) -> Option<Box<dyn ObjectLookup>>
[src]
fn lookup_object_addition_generic(
&self,
object: u64
) -> Option<Box<dyn ObjectLookup>>
[src]
&self,
object: u64
) -> Option<Box<dyn ObjectLookup>>
fn lookup_object_removal_generic(
&self,
object: u64
) -> Option<Box<dyn ObjectLookup>>
[src]
&self,
object: u64
) -> Option<Box<dyn ObjectLookup>>
fn lookup_predicate(&self, predicate: u64) -> Option<Box<dyn PredicateLookup>>
[src]
fn lookup_predicate_addition_generic(
&self,
predicate: u64
) -> Option<Box<dyn PredicateLookup>>
[src]
&self,
predicate: u64
) -> Option<Box<dyn PredicateLookup>>
fn lookup_predicate_removal_generic(
&self,
predicate: u64
) -> Option<Box<dyn PredicateLookup>>
[src]
&self,
predicate: u64
) -> Option<Box<dyn PredicateLookup>>
fn all_counts(&self) -> LayerCounts
[src]
fn predicates(&self) -> Box<dyn Iterator<Item = Box<dyn PredicateLookup>>>
[src]
fn predicate_additions(
&self
) -> Box<dyn Iterator<Item = Box<dyn LayerPredicateLookup>>>
[src]
&self
) -> Box<dyn Iterator<Item = Box<dyn LayerPredicateLookup>>>
fn predicate_additions_generic(
&self
) -> Box<dyn Iterator<Item = Box<dyn PredicateLookup>>>
[src]
&self
) -> Box<dyn Iterator<Item = Box<dyn PredicateLookup>>>
fn predicate_removals(
&self
) -> Box<dyn Iterator<Item = Box<dyn LayerPredicateLookup>>>
[src]
&self
) -> Box<dyn Iterator<Item = Box<dyn LayerPredicateLookup>>>
fn predicate_removals_generic(
&self
) -> Box<dyn Iterator<Item = Box<dyn PredicateLookup>>>
[src]
&self
) -> Box<dyn Iterator<Item = Box<dyn PredicateLookup>>>
fn triple_exists(&self, subject: u64, predicate: u64, object: u64) -> bool
[src]
fn id_triple_exists(&self, triple: IdTriple) -> bool
[src]
fn string_triple_exists(&self, triple: &StringTriple) -> bool
[src]
fn triples(&self) -> Box<dyn Iterator<Item = IdTriple>>
[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 is_ancestor_of(&self, other: &dyn Layer) -> bool
[src]
fn triple_addition_count(&self) -> usize
[src]
fn triple_removal_count(&self) -> usize
[src]
fn triple_count(&self) -> usize
[src]
Auto Trait Implementations
impl !RefUnwindSafe for SyncStoreLayer
impl Send for SyncStoreLayer
impl Sync for SyncStoreLayer
impl Unpin for SyncStoreLayer
impl !UnwindSafe for SyncStoreLayer
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,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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.
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>,