pub struct GeoIndexPut {
pub s2_cell_id: u64,
pub term: Vec<u8>,
pub commit_ts: u64,
pub op: i32,
pub visibility: u32,
pub crs84_envelope: Option<Vec<u8>>,
}Expand description
One O-axis geometry-index posting (compute-derived S2 index row).
Compute owns ALL S2 math: the partition applies postings verbatim — it
never derives cell ids, never runs a region coverer, and never reads the
blob store. Key/value layout matches the O-axis geo_index CF:
key = s2_cell_id_u64_be || encode_term_bytes(geo_term) || commit_ts_desc
value = op || visibility || optional CRS84 envelope (4 × f32 min/max)
Fields§
§s2_cell_id: u64§term: Vec<u8>Encoded geo term bytes (LiteralPoint / LiteralGeometry).
commit_ts: u64§op: i32§visibility: u32§crs84_envelope: Option<Vec<u8>>Optional CRS84 envelope of the geometry (min_lon, min_lat, max_lon,
max_lat as 4 × f32 big-endian, 16 bytes). Absent = no AABB reject for
this row (points and tight leaf cells omit it). Note: proto3 bytes
cannot distinguish absent from empty — the partition treats ONLY the
16-byte value as an envelope; anything else is “absent”.
Implementations§
Source§impl GeoIndexPut
impl GeoIndexPut
Trait Implementations§
Source§impl Clone for GeoIndexPut
impl Clone for GeoIndexPut
Source§fn clone(&self) -> GeoIndexPut
fn clone(&self) -> GeoIndexPut
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GeoIndexPut
impl Debug for GeoIndexPut
Source§impl Default for GeoIndexPut
impl Default for GeoIndexPut
Source§impl Hash for GeoIndexPut
impl Hash for GeoIndexPut
Source§impl Message for GeoIndexPut
impl Message for GeoIndexPut
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 GeoIndexPut
impl PartialEq for GeoIndexPut
impl Eq for GeoIndexPut
impl StructuralPartialEq for GeoIndexPut
Auto Trait Implementations§
impl Freeze for GeoIndexPut
impl RefUnwindSafe for GeoIndexPut
impl Send for GeoIndexPut
impl Sync for GeoIndexPut
impl Unpin for GeoIndexPut
impl UnsafeUnpin for GeoIndexPut
impl UnwindSafe for GeoIndexPut
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].