Function try_new_geo_stats_accumulator

Source
pub fn try_new_geo_stats_accumulator(
    descr: &ColumnDescPtr,
) -> Option<Box<dyn GeoStatsAccumulator>>
Expand description

Create a new GeoStatsAccumulator instance if descr represents a Geometry or Geography LogicalType

Returns a suitable GeoStatsAccumulator if descr represents a non-geospatial type or None otherwise.