pub(crate) struct PersistSourceDataStatsImpl<'a> {
pub(crate) desc: &'a RelationDescHack,
pub(crate) stats: &'a PartStats,
}Fields§
§desc: &'a RelationDescHack§stats: &'a PartStatsImplementations§
source§impl PersistSourceDataStatsImpl<'_>
impl PersistSourceDataStatsImpl<'_>
fn json_spec(stats: &JsonStats) -> ResultSpec<'_>
fn col_json<'a>(&'a self, idx: usize, _arena: &'a RowArena) -> ResultSpec<'a>
Trait Implementations§
source§impl<'a> Debug for PersistSourceDataStatsImpl<'a>
impl<'a> Debug for PersistSourceDataStatsImpl<'a>
source§impl PersistSourceDataStats for PersistSourceDataStatsImpl<'_>
impl PersistSourceDataStats for PersistSourceDataStatsImpl<'_>
source§fn col_min<'a>(&'a self, idx: usize, arena: &'a RowArena) -> Option<Datum<'a>>
fn col_min<'a>(&'a self, idx: usize, arena: &'a RowArena) -> Option<Datum<'a>>
The part’s minimum value for the named column, if available.
A return value of
None indicates that Persist did not / was
not able to calculate a minimum for this column.source§fn col_max<'a>(&'a self, idx: usize, arena: &'a RowArena) -> Option<Datum<'a>>
fn col_max<'a>(&'a self, idx: usize, arena: &'a RowArena) -> Option<Datum<'a>>
(ditto above, but for the maximum column value)
source§fn col_null_count(&self, idx: usize) -> Option<usize>
fn col_null_count(&self, idx: usize) -> Option<usize>
The part’s null count for the named column, if available. A
return value of
None indicates that Persist did not / was
not able to calculate the null count for this column.source§fn row_min(&self, _row: &mut Row) -> Option<usize>
fn row_min(&self, _row: &mut Row) -> Option<usize>
A prefix of column values for the minimum Row in the part. A
return of
None indicates that Persist did not / was not able
to calculate the minimum row. A Some(usize) indicates how many
columns are in the prefix. The prefix may be less than the full
row if persist cannot determine/store an individual column, for
the same reasons that col_min/col_max may omit values. Read moreAuto Trait Implementations§
impl<'a> !RefUnwindSafe for PersistSourceDataStatsImpl<'a>
impl<'a> Send for PersistSourceDataStatsImpl<'a>
impl<'a> Sync for PersistSourceDataStatsImpl<'a>
impl<'a> Unpin for PersistSourceDataStatsImpl<'a>
impl<'a> !UnwindSafe for PersistSourceDataStatsImpl<'a>
Blanket Implementations§
source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Requestsource§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
See
RustType::from_proto.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
See
RustType::into_proto.