#[non_exhaustive]pub struct StringColumnStatisticsDataBuilder { /* private fields */ }
Expand description
A builder for StringColumnStatisticsData
.
Implementations§
source§impl StringColumnStatisticsDataBuilder
impl StringColumnStatisticsDataBuilder
sourcepub fn maximum_length(self, input: i64) -> Self
pub fn maximum_length(self, input: i64) -> Self
The size of the longest string in the column.
This field is required.sourcepub fn set_maximum_length(self, input: Option<i64>) -> Self
pub fn set_maximum_length(self, input: Option<i64>) -> Self
The size of the longest string in the column.
sourcepub fn get_maximum_length(&self) -> &Option<i64>
pub fn get_maximum_length(&self) -> &Option<i64>
The size of the longest string in the column.
sourcepub fn average_length(self, input: f64) -> Self
pub fn average_length(self, input: f64) -> Self
The average string length in the column.
This field is required.sourcepub fn set_average_length(self, input: Option<f64>) -> Self
pub fn set_average_length(self, input: Option<f64>) -> Self
The average string length in the column.
sourcepub fn get_average_length(&self) -> &Option<f64>
pub fn get_average_length(&self) -> &Option<f64>
The average string length in the column.
sourcepub fn number_of_nulls(self, input: i64) -> Self
pub fn number_of_nulls(self, input: i64) -> Self
The number of null values in the column.
This field is required.sourcepub fn set_number_of_nulls(self, input: Option<i64>) -> Self
pub fn set_number_of_nulls(self, input: Option<i64>) -> Self
The number of null values in the column.
sourcepub fn get_number_of_nulls(&self) -> &Option<i64>
pub fn get_number_of_nulls(&self) -> &Option<i64>
The number of null values in the column.
sourcepub fn number_of_distinct_values(self, input: i64) -> Self
pub fn number_of_distinct_values(self, input: i64) -> Self
The number of distinct values in a column.
This field is required.sourcepub fn set_number_of_distinct_values(self, input: Option<i64>) -> Self
pub fn set_number_of_distinct_values(self, input: Option<i64>) -> Self
The number of distinct values in a column.
sourcepub fn get_number_of_distinct_values(&self) -> &Option<i64>
pub fn get_number_of_distinct_values(&self) -> &Option<i64>
The number of distinct values in a column.
sourcepub fn build(self) -> StringColumnStatisticsData
pub fn build(self) -> StringColumnStatisticsData
Consumes the builder and constructs a StringColumnStatisticsData
.
Trait Implementations§
source§impl Clone for StringColumnStatisticsDataBuilder
impl Clone for StringColumnStatisticsDataBuilder
source§fn clone(&self) -> StringColumnStatisticsDataBuilder
fn clone(&self) -> StringColumnStatisticsDataBuilder
Returns a copy 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 Default for StringColumnStatisticsDataBuilder
impl Default for StringColumnStatisticsDataBuilder
source§fn default() -> StringColumnStatisticsDataBuilder
fn default() -> StringColumnStatisticsDataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StringColumnStatisticsDataBuilder
impl PartialEq for StringColumnStatisticsDataBuilder
source§fn eq(&self, other: &StringColumnStatisticsDataBuilder) -> bool
fn eq(&self, other: &StringColumnStatisticsDataBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StringColumnStatisticsDataBuilder
Auto Trait Implementations§
impl Freeze for StringColumnStatisticsDataBuilder
impl RefUnwindSafe for StringColumnStatisticsDataBuilder
impl Send for StringColumnStatisticsDataBuilder
impl Sync for StringColumnStatisticsDataBuilder
impl Unpin for StringColumnStatisticsDataBuilder
impl UnwindSafe for StringColumnStatisticsDataBuilder
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> 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>
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 moreCreates a shared type from an unshared type.