#[non_exhaustive]pub struct BinaryColumnStatisticsDataBuilder { /* private fields */ }Expand description
A builder for BinaryColumnStatisticsData.
Implementations§
source§impl BinaryColumnStatisticsDataBuilder
impl BinaryColumnStatisticsDataBuilder
sourcepub fn maximum_length(self, input: i64) -> Self
pub fn maximum_length(self, input: i64) -> Self
The size of the longest bit sequence 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 bit sequence in the column.
sourcepub fn get_maximum_length(&self) -> &Option<i64>
pub fn get_maximum_length(&self) -> &Option<i64>
The size of the longest bit sequence in the column.
sourcepub fn average_length(self, input: f64) -> Self
pub fn average_length(self, input: f64) -> Self
The average bit sequence 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 bit sequence length in the column.
sourcepub fn get_average_length(&self) -> &Option<f64>
pub fn get_average_length(&self) -> &Option<f64>
The average bit sequence 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 build(self) -> BinaryColumnStatisticsData
pub fn build(self) -> BinaryColumnStatisticsData
Consumes the builder and constructs a BinaryColumnStatisticsData.
Trait Implementations§
source§impl Clone for BinaryColumnStatisticsDataBuilder
impl Clone for BinaryColumnStatisticsDataBuilder
source§fn clone(&self) -> BinaryColumnStatisticsDataBuilder
fn clone(&self) -> BinaryColumnStatisticsDataBuilder
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 BinaryColumnStatisticsDataBuilder
impl Default for BinaryColumnStatisticsDataBuilder
source§fn default() -> BinaryColumnStatisticsDataBuilder
fn default() -> BinaryColumnStatisticsDataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BinaryColumnStatisticsDataBuilder
impl PartialEq for BinaryColumnStatisticsDataBuilder
source§fn eq(&self, other: &BinaryColumnStatisticsDataBuilder) -> bool
fn eq(&self, other: &BinaryColumnStatisticsDataBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BinaryColumnStatisticsDataBuilder
Auto Trait Implementations§
impl Freeze for BinaryColumnStatisticsDataBuilder
impl RefUnwindSafe for BinaryColumnStatisticsDataBuilder
impl Send for BinaryColumnStatisticsDataBuilder
impl Sync for BinaryColumnStatisticsDataBuilder
impl Unpin for BinaryColumnStatisticsDataBuilder
impl UnwindSafe for BinaryColumnStatisticsDataBuilder
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.