pub struct GraphQueryRequest {
pub graph_name: String,
pub cypher: String,
pub max_rows: u32,
pub as_of: u64,
pub tx_as_of: u64,
}Fields§
§graph_name: StringThe graph index to query. When empty the gateway resolves a default graph (same policy as the other Graph* RPCs).
cypher: StringThe openCypher-subset query text.
max_rows: u32Hard cap on returned rows regardless of any LIMIT in the query (0 = no extra cap; the parsed LIMIT, if any, still applies).
as_of: u64Full bitemporal point-in-time (epic #1635, Phase 4). Out-of-band defaults
for the valid-time (as_of) and transaction-time (tx_as_of) the query is
evaluated against. 0 means “current” (no temporal filter) for each axis,
matching every other Graph* read path. An AS OF <valid>, <tx> clause in
the cypher text overrides these when present; otherwise these supply the
temporal context out-of-band. tx_as_of is threaded into every downstream
read-path request that carries the field (traverse / shortest-path /
expand / rag / triple BGP), replacing the previously hardcoded 0.
tx_as_of: u64Trait Implementations§
Source§impl Clone for GraphQueryRequest
impl Clone for GraphQueryRequest
Source§fn clone(&self) -> GraphQueryRequest
fn clone(&self) -> GraphQueryRequest
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 GraphQueryRequest
impl Debug for GraphQueryRequest
Source§impl Default for GraphQueryRequest
impl Default for GraphQueryRequest
Source§impl Message for GraphQueryRequest
impl Message for GraphQueryRequest
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 GraphQueryRequest
impl PartialEq for GraphQueryRequest
impl StructuralPartialEq for GraphQueryRequest
Auto Trait Implementations§
impl Freeze for GraphQueryRequest
impl RefUnwindSafe for GraphQueryRequest
impl Send for GraphQueryRequest
impl Sync for GraphQueryRequest
impl Unpin for GraphQueryRequest
impl UnsafeUnpin for GraphQueryRequest
impl UnwindSafe for GraphQueryRequest
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