pub struct GraphWindowFunctions;Expand description
Placeholder for window functions - will implement proper DataFusion window functions when we have the core SQL functionality working
Implementations§
Source§impl GraphWindowFunctions
impl GraphWindowFunctions
pub fn new() -> Self
Sourcepub fn pagerank_window(
&self,
_partition_values: &[f64],
) -> DataFusionResult<f64>
pub fn pagerank_window( &self, _partition_values: &[f64], ) -> DataFusionResult<f64>
Future implementation of PageRank window function Will support: SELECT node_id, pagerank() OVER (PARTITION BY component) FROM nodes
Sourcepub fn degree_centrality_window(
&self,
_partition_values: &[u64],
) -> DataFusionResult<f64>
pub fn degree_centrality_window( &self, _partition_values: &[u64], ) -> DataFusionResult<f64>
Future implementation of degree centrality window function Will support: SELECT node_id, degree_centrality() OVER (PARTITION BY component) FROM nodes
Sourcepub fn betweenness_centrality_window(
&self,
_partition_values: &[f64],
) -> DataFusionResult<f64>
pub fn betweenness_centrality_window( &self, _partition_values: &[f64], ) -> DataFusionResult<f64>
Future implementation of betweenness centrality window function Will support: SELECT node_id, betweenness_centrality() OVER (PARTITION BY component) FROM nodes
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphWindowFunctions
impl RefUnwindSafe for GraphWindowFunctions
impl Send for GraphWindowFunctions
impl Sync for GraphWindowFunctions
impl Unpin for GraphWindowFunctions
impl UnwindSafe for GraphWindowFunctions
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more