pub struct GeoScanPayload {
pub predicate: GeoPredicate,
pub const_term: EncodedTerm,
pub query_geometry: Geometry<f64>,
pub query_envelope: GeoEnvelope,
pub intervals: Vec<GeoCellInterval>,
}Expand description
Typed payload of the geo_scan CustomOp (downcast by the executor).
Fields§
§predicate: GeoPredicateEffective predicate orientation (candidate as DE-9IM subject): see the inversion table in the planner.
const_term: EncodedTermThe constant geometry’s native term (diagnostic / EXPLAIN).
query_geometry: Geometry<f64>The constant CRS84 geometry (prepared once at execution).
query_envelope: GeoEnvelopeCRS84 envelope of the constant (partition-side AABB reject).
intervals: Vec<GeoCellInterval>Merged cell-id intervals (descendant ranges ∪ exact ancestors).
Trait Implementations§
Source§impl Clone for GeoScanPayload
impl Clone for GeoScanPayload
Source§fn clone(&self) -> GeoScanPayload
fn clone(&self) -> GeoScanPayload
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GeoScanPayload
impl Debug for GeoScanPayload
Source§impl PartialEq for GeoScanPayload
impl PartialEq for GeoScanPayload
Source§impl PluginPayload for GeoScanPayload
impl PluginPayload for GeoScanPayload
Source§fn memo_content(&self) -> Vec<u8> ⓘ
fn memo_content(&self) -> Vec<u8> ⓘ
Deterministic payload-content bytes for the query-local CustomOp memo
key: the predicate IRI, the const term’s canonical storage bytes
(waratah_storage::encode_term_bytes), the geometry kind + CRS84
coordinates, the envelope, and the covering intervals — every field
the scan depends on, little-endian binary.
Source§fn dyn_eq(&self, other: &dyn PluginPayload) -> bool
fn dyn_eq(&self, other: &dyn PluginPayload) -> bool
Structural equality for plan reuse/dedup comparisons. The default is
“never equal”, which is safe for opaque payloads (they only lose
plan-dedup optimizations, never correctness).
impl StructuralPartialEq for GeoScanPayload
Auto Trait Implementations§
impl Freeze for GeoScanPayload
impl RefUnwindSafe for GeoScanPayload
impl Send for GeoScanPayload
impl Sync for GeoScanPayload
impl Unpin for GeoScanPayload
impl UnsafeUnpin for GeoScanPayload
impl UnwindSafe for GeoScanPayload
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
Mutably borrows from an owned value. Read more
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>
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>
Converts
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>
Converts
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>
Wrap the input message
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>,
Applies the layer to a service and wraps it in [
Layered].