pub enum Query {
Show 15 variants
AllVertex,
RangeVertex(RangeVertexQuery),
SpecificVertex(SpecificVertexQuery),
VertexWithPropertyPresence(VertexWithPropertyPresenceQuery),
VertexWithPropertyValue(VertexWithPropertyValueQuery),
AllEdge,
SpecificEdge(SpecificEdgeQuery),
EdgeWithPropertyPresence(EdgeWithPropertyPresenceQuery),
EdgeWithPropertyValue(EdgeWithPropertyValueQuery),
Pipe(PipeQuery),
PipeProperty(PipePropertyQuery),
PipeWithPropertyPresence(PipeWithPropertyPresenceQuery),
PipeWithPropertyValue(PipeWithPropertyValueQuery),
Include(IncludeQuery),
Count(CountQuery),
}
Expand description
A query to get a set of values from the database.
Variants§
AllVertex
Gets all vertices.
RangeVertex(RangeVertexQuery)
Gets a range of vertices.
SpecificVertex(SpecificVertexQuery)
Gets a specific set of vertices.
VertexWithPropertyPresence(VertexWithPropertyPresenceQuery)
Gets vertices with or without a given property.
VertexWithPropertyValue(VertexWithPropertyValueQuery)
Gets vertices with a property equal to a given value.
AllEdge
Gets all edges.
SpecificEdge(SpecificEdgeQuery)
Gets a specific set of edges.
EdgeWithPropertyPresence(EdgeWithPropertyPresenceQuery)
Gets edges with or without a given property.
EdgeWithPropertyValue(EdgeWithPropertyValueQuery)
Gets edges with a property equal to a given value.
Pipe(PipeQuery)
Gets the vertices associated with edges, or edges associated with vertices.
PipeProperty(PipePropertyQuery)
Returns the properties associated with a vertex or edge.
PipeWithPropertyPresence(PipeWithPropertyPresenceQuery)
Gets vertices or edges with or without a property.
PipeWithPropertyValue(PipeWithPropertyValueQuery)
Gets vertices or edges with a property equal to a given value.
Include(IncludeQuery)
Includes the results of a query in output.
Count(CountQuery)
Counts the number of items returned from a query.
Trait Implementations§
Source§impl Into<Query> for AllEdgeQuery
impl Into<Query> for AllEdgeQuery
Source§impl Into<Query> for AllVertexQuery
impl Into<Query> for AllVertexQuery
Source§impl Into<Query> for CountQuery
impl Into<Query> for CountQuery
Source§impl Into<Query> for EdgeWithPropertyPresenceQuery
impl Into<Query> for EdgeWithPropertyPresenceQuery
Source§impl Into<Query> for EdgeWithPropertyValueQuery
impl Into<Query> for EdgeWithPropertyValueQuery
Source§impl Into<Query> for IncludeQuery
impl Into<Query> for IncludeQuery
Source§impl Into<Query> for PipePropertyQuery
impl Into<Query> for PipePropertyQuery
Source§impl Into<Query> for PipeWithPropertyPresenceQuery
impl Into<Query> for PipeWithPropertyPresenceQuery
Source§impl Into<Query> for PipeWithPropertyValueQuery
impl Into<Query> for PipeWithPropertyValueQuery
Source§impl Into<Query> for RangeVertexQuery
impl Into<Query> for RangeVertexQuery
Source§impl Into<Query> for SpecificEdgeQuery
impl Into<Query> for SpecificEdgeQuery
Source§impl Into<Query> for SpecificVertexQuery
impl Into<Query> for SpecificVertexQuery
Source§impl Into<Query> for VertexWithPropertyPresenceQuery
impl Into<Query> for VertexWithPropertyPresenceQuery
Source§impl Into<Query> for VertexWithPropertyValueQuery
impl Into<Query> for VertexWithPropertyValueQuery
impl Eq for Query
impl StructuralPartialEq for Query
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.