Class GeometrySerde
java.lang.Object
com.esotericsoftware.kryo.Serializer
org.apache.sedona.common.geometrySerde.GeometrySerde
- All Implemented Interfaces:
Serializable
Provides methods to efficiently serialize and deserialize geometry types.
Supports Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, GeometryCollection, Circle, Envelope, and Geography types.
First byte contains GeometrySerde.Type.id. Then go type-specific bytes, followed by user-data
attached to the geometry.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.esotericsoftware.kryo.Serializer
copy, getAcceptsNull, isImmutable, setAcceptsNull, setGenerics, setImmutable
-
Constructor Details
-
GeometrySerde
public GeometrySerde()
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output out, Object object) - Specified by:
writein classcom.esotericsoftware.kryo.Serializer
-
read
public Object read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class aClass) - Specified by:
readin classcom.esotericsoftware.kryo.Serializer
-