pub struct AxisHeadScanCountsRequest {
pub permutation: i32,
pub snapshot_id: u64,
pub mode: i32,
pub graph_name: Option<Vec<u8>>,
pub graph_filter_terms: Vec<Vec<u8>>,
pub graph_filter_allow: bool,
pub start_after_term: Vec<u8>,
pub iri_only_head: bool,
pub limit: u64,
}Expand description
Axis head count scan: cardinalities of the whole permutation CF (SPOG
subjects, PSOG predicates, OPSG objects, TSG classes — TSG stores only
rdf:type quads, so its head is the class slot). Same visibility semantics
as AxisHeadScan (per-logical-quad MVCC collapse, op == Put, graph
window, iri_only_head). TOTAL returns the number of distinct slot-0
terms; PER_HEAD returns one hit per slot-0 head whose count is the
number of distinct slot-1 terms under it (TSG per-class subject counts).
The permutation must be one of SPOG / PSOG / OPSG / TSG; any other value
is invalid_argument, and a permutation not owned by the serving axis
returns UNIMPLEMENTED. limit counts emitted hits in PER_HEAD mode
(0 = unlimited, ignored in TOTAL mode); start_after_term is the
exclusive resume cursor (PER_HEAD only).
Fields§
§permutation: i32§snapshot_id: u64§mode: i32§graph_name: Option<Vec<u8>>§graph_filter_terms: Vec<Vec<u8>>§graph_filter_allow: bool§start_after_term: Vec<u8>§iri_only_head: boolIRI-only pushdown for the slot-0 head term (see ScanPatternRequest iri_only_subject): a set flag rejects heads that are not NamedNode.
limit: u64PER_HEAD mode: limit over emitted hits (0 = unlimited). Ignored in
TOTAL mode.
Implementations§
Source§impl AxisHeadScanCountsRequest
impl AxisHeadScanCountsRequest
Sourcepub fn permutation(&self) -> IndexPermutation
pub fn permutation(&self) -> IndexPermutation
Returns the enum value of permutation, or the default if the field is set to an invalid enum value.
Sourcepub fn set_permutation(&mut self, value: IndexPermutation)
pub fn set_permutation(&mut self, value: IndexPermutation)
Sets permutation to the provided enum value.
Sourcepub fn mode(&self) -> AxisHeadCountMode
pub fn mode(&self) -> AxisHeadCountMode
Returns the enum value of mode, or the default if the field is set to an invalid enum value.
Sourcepub fn set_mode(&mut self, value: AxisHeadCountMode)
pub fn set_mode(&mut self, value: AxisHeadCountMode)
Sets mode to the provided enum value.
Sourcepub fn graph_name(&self) -> &[u8] ⓘ
pub fn graph_name(&self) -> &[u8] ⓘ
Returns the value of graph_name, or the default value if graph_name is unset.
Trait Implementations§
Source§impl Clone for AxisHeadScanCountsRequest
impl Clone for AxisHeadScanCountsRequest
Source§fn clone(&self) -> AxisHeadScanCountsRequest
fn clone(&self) -> AxisHeadScanCountsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AxisHeadScanCountsRequest
impl Debug for AxisHeadScanCountsRequest
Source§impl Default for AxisHeadScanCountsRequest
impl Default for AxisHeadScanCountsRequest
Source§impl Hash for AxisHeadScanCountsRequest
impl Hash for AxisHeadScanCountsRequest
Source§impl Message for AxisHeadScanCountsRequest
impl Message for AxisHeadScanCountsRequest
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 Eq for AxisHeadScanCountsRequest
impl StructuralPartialEq for AxisHeadScanCountsRequest
Auto Trait Implementations§
impl Freeze for AxisHeadScanCountsRequest
impl RefUnwindSafe for AxisHeadScanCountsRequest
impl Send for AxisHeadScanCountsRequest
impl Sync for AxisHeadScanCountsRequest
impl Unpin for AxisHeadScanCountsRequest
impl UnsafeUnpin for AxisHeadScanCountsRequest
impl UnwindSafe for AxisHeadScanCountsRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].