Class StatCalculator
java.lang.Object
org.apache.sedona.core.spatialRddTool.StatCalculator
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StatCalculatoradd(StatCalculator agg, org.locationtech.jts.geom.Geometry object) static org.locationtech.jts.geom.Envelopeadd(org.locationtech.jts.geom.Envelope agg, org.locationtech.jts.geom.Geometry object) static StatCalculatorcombine(StatCalculator agg1, StatCalculator agg2) static org.locationtech.jts.geom.Envelopecombine(org.locationtech.jts.geom.Envelope agg1, org.locationtech.jts.geom.Envelope agg2) org.locationtech.jts.geom.EnvelopelonggetCount()
-
Constructor Details
-
StatCalculator
public StatCalculator(org.locationtech.jts.geom.Envelope boundary, long count)
-
-
Method Details
-
combine
- 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()
-