Skip to main content

HexastoreDescribeResponse

Struct HexastoreDescribeResponse 

Source
pub struct HexastoreDescribeResponse {
Show 17 fields pub axis: i32, pub node_id: String, pub listen: String, pub data_dir: String, pub backend: i32, pub version: String, pub repository_id: String, pub metrics: Option<LsmMetrics>, pub serving: bool, pub geo_index_epoch: Option<u64>, pub temporal_index_epoch: Option<u64>, pub temporal_rebuild_in_progress: bool, pub geo_rebuild_in_progress: bool, pub text_index_epoch: Option<u64>, pub text_index_fingerprint: String, pub text_index_terms: u64, pub text_rebuild_in_progress: bool,
}

Fields§

§axis: i32§node_id: String§listen: String§data_dir: String§backend: i32§version: String§repository_id: String§metrics: Option<LsmMetrics>§serving: bool§geo_index_epoch: Option<u64>

Rebuild epoch of the O-axis geometry index (O partitions only). Absent (default 0) means “never stamped” — the planner treats a missing epoch as trusted.

§temporal_index_epoch: Option<u64>

Rebuild epoch of the O-axis temporal index (O partitions only). Absent means UNTRUSTED for temporal: temporal literals predate the plugin, so the compute auto-rebuild triggers on a missing epoch and the temporal planner rewrite stays off until the epoch lands.

§temporal_rebuild_in_progress: bool

True while a temporal index rebuild is executing on this partition.

§geo_rebuild_in_progress: bool

True while a FRESH geo rebuild lease is held on this partition (a lease past its deadline reports false — stale, takeover allowed).

§text_index_epoch: Option<u64>

Highest commit timestamp covered by the last completed text-index build (O partitions only). Absent means UNTRUSTED: string literals predate the plugin, so compute auto-builds the index at startup and the text rewrites stay off until the epoch lands. Unlike geo, an epoch is trusted without a snapshot comparison — text postings are never rewritten.

§text_index_fingerprint: String

Config fingerprint the index was built with (analyzer + seed length). Compute compares it with its own; a mismatch requires an offline rebuild.

§text_index_terms: u64

Live document count (one per indexed literal); advisory planner input.

§text_rebuild_in_progress: bool

True while a FRESH text rebuild lease is held on this partition.

Implementations§

Source§

impl HexastoreDescribeResponse

Source

pub fn axis(&self) -> PartitionAxis

Returns the enum value of axis, or the default if the field is set to an invalid enum value.

Source

pub fn set_axis(&mut self, value: PartitionAxis)

Sets axis to the provided enum value.

Source

pub fn backend(&self) -> StorageBackend

Returns the enum value of backend, or the default if the field is set to an invalid enum value.

Source

pub fn set_backend(&mut self, value: StorageBackend)

Sets backend to the provided enum value.

Source

pub fn geo_index_epoch(&self) -> u64

Returns the value of geo_index_epoch, or the default value if geo_index_epoch is unset.

Source

pub fn temporal_index_epoch(&self) -> u64

Returns the value of temporal_index_epoch, or the default value if temporal_index_epoch is unset.

Source

pub fn text_index_epoch(&self) -> u64

Returns the value of text_index_epoch, or the default value if text_index_epoch is unset.

Trait Implementations§

Source§

impl Clone for HexastoreDescribeResponse

Source§

fn clone(&self) -> HexastoreDescribeResponse

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for HexastoreDescribeResponse

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for HexastoreDescribeResponse

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Hash for HexastoreDescribeResponse

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Message for HexastoreDescribeResponse

Source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
Source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
Source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message to a buffer. Read more
Source§

fn encode_to_vec(&self) -> Vec<u8> ⓘ
where Self: Sized,

Encodes the message to a newly allocated buffer.
Source§

fn encode_length_delimited( &self, buf: &mut impl BufMut, ) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message with a length-delimiter to a buffer. Read more
Source§

fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘ
where Self: Sized,

Encodes the message with a length-delimiter to a newly allocated buffer.
Source§

fn decode(buf: impl Buf) -> Result<Self, DecodeError>
where Self: Default,

Decodes an instance of the message from a buffer. Read more
Source§

fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>
where Self: Default,

Decodes a length-delimited instance of the message from the buffer.
Source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
Source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes a length-delimited instance of the message from buffer, and merges it into self.
Source§

impl PartialEq for HexastoreDescribeResponse

Source§

fn eq(&self, other: &HexastoreDescribeResponse) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for HexastoreDescribeResponse

Source§

impl StructuralPartialEq for HexastoreDescribeResponse

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FromRef<T> for T
where T: Clone,

§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> IntoRequest<T> for T

§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
§

impl<L> LayerExt<L> for L

§

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].
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,