Class GeometrySerializer
java.lang.Object
org.apache.sedona.common.geometrySerde.GeometrySerializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.locationtech.jts.geom.Geometrydeserialize(byte[] bytes) static org.locationtech.jts.geom.Geometrydeserialize(org.apache.sedona.common.geometrySerde.GeometryBuffer buffer) static org.locationtech.jts.geom.Geometrydeserialize(org.apache.sedona.common.geometrySerde.GeometryBuffer buffer, org.locationtech.jts.geom.GeometryFactory factory) static byte[]serialize(org.locationtech.jts.geom.Geometry geometry)
-
Constructor Details
-
GeometrySerializer
public GeometrySerializer()
-
-
Method Details
-
serialize
public static byte[] serialize(org.locationtech.jts.geom.Geometry geometry) -
deserialize
public static org.locationtech.jts.geom.Geometry deserialize(byte[] bytes) -
deserialize
public static org.locationtech.jts.geom.Geometry deserialize(org.apache.sedona.common.geometrySerde.GeometryBuffer buffer) -
deserialize
public static org.locationtech.jts.geom.Geometry deserialize(org.apache.sedona.common.geometrySerde.GeometryBuffer buffer, org.locationtech.jts.geom.GeometryFactory factory)
-