pub struct EvalEdgeView<'graph, 'a, G, GH, CS: Clone, S> { /* private fields */ }Trait Implementations§
Source§impl<'graph, 'a: 'graph, G: GraphViewOps<'graph>, GH: GraphViewOps<'graph>, S, CS: ComputeState + 'a> Clone for EvalEdgeView<'graph, 'a, G, GH, CS, S>
impl<'graph, 'a: 'graph, G: GraphViewOps<'graph>, GH: GraphViewOps<'graph>, S, CS: ComputeState + 'a> Clone for EvalEdgeView<'graph, 'a, G, GH, CS, S>
Source§impl<'graph, 'a: 'graph, G: GraphViewOps<'graph>, GH: GraphViewOps<'graph>, S, CS: ComputeState + 'a> OneHopFilter<'graph> for EvalEdgeView<'graph, 'a, G, GH, CS, S>
impl<'graph, 'a: 'graph, G: GraphViewOps<'graph>, GH: GraphViewOps<'graph>, S, CS: ComputeState + 'a> OneHopFilter<'graph> for EvalEdgeView<'graph, 'a, G, GH, CS, S>
type BaseGraph = &'graph G
type FilteredGraph = GH
type Filtered<GHH: GraphViewOps<'graph>> = EvalEdgeView<'graph, 'a, G, GHH, CS, S>
fn current_filter(&self) -> &Self::FilteredGraph
fn base_graph(&self) -> &Self::BaseGraph
fn one_hop_filtered<GHH: GraphViewOps<'graph>>( &self, filtered_graph: GHH, ) -> Self::Filtered<GHH>
Source§impl<'graph, 'a: 'graph, G: GraphViewOps<'graph>, GH: GraphViewOps<'graph>, S, CS: ComputeState + 'a> ResetFilter<'graph> for EvalEdgeView<'graph, 'a, G, GH, CS, S>
impl<'graph, 'a: 'graph, G: GraphViewOps<'graph>, GH: GraphViewOps<'graph>, S, CS: ComputeState + 'a> ResetFilter<'graph> for EvalEdgeView<'graph, 'a, G, GH, CS, S>
fn reset_filter(&self) -> Self::Filtered<Self::BaseGraph>
Auto Trait Implementations§
impl<'graph, 'a, G, GH, CS, S> Freeze for EvalEdgeView<'graph, 'a, G, GH, CS, S>where
GH: Freeze,
impl<'graph, 'a, G, GH, CS, S> !RefUnwindSafe for EvalEdgeView<'graph, 'a, G, GH, CS, S>
impl<'graph, 'a, G, GH, CS, S> !Send for EvalEdgeView<'graph, 'a, G, GH, CS, S>
impl<'graph, 'a, G, GH, CS, S> !Sync for EvalEdgeView<'graph, 'a, G, GH, CS, S>
impl<'graph, 'a, G, GH, CS, S> Unpin for EvalEdgeView<'graph, 'a, G, GH, CS, S>where
GH: Unpin,
impl<'graph, 'a, G, GH, CS, S> !UnwindSafe for EvalEdgeView<'graph, 'a, G, GH, CS, S>
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<'graph, E> EdgeViewOps<'graph> for Ewhere
E: BaseEdgeViewOps<'graph>,
impl<'graph, E> EdgeViewOps<'graph> for Ewhere
E: BaseEdgeViewOps<'graph>,
Source§fn history(&self) -> <E as EdgeViewOps<'graph>>::ValueType<Vec<i64>>
fn history(&self) -> <E as EdgeViewOps<'graph>>::ValueType<Vec<i64>>
list the activation timestamps for the edge
Source§fn properties(
&self,
) -> <E as EdgeViewOps<'graph>>::ValueType<Properties<<E as EdgeViewOps<'graph>>::PropType>>
fn properties( &self, ) -> <E as EdgeViewOps<'graph>>::ValueType<Properties<<E as EdgeViewOps<'graph>>::PropType>>
Return a view of the properties of the edge
Source§fn src(&self) -> <E as EdgeViewOps<'graph>>::Nodes
fn src(&self) -> <E as EdgeViewOps<'graph>>::Nodes
Returns the source node of the edge.
Source§fn dst(&self) -> <E as EdgeViewOps<'graph>>::Nodes
fn dst(&self) -> <E as EdgeViewOps<'graph>>::Nodes
Returns the destination node of the edge.
Source§fn is_active(&self) -> <E as EdgeViewOps<'graph>>::ValueType<bool>
fn is_active(&self) -> <E as EdgeViewOps<'graph>>::ValueType<bool>
Check if edge is active (i.e. has some update within the current bound)
Source§fn explode(&self) -> <E as EdgeViewOps<'graph>>::Exploded
fn explode(&self) -> <E as EdgeViewOps<'graph>>::Exploded
Explodes an edge and returns all instances it had been updated as seperate edges
Source§fn earliest_time(&self) -> <E as EdgeViewOps<'graph>>::ValueType<Option<i64>>
fn earliest_time(&self) -> <E as EdgeViewOps<'graph>>::ValueType<Option<i64>>
Gets the first time an edge was seen
Source§fn latest_time(&self) -> <E as EdgeViewOps<'graph>>::ValueType<Option<i64>>
fn latest_time(&self) -> <E as EdgeViewOps<'graph>>::ValueType<Option<i64>>
Gets the latest time an edge was updated
Source§fn time(&self) -> <E as EdgeViewOps<'graph>>::ValueType<Result<i64, GraphError>>
fn time(&self) -> <E as EdgeViewOps<'graph>>::ValueType<Result<i64, GraphError>>
Gets the time stamp of the edge if it is exploded
Source§fn layer_name(
&self,
) -> <E as EdgeViewOps<'graph>>::ValueType<Result<ArcStr, GraphError>>
fn layer_name( &self, ) -> <E as EdgeViewOps<'graph>>::ValueType<Result<ArcStr, GraphError>>
Gets the layer name for the edge if it is restricted to a single layer
Source§fn time_and_index(
&self,
) -> <E as EdgeViewOps<'graph>>::ValueType<Option<TimeIndexEntry>>
fn time_and_index( &self, ) -> <E as EdgeViewOps<'graph>>::ValueType<Option<TimeIndexEntry>>
Gets the TimeIndexEntry if the edge is exploded
Source§fn layer_names(&self) -> <E as EdgeViewOps<'graph>>::ValueType<Vec<ArcStr>>
fn layer_names(&self) -> <E as EdgeViewOps<'graph>>::ValueType<Vec<ArcStr>>
Gets the name of the layer this edge belongs to
type ValueType<T: 'graph> = <E as BaseEdgeViewOps<'graph>>::ValueType<T>
type PropType = <E as BaseEdgeViewOps<'graph>>::PropType
type Graph = <E as BaseEdgeViewOps<'graph>>::Graph
type BaseGraph = <E as BaseEdgeViewOps<'graph>>::BaseGraph
type Nodes = <E as BaseEdgeViewOps<'graph>>::Nodes
type Exploded = <E as BaseEdgeViewOps<'graph>>::Exploded
fn history_counts(&self) -> <E as EdgeViewOps<'graph>>::ValueType<usize>
Source§fn history_date_time(
&self,
) -> <E as EdgeViewOps<'graph>>::ValueType<Option<Vec<DateTime<Utc>>>>
fn history_date_time( &self, ) -> <E as EdgeViewOps<'graph>>::ValueType<Option<Vec<DateTime<Utc>>>>
List the activation timestamps for the edge as NaiveDateTime objects if parseable
Source§fn deletions(&self) -> <E as EdgeViewOps<'graph>>::ValueType<Vec<i64>>
fn deletions(&self) -> <E as EdgeViewOps<'graph>>::ValueType<Vec<i64>>
List the deletion timestamps for the edge
Source§fn deletions_date_time(
&self,
) -> <E as EdgeViewOps<'graph>>::ValueType<Option<Vec<DateTime<Utc>>>>
fn deletions_date_time( &self, ) -> <E as EdgeViewOps<'graph>>::ValueType<Option<Vec<DateTime<Utc>>>>
List the deletion timestamps for the edge as NaiveDateTime objects if parseable
Source§fn is_valid(&self) -> <E as EdgeViewOps<'graph>>::ValueType<bool>
fn is_valid(&self) -> <E as EdgeViewOps<'graph>>::ValueType<bool>
Check that the latest status of the edge is valid (i.e., not deleted)
Source§fn is_deleted(&self) -> <E as EdgeViewOps<'graph>>::ValueType<bool>
fn is_deleted(&self) -> <E as EdgeViewOps<'graph>>::ValueType<bool>
Check that the latest status of the edge is deleted (i.e., not valid)
Source§fn is_self_loop(&self) -> <E as EdgeViewOps<'graph>>::ValueType<bool>
fn is_self_loop(&self) -> <E as EdgeViewOps<'graph>>::ValueType<bool>
If the edge is a loop then returns true, else false
Source§fn nbr(&self) -> <E as EdgeViewOps<'graph>>::Nodes
fn nbr(&self) -> <E as EdgeViewOps<'graph>>::Nodes
Returns the node at the other end of the edge (same as
dst() for out-edges and src() for in-edges)fn explode_layers(&self) -> <E as EdgeViewOps<'graph>>::Exploded
fn earliest_date_time( &self, ) -> <E as EdgeViewOps<'graph>>::ValueType<Option<DateTime<Utc>>>
fn latest_date_time( &self, ) -> <E as EdgeViewOps<'graph>>::ValueType<Option<DateTime<Utc>>>
fn date_time( &self, ) -> <E as EdgeViewOps<'graph>>::ValueType<Option<DateTime<Utc>>>
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> IntoDynHop for T
impl<T> IntoDynHop for T
fn into_dyn_hop(self) -> <T as OneHopFilter<'static>>::Filtered<DynamicGraph>
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 moreSource§impl<'graph, V> LayerOps<'graph> for Vwhere
V: OneHopFilter<'graph> + 'graph,
impl<'graph, V> LayerOps<'graph> for Vwhere
V: OneHopFilter<'graph> + 'graph,
type LayeredViewType = <V as OneHopFilter<'graph>>::Filtered<LayeredGraph<<V as OneHopFilter<'graph>>::FilteredGraph>>
Source§fn default_layer(&self) -> <V as LayerOps<'graph>>::LayeredViewType
fn default_layer(&self) -> <V as LayerOps<'graph>>::LayeredViewType
Return a graph containing only the default edge layer
Source§fn layers<L>(
&self,
layers: L,
) -> Result<<V as LayerOps<'graph>>::LayeredViewType, GraphError>
fn layers<L>( &self, layers: L, ) -> Result<<V as LayerOps<'graph>>::LayeredViewType, GraphError>
Return a graph containing the layers in
names. Errors if one or more of the layers do not exists.Source§fn exclude_layers<L>(
&self,
layers: L,
) -> Result<<V as LayerOps<'graph>>::LayeredViewType, GraphError>
fn exclude_layers<L>( &self, layers: L, ) -> Result<<V as LayerOps<'graph>>::LayeredViewType, GraphError>
Return a graph containing the excluded layers in
names. Errors if one or more of the layers do not exists.fn exclude_valid_layers<L>( &self, layers: L, ) -> <V as LayerOps<'graph>>::LayeredViewType
Source§fn valid_layers<L>(&self, names: L) -> <V as LayerOps<'graph>>::LayeredViewType
fn valid_layers<L>(&self, names: L) -> <V as LayerOps<'graph>>::LayeredViewType
Return a graph containing the layers in
names. Any layers that do not exist are ignored.Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<'graph, V> TimeOps<'graph> for Vwhere
V: OneHopFilter<'graph> + 'graph + InternalTimeOps<'graph>,
impl<'graph, V> TimeOps<'graph> for Vwhere
V: OneHopFilter<'graph> + 'graph + InternalTimeOps<'graph>,
type WindowedViewType = <V as InternalTimeOps<'graph>>::InternalWindowedView
Source§fn start(&self) -> Option<i64>
fn start(&self) -> Option<i64>
Return the timestamp of the start of the view or None if the view start is unbounded.
Source§fn end(&self) -> Option<i64>
fn end(&self) -> Option<i64>
Return the timestamp of the view or None if the view end is unbounded.
fn start_date_time(&self) -> Option<DateTime<Utc>>
fn end_date_time(&self) -> Option<DateTime<Utc>>
Source§fn shrink_start<T>(&self, start: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
fn shrink_start<T>(&self, start: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
set the start of the window to the larger of
start and self.start()Source§fn shrink_end<T>(&self, end: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
fn shrink_end<T>(&self, end: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
set the end of the window to the smaller of
end and self.end()Source§fn shrink_window<T>(
&self,
start: T,
end: T,
) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
fn shrink_window<T>(
&self,
start: T,
end: T,
) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
shrink both the start and end of the window (same as calling
shrink_start followed by shrink_end but more efficient)Source§fn window_size(&self) -> Option<u64>
fn window_size(&self) -> Option<u64>
Return the size of the window covered by this view or None if the window is unbounded
Source§fn window<T1, T2>(
&self,
start: T1,
end: T2,
) -> <V as TimeOps<'graph>>::WindowedViewType
fn window<T1, T2>( &self, start: T1, end: T2, ) -> <V as TimeOps<'graph>>::WindowedViewType
Create a view including all events between
start (inclusive) and end (exclusive)Source§fn at<T>(&self, time: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
fn at<T>(&self, time: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
Create a view that only includes events at
timeSource§fn latest(&self) -> <V as TimeOps<'graph>>::WindowedViewType
fn latest(&self) -> <V as TimeOps<'graph>>::WindowedViewType
Create a view that only includes events at the latest time
Source§fn snapshot_at<T>(&self, time: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
fn snapshot_at<T>(&self, time: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
Create a view including all events that have not been explicitly deleted at
time Read moreSource§fn snapshot_latest(&self) -> <V as TimeOps<'graph>>::WindowedViewType
fn snapshot_latest(&self) -> <V as TimeOps<'graph>>::WindowedViewType
Create a view including all events that have not been explicitly deleted at the latest time Read more
Source§fn after<T>(&self, start: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
fn after<T>(&self, start: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
Create a view that only includes events after
start (exclusive)Source§fn before<T>(&self, end: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
fn before<T>(&self, end: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
Create a view that only includes events before
end (exclusive)Source§fn expanding<I>(&self, step: I) -> Result<WindowSet<'graph, V>, ParseTimeError>
fn expanding<I>(&self, step: I) -> Result<WindowSet<'graph, V>, ParseTimeError>
Creates a
WindowSet with the given step size
using an expanding window. The last window may fall partially outside the range of the data/view. Read more