[−][src]Enum indradb_proto::transaction_request::Request
Variants
CreateVertex(Vertex)
Creates a new vertex. Returns whether the vertex was successfully created - if this is false, it's because a vertex with the same UUID already exists.
CreateVertexFromType(Type)
Creates a new vertex with just a type specification. As opposed to
CreateVertex
, this is used when you do not want to manually specify
the vertex's UUID. Returns the new vertex's UUID.
GetVertices(VertexQuery)
Gets a range of vertices specified by a query.
DeleteVertices(VertexQuery)
Deletes existing vertices specified by a query.
GetVertexCount(())
Gets the number of vertices in the datastore.
CreateEdge(EdgeKey)
Creates a new edge. If the edge already exists, this will update it with a new update datetime. Returns whether the edge was successfully created - if this is false, it's because one of the specified vertices is missing.
GetEdges(EdgeQuery)
Gets a range of edges specified by a query.
DeleteEdges(EdgeQuery)
Deletes a set of edges specified by a query.
GetEdgeCount(GetEdgeCountRequest)
Gets the number of edges associated with a vertex.
GetVertexProperties(VertexPropertyQuery)
Gets vertex properties.
SetVertexProperties(SetVertexPropertiesRequest)
Sets vertex properties.
DeleteVertexProperties(VertexPropertyQuery)
Deletes vertex properties.
GetEdgeProperties(EdgePropertyQuery)
Gets edge properties.
SetEdgeProperties(SetEdgePropertiesRequest)
Sets edge properties.
DeleteEdgeProperties(EdgePropertyQuery)
Deletes edge properties.
GetAllVertexProperties(VertexQuery)
Gets vertexes and all properties for each vertex.
GetAllEdgeProperties(EdgeQuery)
Gets edges and all properties for each edge.
Implementations
impl Request
[src]
pub fn encode<B>(&self, buf: &mut B) where
B: BufMut,
[src]
B: BufMut,
pub fn merge<B>(
field: &mut Option<Request>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
[src]
field: &mut Option<Request>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
pub fn encoded_len(&self) -> usize
[src]
Trait Implementations
impl Clone for Request
[src]
impl Debug for Request
[src]
impl PartialEq<Request> for Request
[src]
impl StructuralPartialEq for Request
[src]
Auto Trait Implementations
impl RefUnwindSafe for Request
[src]
impl Send for Request
[src]
impl Sync for Request
[src]
impl Unpin for Request
[src]
impl UnwindSafe for Request
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
pub fn into_request(self) -> Request<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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.
pub 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>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,