Enum indradb_proto::query::Query
source · pub enum Query {
Show 15 variants
AllVertex(()),
RangeVertex(RangeVertexQuery),
SpecificVertex(SpecificVertexQuery),
VertexWithPropertyPresence(VertexWithPropertyPresenceQuery),
VertexWithPropertyValue(VertexWithPropertyValueQuery),
AllEdge(()),
SpecificEdge(SpecificEdgeQuery),
EdgeWithPropertyPresence(EdgeWithPropertyPresenceQuery),
EdgeWithPropertyValue(EdgeWithPropertyValueQuery),
Pipe(Box<PipeQuery>),
PipeProperty(Box<PipePropertyQuery>),
PipeWithPropertyPresence(Box<PipeWithPropertyPresenceQuery>),
PipeWithPropertyValue(Box<PipeWithPropertyValueQuery>),
Include(Box<IncludeQuery>),
Count(Box<CountQuery>),
}
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(Box<PipeQuery>)
Gets the vertices associated with edges, or edges associated with vertices.
PipeProperty(Box<PipePropertyQuery>)
Returns the properties associated with a vertex or edge.
PipeWithPropertyPresence(Box<PipeWithPropertyPresenceQuery>)
Gets vertices or edges with or without a property.
PipeWithPropertyValue(Box<PipeWithPropertyValueQuery>)
Gets vertices or edges with a property equal to a given value.
Include(Box<IncludeQuery>)
Includes the results of a query in output.
Count(Box<CountQuery>)
Counts the number of items returned from a query.
Implementations§
source§impl Query
impl Query
sourcepub fn merge<B>(
field: &mut Option<Query>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>( field: &mut Option<Query>, tag: u32, wire_type: WireType, buf: &mut B, ctx: DecodeContext ) -> Result<(), DecodeError>where B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl PartialEq<Query> for Query
impl PartialEq<Query> for Query
impl StructuralPartialEq for Query
Auto Trait Implementations§
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request