pub struct AnalyticsViewDescriptor {
pub output: AnalyticsOutput,
pub algorithm: Option<String>,
pub resolution: Option<f64>,
pub max_iterations: Option<i64>,
pub tolerance: Option<f64>,
}Expand description
One enabled analytics output plus its declared options. Persisted in the
parent graph’s CollectionContract (WAL-backed) and surfaced on the
CollectionDescriptor so the resolver can recognise <graph>.<output>.
SHOW COLLECTIONS behaviour (issue #800 HITL decision): analytics outputs
resolve as virtual <graph>.<output> views and are deliberately not
registered as top-level collections. They therefore never appear in
SHOW COLLECTIONS — not by default and not under SHOW COLLECTIONS INCLUDING INTERNAL — keeping the parent graph’s listing clean. Only the
parent graph collection is listed; its enabled outputs are introspectable
through this analytics_config on the parent’s descriptor.
Fields§
§output: AnalyticsOutput§algorithm: Option<String>using = <algorithm> — concrete algorithm within the output family.
None resolves to the family default (louvain / connected-components /
pagerank).
resolution: Option<f64>resolution = <f64> — Louvain resolution (γ) for communities.
max_iterations: Option<i64>max_iterations = <i64> — iteration cap for iterative centralities.
tolerance: Option<f64>tolerance = <f64> — convergence tolerance for iterative centralities.
Trait Implementations§
Source§impl Clone for AnalyticsViewDescriptor
impl Clone for AnalyticsViewDescriptor
Source§fn clone(&self) -> AnalyticsViewDescriptor
fn clone(&self) -> AnalyticsViewDescriptor
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AnalyticsViewDescriptor
impl Debug for AnalyticsViewDescriptor
Source§impl PartialEq for AnalyticsViewDescriptor
impl PartialEq for AnalyticsViewDescriptor
Source§fn eq(&self, other: &AnalyticsViewDescriptor) -> bool
fn eq(&self, other: &AnalyticsViewDescriptor) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnalyticsViewDescriptor
Auto Trait Implementations§
impl Freeze for AnalyticsViewDescriptor
impl RefUnwindSafe for AnalyticsViewDescriptor
impl Send for AnalyticsViewDescriptor
impl Sync for AnalyticsViewDescriptor
impl Unpin for AnalyticsViewDescriptor
impl UnsafeUnpin for AnalyticsViewDescriptor
impl UnwindSafe for AnalyticsViewDescriptor
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> 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>
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>
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<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