pub struct GraphSearchExpandRequest {
pub graph_name: String,
pub query: Vec<f32>,
pub k: u32,
pub ef: u32,
pub depth: u32,
pub edge_type: String,
pub as_of: u64,
pub reverse: bool,
pub max_nodes: u32,
pub max_degree: u32,
pub tx_as_of: u64,
}Fields§
§graph_name: String§query: Vec<f32>query embedding for anchor selection
k: u32number of vector anchors (top-k)
ef: u320 = use default ef_search
depth: u32BFS hop count from each anchor (0 = anchors only)
edge_type: Stringempty = all edge types
as_of: u640 = no time bound; only edges with valid_from <= as_of
reverse: booltrue = expand along incoming edges
max_nodes: u32Upper bound on total nodes returned (anchors + expanded). 0 = engine default (DEFAULT_MAX_EXPAND_NODES = 10000, never unbounded); pass an explicit large value (e.g. u32 max) to raise the cap.
max_degree: u32Per-node edge fanout cap: when expanding a single frontier node, scan at most this many of its edges, so a high-degree supernode cannot be materialized in full (OOM / latency). 0 = engine default.
tx_as_of: u64Transaction-time (as-of-then belief) point, ms. 0 = current belief (no
bound). When set, only edges believed at tx_as_of are traversed/returned
(tx_from <= tx_as_of && (tx_to == 0 || tx_to > tx_as_of)); legacy edges
with tx_from == 0 are treated as always known. This excludes edges that
were transactionally corrected/retracted after tx_as_of, matching the
bitemporal predicate the adjacent traversal path already enforces.
Trait Implementations§
Source§impl Clone for GraphSearchExpandRequest
impl Clone for GraphSearchExpandRequest
Source§fn clone(&self) -> GraphSearchExpandRequest
fn clone(&self) -> GraphSearchExpandRequest
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 GraphSearchExpandRequest
impl Debug for GraphSearchExpandRequest
Source§impl Default for GraphSearchExpandRequest
impl Default for GraphSearchExpandRequest
Source§impl Message for GraphSearchExpandRequest
impl Message for GraphSearchExpandRequest
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.Source§impl PartialEq for GraphSearchExpandRequest
impl PartialEq for GraphSearchExpandRequest
impl StructuralPartialEq for GraphSearchExpandRequest
Auto Trait Implementations§
impl Freeze for GraphSearchExpandRequest
impl RefUnwindSafe for GraphSearchExpandRequest
impl Send for GraphSearchExpandRequest
impl Sync for GraphSearchExpandRequest
impl Unpin for GraphSearchExpandRequest
impl UnsafeUnpin for GraphSearchExpandRequest
impl UnwindSafe for GraphSearchExpandRequest
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