Class SampleModelSerializer
java.lang.Object
com.esotericsoftware.kryo.Serializer<SampleModel>
org.apache.sedona.common.raster.serde.SampleModelSerializer
Serializer for SampleModelState using Kryo. This is translated from the original JAI
implementation of writeObject and readObject.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<SampleModel> type) voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, SampleModel sampleModel) Methods inherited from class com.esotericsoftware.kryo.Serializer
copy, getAcceptsNull, isImmutable, setAcceptsNull, setGenerics, setImmutable
-
Constructor Details
-
SampleModelSerializer
public SampleModelSerializer()
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, SampleModel sampleModel) - Specified by:
writein classcom.esotericsoftware.kryo.Serializer<SampleModel>
-
read
public SampleModel read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<SampleModel> type) - Specified by:
readin classcom.esotericsoftware.kryo.Serializer<SampleModel>
-