Class GeometrySerializer

java.lang.Object
org.apache.sedona.common.geometrySerde.GeometrySerializer

public class GeometrySerializer extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.locationtech.jts.geom.Geometry
    deserialize(byte[] bytes)
     
    static org.locationtech.jts.geom.Geometry
    deserialize(org.apache.sedona.common.geometrySerde.GeometryBuffer buffer)
     
    static org.locationtech.jts.geom.Geometry
    deserialize(org.apache.sedona.common.geometrySerde.GeometryBuffer buffer, org.locationtech.jts.geom.GeometryFactory factory)
     
    static byte[]
    serialize(org.locationtech.jts.geom.Geometry geometry)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)