[−][src]Struct indradb::MemoryTransaction
A transaction for manipulating in-memory-only datastores.
Trait Implementations
impl Transaction for MemoryTransaction
[src]
fn create_vertex(&self, vertex: &Vertex) -> Result<bool>
[src]
fn get_vertices<Q: Into<VertexQuery>>(&self, q: Q) -> Result<Vec<Vertex>>
[src]
fn delete_vertices<Q: Into<VertexQuery>>(&self, q: Q) -> Result<()>
[src]
fn get_vertex_count(&self) -> Result<u64>
[src]
fn create_edge(&self, key: &EdgeKey) -> Result<bool>
[src]
fn get_edges<Q: Into<EdgeQuery>>(&self, q: Q) -> Result<Vec<Edge>>
[src]
fn delete_edges<Q: Into<EdgeQuery>>(&self, q: Q) -> Result<()>
[src]
fn get_edge_count(
&self,
id: Uuid,
t: Option<&Type>,
direction: EdgeDirection
) -> Result<u64>
[src]
&self,
id: Uuid,
t: Option<&Type>,
direction: EdgeDirection
) -> Result<u64>
fn get_vertex_properties(
&self,
q: VertexPropertyQuery
) -> Result<Vec<VertexProperty>>
[src]
&self,
q: VertexPropertyQuery
) -> Result<Vec<VertexProperty>>
fn get_all_vertex_properties<Q: Into<VertexQuery>>(
&self,
q: Q
) -> Result<Vec<VertexProperties>>
[src]
&self,
q: Q
) -> Result<Vec<VertexProperties>>
fn set_vertex_properties(
&self,
q: VertexPropertyQuery,
value: &JsonValue
) -> Result<()>
[src]
&self,
q: VertexPropertyQuery,
value: &JsonValue
) -> Result<()>
fn delete_vertex_properties(&self, q: VertexPropertyQuery) -> Result<()>
[src]
fn get_edge_properties(&self, q: EdgePropertyQuery) -> Result<Vec<EdgeProperty>>
[src]
fn get_all_edge_properties<Q: Into<EdgeQuery>>(
&self,
q: Q
) -> Result<Vec<EdgeProperties>>
[src]
&self,
q: Q
) -> Result<Vec<EdgeProperties>>
fn set_edge_properties(
&self,
q: EdgePropertyQuery,
value: &JsonValue
) -> Result<()>
[src]
&self,
q: EdgePropertyQuery,
value: &JsonValue
) -> Result<()>
fn delete_edge_properties(&self, q: EdgePropertyQuery) -> Result<()>
[src]
fn create_vertex_from_type(&self, t: Type) -> Result<Uuid>
[src]
Creates a new vertex with just a type specification. As opposed to create_vertex
, this is used when you do not want to manually specify the vertex's UUID. Returns the new vertex's UUID. Read more
impl Debug for MemoryTransaction
[src]
Auto Trait Implementations
impl Unpin for MemoryTransaction
impl Sync for MemoryTransaction
impl Send for MemoryTransaction
impl UnwindSafe for MemoryTransaction
impl RefUnwindSafe for MemoryTransaction
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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<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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,