Class StatCalculator

java.lang.Object
org.apache.sedona.core.spatialRddTool.StatCalculator
All Implemented Interfaces:
Serializable

public class StatCalculator extends Object implements Serializable
See Also:
  • Constructor Details

    • StatCalculator

      public StatCalculator(org.locationtech.jts.geom.Envelope boundary, long count)
  • Method Details

    • combine

      public static StatCalculator combine(StatCalculator agg1, StatCalculator agg2) throws Exception
      Throws:
      Exception
    • combine

      public static org.locationtech.jts.geom.Envelope combine(org.locationtech.jts.geom.Envelope agg1, org.locationtech.jts.geom.Envelope agg2) throws Exception
      Throws:
      Exception
    • add

      public static org.locationtech.jts.geom.Envelope add(org.locationtech.jts.geom.Envelope agg, org.locationtech.jts.geom.Geometry object) throws Exception
      Throws:
      Exception
    • add

      public static StatCalculator add(StatCalculator agg, org.locationtech.jts.geom.Geometry object) throws Exception
      Throws:
      Exception
    • getBoundary

      public org.locationtech.jts.geom.Envelope getBoundary()
    • getCount

      public long getCount()