pub struct TextSubjectsPayload {
pub request: TextSubjectRequest,
}Expand description
Payload of one text_subjects op.
The executor hands Self::request to the O partition, which runs the
candidate search and the literal→subject resolve itself. The planner
builds the request from the branch’s AppliedGraph — graph_name, the
graph_filter_terms / graph_filter_allow pair (from
GraphFilter::to_wire, which owns the allow/block polarity) and
merge_default_graph — so the resolve sees the same graphs the
surrounding BGP sees, and chooses the row shape in the same place:
variables = [subject]withreturn_graph: false(no graph column);variables = [subject, graph]withreturn_graph: truewhen every scope binds the same graph variable (the branch’s solutions bind it);variables = [subject]withsubject_equals_graph: truewhen the graph variable IS the subject (GRAPH ?splustext:query(?s, …)) — the partition keeps only rows whose subject equals their graph.
The executor rejects a request whose return_graph disagrees with the
op’s arity, so a builder that bound a graph variable but forgot the
output column fails loudly instead of dropping the graph constraint.
Fields§
§request: TextSubjectRequestThe subject resolve request: mode, query, language, guard, the named predicates, and the applied graph window.
Trait Implementations§
Source§impl Clone for TextSubjectsPayload
impl Clone for TextSubjectsPayload
Source§fn clone(&self) -> TextSubjectsPayload
fn clone(&self) -> TextSubjectsPayload
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TextSubjectsPayload
impl Debug for TextSubjectsPayload
Source§impl PartialEq for TextSubjectsPayload
impl PartialEq for TextSubjectsPayload
Source§impl PluginPayload for TextSubjectsPayload
impl PluginPayload for TextSubjectsPayload
Source§fn dyn_eq(&self, other: &dyn PluginPayload) -> bool
fn dyn_eq(&self, other: &dyn PluginPayload) -> bool
Source§fn memo_content(&self) -> Vec<u8> ⓘ
fn memo_content(&self) -> Vec<u8> ⓘ
ExecutorPlugin for the memoization contract). Two payloads with
equal memo_content bytes must produce identical childless-op
results within one query. The default — the payload’s Debug
rendering — is deterministic for derived Debug impls; a plugin
whose Debug is not content-stable should override this with a
structured binary serialization.impl Eq for TextSubjectsPayload
impl StructuralPartialEq for TextSubjectsPayload
Auto Trait Implementations§
impl Freeze for TextSubjectsPayload
impl RefUnwindSafe for TextSubjectsPayload
impl Send for TextSubjectsPayload
impl Sync for TextSubjectsPayload
impl Unpin for TextSubjectsPayload
impl UnsafeUnpin for TextSubjectsPayload
impl UnwindSafe for TextSubjectsPayload
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<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§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>
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 more§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].