pub fn new_all_null(total_count: u64, distinct_count: Option<u64>) -> Self {
        let min = None;
        let max = None;
        let null_count = Some(total_count);

        if let Some(count) = distinct_count {
            assert!(count > 0);
        }
        Self::new_with_distinct(
            min,
            max,
            total_count,
            null_count,
            distinct_count.map(|c| NonZeroU64::new(c).unwrap()),
        )
    }
/// Create statistics for a column that only has nulls up to now
Create statistics for a column that only has nulls up to now
Create statistics for a column that only has nulls up to now
pub fn new_all_null(total_count: u64, distinct_count: Option<u64>) -> Self {
        let min = None;
        let max = None;
        let null_count = Some(total_count);
        if let Some(count) = distinct_count {
            assert!(count > 0);
        }
        Self::new_with_distinct(
            min,
            max,
            total_count,
            null_count,
            distinct_count.map(|c| NonZeroU64::new(c).unwrap()),
        )
    }
pub fn new_all_null ( total_count : u64 , distinct_count : Option < u64 > ) -> Self { let min = None ; let max = None ; let null_count = Some ( total_count ) ; if let Some ( count ) = distinct_count { assert ! ( count 0 ) ; } Self :: new_with_distinct ( min , max , total_count , null_count , distinct_count . map ( | c | NonZeroU64 :: new ( c ) . unwrap ( ) ) , ) }
Create statistics for a column that only has nulls up to now
Create statistics for a column that only has nulls up to now
total_count
u64
distinct_count
Option<u64>
total_count
u64
distinct_count
Option<u64>