pub struct AnalyticalStorageConfig {
pub columnar: bool,
pub time_key: String,
pub order_by_key: Option<String>,
}Expand description
Per-collection analytical-storage seam (PRD #850, Phase 1).
Declares that a Metrics/TimeSeries collection’s hypertable chunks
are backed by the columnar sealed-chunk layout
(column_block) rather than
the default row engine. columnar = false (or the whole config
absent) keeps the row engine — the seal dispatch routes only
columnar-flagged chunks to the ColumnBlock writer.
time_key / order_by_key mirror the ClickHouse ORDER BY intent so
downstream slices (#854 granules, #856 vectorized read) can lay the
columns out in their natural sort order; v1 records them as the durable
contract without yet acting on order_by_key.
Fields§
§columnar: boolWhen true, sealing a chunk routes to the columnar ColumnBlock
writer; otherwise the row engine stays the default.
time_key: StringColumn carrying the time axis (the chunk’s partition key).
order_by_key: Option<String>Optional secondary sort key (ClickHouse ORDER BY tail). None
orders by time_key alone.
Trait Implementations§
Source§impl Clone for AnalyticalStorageConfig
impl Clone for AnalyticalStorageConfig
Source§fn clone(&self) -> AnalyticalStorageConfig
fn clone(&self) -> AnalyticalStorageConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AnalyticalStorageConfig
impl Debug for AnalyticalStorageConfig
impl Eq for AnalyticalStorageConfig
Source§impl PartialEq for AnalyticalStorageConfig
impl PartialEq for AnalyticalStorageConfig
Source§fn eq(&self, other: &AnalyticalStorageConfig) -> bool
fn eq(&self, other: &AnalyticalStorageConfig) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnalyticalStorageConfig
Auto Trait Implementations§
impl Freeze for AnalyticalStorageConfig
impl RefUnwindSafe for AnalyticalStorageConfig
impl Send for AnalyticalStorageConfig
impl Sync for AnalyticalStorageConfig
impl Unpin for AnalyticalStorageConfig
impl UnsafeUnpin for AnalyticalStorageConfig
impl UnwindSafe for AnalyticalStorageConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request