pub struct VertexAggregation<'a> {
pub source: GraphPostingList,
pub property_name: String,
pub agg_fn: AggFn,
pub graph: &'a str,
}Expand description
Aggregate a numeric property over the vertex set rolled up in a
source operator’s GraphPayloads. Mirrors Definition 2.2.3.
Fields§
§source: GraphPostingList§property_name: String§agg_fn: AggFn§graph: &'a strImplementations§
Source§impl<'a> VertexAggregation<'a>
impl<'a> VertexAggregation<'a>
pub fn new( source: GraphPostingList, property: impl Into<String>, agg_fn: AggFn, graph: &'a str, ) -> Self
pub fn execute<G: GraphStore>( &self, store: &G, ) -> GraphStoreResult<GraphPostingList>
Auto Trait Implementations§
impl<'a> Freeze for VertexAggregation<'a>
impl<'a> RefUnwindSafe for VertexAggregation<'a>
impl<'a> Send for VertexAggregation<'a>
impl<'a> Sync for VertexAggregation<'a>
impl<'a> Unpin for VertexAggregation<'a>
impl<'a> UnsafeUnpin for VertexAggregation<'a>
impl<'a> UnwindSafe for VertexAggregation<'a>
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