pub struct DefaultGeoStatsAccumulatorFactory {}Expand description
Default accumulator for GeospatialStatistics
When this crate is built with geospatial support, this factory constructs a
[ParquetGeoStatsAccumulator] that ensures Geometry columns are written with
statistics when statistics for that column are enabled. Otherwise, this factory
returns a VoidGeoStatsAccumulator that never adds any geospatial statistics.
Bounding for Geography columns is not currently implemented by parquet-geospatial
and this factory will always return a VoidGeoStatsAccumulator.
Trait Implementations§
Source§impl Default for DefaultGeoStatsAccumulatorFactory
impl Default for DefaultGeoStatsAccumulatorFactory
Source§fn default() -> DefaultGeoStatsAccumulatorFactory
fn default() -> DefaultGeoStatsAccumulatorFactory
Returns the “default value” for a type. Read more
Source§impl GeoStatsAccumulatorFactory for DefaultGeoStatsAccumulatorFactory
impl GeoStatsAccumulatorFactory for DefaultGeoStatsAccumulatorFactory
Source§fn new_accumulator(
&self,
_descr: &ColumnDescPtr,
) -> Box<dyn GeoStatsAccumulator>
fn new_accumulator( &self, _descr: &ColumnDescPtr, ) -> Box<dyn GeoStatsAccumulator>
Create a new
GeoStatsAccumulator appropriate for the logical type of a given
ColumnDescPtrAuto Trait Implementations§
impl Freeze for DefaultGeoStatsAccumulatorFactory
impl RefUnwindSafe for DefaultGeoStatsAccumulatorFactory
impl Send for DefaultGeoStatsAccumulatorFactory
impl Sync for DefaultGeoStatsAccumulatorFactory
impl Unpin for DefaultGeoStatsAccumulatorFactory
impl UnwindSafe for DefaultGeoStatsAccumulatorFactory
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