[][src]Struct reasonable::manager::Manager

pub struct Manager { /* fields omitted */ }

Implementations

impl Manager[src]

pub fn new() -> Self[src]

pub fn size(&self) -> usize[src]

pub fn store(&self) -> MemoryStore[src]

pub fn load_triples(
    &mut self,
    triples: Vec<(String, String, String)>
) -> Result<()>
[src]

pub fn load_file(&mut self, filename: &str) -> Result<()>[src]

pub fn add_triples(&mut self, triples: Vec<(Node, Node, Node)>)[src]

Adds the provided triples to the reasoner and re-executes the reasoner

pub fn add_view(&mut self, name: String, query: &str) -> Result<ViewRef<'_>>[src]

Adds a view with the given name, defined by the provided SPARQL query

pub fn add_view2(&self, name: String, query: &str) -> Result<ViewMetadata>[src]

pub fn get_view(&self, view: &ViewRef<'_>) -> Result<Vec<Vec<Term>>>[src]

Auto Trait Implementations

impl !RefUnwindSafe for Manager

impl !Send for Manager

impl !Sync for Manager

impl Unpin for Manager

impl !UnwindSafe for Manager

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> Same<T> for T

type Output = T

Should always be Self

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>,