pub struct PathOp {
pub subject_term: Option<EncodedTerm>,
pub subject: Option<Variable>,
pub path: PropertyPath,
pub object_term: Option<EncodedTerm>,
pub object: Option<Variable>,
pub produced_row_count_estimate: u64,
pub strings: Vec<(StrHash, String)>,
pub graph: Option<Variable>,
pub graph_name: Option<EncodedTerm>,
pub graph_filter: Option<GraphFilter>,
pub merge_default_graph: bool,
}Expand description
One property-path leaf after lowering.
Ground ends live in subject_term / object_term while the variable names
stay populated so projection still sees those columns (same pattern as
ScanOp after identity-FILTER fold).
Fields§
§subject_term: Option<EncodedTerm>Encoded start when the subject slot is ground.
subject: Option<Variable>Variable bound by the subject slot, if any.
path: PropertyPathEncoded path tree (predicates interned at plan time).
object_term: Option<EncodedTerm>Encoded end when the object slot is ground.
object: Option<Variable>Variable bound by the object slot, if any.
produced_row_count_estimate: u64Estimated cardinality from boundness + sparopt-style sizes.
strings: Vec<(StrHash, String)>Hash → raw string for hashed ground ends (* identity can emit a start
that was never stored, so materialize cannot ask the registry).
graph: Option<Variable>Variable bound by the graph slot (GRAPH ?g), if any.
graph_name: Option<EncodedTerm>Bound graph name when G is ground.
graph_filter: Option<GraphFilter>Residual G allow-list or block-list for hops.
merge_default_graph: boolSame merge-default flag as ScanOp::merge_default_graph: hop scans unique
S/P/O and rewrite G to DefaultGraph so / and ALP join on nodes across
source graphs. Off inside GRAPH, where G is part of the vertex.
Implementations§
Trait Implementations§
impl StructuralPartialEq for PathOp
Auto Trait Implementations§
impl Freeze for PathOp
impl RefUnwindSafe for PathOp
impl Send for PathOp
impl Sync for PathOp
impl Unpin for PathOp
impl UnsafeUnpin for PathOp
impl UnwindSafe for PathOp
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> 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].