pub struct GraphAnalyticsEdgesRequest {
pub graph_name: String,
pub edge_type: String,
pub as_of: u64,
pub owned_ranges: Vec<GraphKeyRange>,
pub tx_as_of: u64,
}Expand description
Internal: ask one shard to dump its local analytics edge list. Mirrors the edge_type / as_of filters of GraphAnalyticsRequest so each shard applies the same temporal/type filtering before returning its (src,dst) pairs.
Fields§
§graph_name: String§edge_type: Stringempty = all types
as_of: u640 = current/all
owned_ranges: Vec<GraphKeyRange>Per-shard ownership filter (issue #1601). When non-empty, the data node
dumps ONLY edges whose source’s forward-edge routing key
([ROLE_EDGE][src:u64 BE]) falls inside one of these half-open
[start_key, end_key) ranges — i.e. the shards this node is the leader of.
Without it, a node that leads some shards but also holds follower replicas
of OTHER shards (replication factor > 1) dumps the replicated edges too, so
the gateway union double-counts every replicated directed edge. An empty
list disables the filter (full local dump) for backward compatibility.
tx_as_of: u64Transaction-time (recorded-at / belief) point (ms); 0 = current belief / no filter. Mirrors GraphAnalyticsRequest.tx_as_of so each shard applies the same belief filter before dumping its (src,dst) pairs (issue #1920).
Trait Implementations§
Source§impl Clone for GraphAnalyticsEdgesRequest
impl Clone for GraphAnalyticsEdgesRequest
Source§fn clone(&self) -> GraphAnalyticsEdgesRequest
fn clone(&self) -> GraphAnalyticsEdgesRequest
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 GraphAnalyticsEdgesRequest
impl Debug for GraphAnalyticsEdgesRequest
Source§impl Default for GraphAnalyticsEdgesRequest
impl Default for GraphAnalyticsEdgesRequest
Source§impl Message for GraphAnalyticsEdgesRequest
impl Message for GraphAnalyticsEdgesRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.impl StructuralPartialEq for GraphAnalyticsEdgesRequest
Auto Trait Implementations§
impl Freeze for GraphAnalyticsEdgesRequest
impl RefUnwindSafe for GraphAnalyticsEdgesRequest
impl Send for GraphAnalyticsEdgesRequest
impl Sync for GraphAnalyticsEdgesRequest
impl Unpin for GraphAnalyticsEdgesRequest
impl UnsafeUnpin for GraphAnalyticsEdgesRequest
impl UnwindSafe for GraphAnalyticsEdgesRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> 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