Struct terminus_store::store::StoreLayer[][src]

pub struct StoreLayer { /* fields omitted */ }

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 async fn open_write(&self) -> Result<StoreLayerBuilder>[src]

Create a layer builder based on this layer

pub async fn parent(&self) -> Result<Option<StoreLayer>>[src]

pub async fn squash(&self) -> Result<StoreLayer>[src]

pub async fn rollup(&self) -> Result<()>[src]

pub async fn rollup_upto(&self, upto: &StoreLayer) -> Result<()>[src]

pub fn triple_addition_exists(
    &self,
    subject: u64,
    predicate: u64,
    object: u64
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send>>
[src]

pub fn triple_removal_exists(
    &self,
    subject: u64,
    predicate: u64,
    object: u64
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send>>
[src]

pub fn triple_additions(
    &self
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Iterator<Item = IdTriple> + Send>>> + Send>>
[src]

pub fn triple_removals(
    &self
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Iterator<Item = IdTriple> + Send>>> + Send>>
[src]

pub fn triple_additions_s(
    &self,
    subject: u64
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Iterator<Item = IdTriple> + Send>>> + Send>>
[src]

pub fn triple_removals_s(
    &self,
    subject: u64
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Iterator<Item = IdTriple> + Send>>> + Send>>
[src]

pub fn triple_additions_sp(
    &self,
    subject: u64,
    predicate: u64
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Iterator<Item = IdTriple> + Send>>> + Send>>
[src]

pub fn triple_removals_sp(
    &self,
    subject: u64,
    predicate: u64
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Iterator<Item = IdTriple> + Send>>> + Send>>
[src]

pub fn triple_additions_p(
    &self,
    predicate: u64
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Iterator<Item = IdTriple> + Send>>> + Send>>
[src]

pub fn triple_removals_p(
    &self,
    predicate: u64
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Iterator<Item = IdTriple> + Send>>> + Send>>
[src]

pub fn triple_additions_o(
    &self,
    object: u64
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Iterator<Item = IdTriple> + Send>>> + Send>>
[src]

pub fn triple_removals_o(
    &self,
    object: u64
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Iterator<Item = IdTriple> + Send>>> + Send>>
[src]

pub fn triple_layer_addition_count(
    &self
) -> Pin<Box<dyn Future<Output = Result<usize>> + Send>>
[src]

Returns the amount of triples that this layer adds.

pub fn triple_layer_removal_count(
    &self
) -> Pin<Box<dyn Future<Output = Result<usize>> + Send>>
[src]

Returns the amount of triples that this layer removes.

pub fn retrieve_layer_stack_names(
    &self
) -> Pin<Box<dyn Future<Output = Result<Vec<[u32; 5]>>> + Send>>
[src]

Trait Implementations

impl Clone for StoreLayer[src]

impl Layer for StoreLayer[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,