pub struct StatisticsArgs { /* private fields */ }Expand description
Arguments passed to ExecutionPlan::statistics_from_inputs carrying
external information that operators can use when computing their
statistics.
Implementations§
Source§impl StatisticsArgs
impl StatisticsArgs
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates new statistics arguments.
By default the partition is set to None (statistics should be computed
for the entire plan).
Sourcepub fn set_partition(&mut self, partition: Option<usize>)
pub fn set_partition(&mut self, partition: Option<usize>)
Set the partition to compute statistics
Nonemeans statistics should be computed for the entire plan.Some(idx)means statistics should be computed for the specified partition index.
Sourcepub fn with_partition(self, partition: Option<usize>) -> Self
pub fn with_partition(self, partition: Option<usize>) -> Self
Builder Style API for Self::set_partition
Trait Implementations§
Source§impl Clone for StatisticsArgs
impl Clone for StatisticsArgs
Source§fn clone(&self) -> StatisticsArgs
fn clone(&self) -> StatisticsArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StatisticsArgs
impl Debug for StatisticsArgs
Source§impl Default for StatisticsArgs
impl Default for StatisticsArgs
Source§fn default() -> StatisticsArgs
fn default() -> StatisticsArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StatisticsArgs
impl RefUnwindSafe for StatisticsArgs
impl Send for StatisticsArgs
impl Sync for StatisticsArgs
impl Unpin for StatisticsArgs
impl UnsafeUnpin for StatisticsArgs
impl UnwindSafe for StatisticsArgs
Blanket Implementations§
impl<T> Allocation for T
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more