Skip to main content

AggregatePluginFn

Trait AggregatePluginFn 

Source
pub trait AggregatePluginFn: Send + Sync {
    // Required methods
    fn signature(&self) -> &AggSignature;
    fn create_accumulator(&self) -> Box<dyn PluginAccumulator>;
}
Expand description

A Cypher aggregate function plugin.

Required Methods§

Source

fn signature(&self) -> &AggSignature

Static signature.

Source

fn create_accumulator(&self) -> Box<dyn PluginAccumulator>

Construct a fresh per-group accumulator.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§