[−][src]Struct terminus_store::store::StoreLayer
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 StoreLayer
[src]
pub fn open_write(
&self
) -> impl Future<Item = StoreLayerBuilder, Error = Error> + Send
[src]
&self
) -> impl Future<Item = StoreLayerBuilder, Error = Error> + Send
Create a layer builder based on this layer
pub fn parent(
&self
) -> Box<dyn Future<Item = Option<StoreLayer>, Error = Error> + Send>
[src]
&self
) -> Box<dyn Future<Item = Option<StoreLayer>, Error = Error> + Send>
pub fn squash(&self) -> impl Future<Item = StoreLayer, Error = Error> + Send
[src]
Trait Implementations
impl Clone for StoreLayer
[src]
fn clone(&self) -> StoreLayer
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Layer for StoreLayer
[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 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 objects(&self) -> Box<dyn Iterator<Item = Box<dyn ObjectLookup>>>
[src]
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(&self, object: u64) -> Option<Box<dyn ObjectLookup>>
[src]
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 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_removals(
&self
) -> Box<dyn Iterator<Item = Box<dyn LayerPredicateLookup>>>
[src]
&self
) -> Box<dyn Iterator<Item = Box<dyn LayerPredicateLookup>>>
fn lookup_predicate(&self, predicate: u64) -> Option<Box<dyn PredicateLookup>>
[src]
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 triple_exists(&self, subject: u64, predicate: u64, object: u64) -> bool
[src]
fn triple_addition_exists(
&self,
subject: u64,
predicate: u64,
object: u64
) -> bool
[src]
&self,
subject: u64,
predicate: u64,
object: u64
) -> bool
fn triple_removal_exists(
&self,
subject: u64,
predicate: u64,
object: u64
) -> bool
[src]
&self,
subject: u64,
predicate: u64,
object: u64
) -> bool
fn triples(&self) -> Box<dyn Iterator<Item = IdTriple>>
[src]
fn triple_additions(&self) -> Box<dyn Iterator<Item = IdTriple>>
[src]
fn triple_removals(&self) -> Box<dyn Iterator<Item = IdTriple>>
[src]
fn triples_s(&self, subject: u64) -> Box<dyn Iterator<Item = IdTriple>>
[src]
fn triple_additions_s(&self, subject: u64) -> Box<dyn Iterator<Item = IdTriple>>
[src]
fn triple_removals_s(&self, subject: u64) -> Box<dyn Iterator<Item = IdTriple>>
[src]
fn triples_sp(
&self,
subject: u64,
predicate: u64
) -> Box<dyn Iterator<Item = IdTriple>>
[src]
&self,
subject: u64,
predicate: u64
) -> Box<dyn Iterator<Item = IdTriple>>
fn triple_additions_sp(
&self,
subject: u64,
predicate: u64
) -> Box<dyn Iterator<Item = IdTriple>>
[src]
&self,
subject: u64,
predicate: u64
) -> Box<dyn Iterator<Item = IdTriple>>
fn triple_removals_sp(
&self,
subject: u64,
predicate: u64
) -> Box<dyn Iterator<Item = IdTriple>>
[src]
&self,
subject: u64,
predicate: u64
) -> Box<dyn Iterator<Item = IdTriple>>
fn triples_p(&self, predicate: u64) -> Box<dyn Iterator<Item = IdTriple>>
[src]
fn triple_additions_p(
&self,
predicate: u64
) -> Box<dyn Iterator<Item = IdTriple>>
[src]
&self,
predicate: u64
) -> Box<dyn Iterator<Item = IdTriple>>
fn triple_removals_p(
&self,
predicate: u64
) -> Box<dyn Iterator<Item = IdTriple>>
[src]
&self,
predicate: u64
) -> Box<dyn Iterator<Item = IdTriple>>
fn triples_o(&self, object: u64) -> Box<dyn Iterator<Item = IdTriple>>
[src]
fn triple_additions_o(&self, object: u64) -> Box<dyn Iterator<Item = IdTriple>>
[src]
fn triple_removals_o(&self, object: u64) -> Box<dyn Iterator<Item = IdTriple>>
[src]
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 triple_addition_count(&self) -> usize
[src]
fn triple_removal_count(&self) -> usize
[src]
fn all_counts(&self) -> LayerCounts
[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 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_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_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 predicate_additions_generic(
&self
) -> Box<dyn Iterator<Item = Box<dyn PredicateLookup>>>
[src]
&self
) -> Box<dyn Iterator<Item = Box<dyn PredicateLookup>>>
fn predicate_removals_generic(
&self
) -> Box<dyn Iterator<Item = Box<dyn PredicateLookup>>>
[src]
&self
) -> Box<dyn Iterator<Item = Box<dyn PredicateLookup>>>
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 StoreLayer
impl Send for StoreLayer
impl Sync for StoreLayer
impl Unpin for StoreLayer
impl !UnwindSafe for StoreLayer
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>,