Class AdaptingGsonSerializer

  • All Implemented Interfaces:
    com.googlecode.cqengine.persistence.support.serialization.PojoSerializer<Bitemporal>

    public class AdaptingGsonSerializer
    extends Object
    implements com.googlecode.cqengine.persistence.support.serialization.PojoSerializer<Bitemporal>
    Author:
    Niklas Schlimm
    • Constructor Detail

    • Method Detail

      • serialize

        public byte[] serialize​(Bitemporal object)
        Specified by:
        serialize in interface com.googlecode.cqengine.persistence.support.serialization.PojoSerializer<Bitemporal>
      • deserialize

        public Bitemporal deserialize​(byte[] bytes)
        Specified by:
        deserialize in interface com.googlecode.cqengine.persistence.support.serialization.PojoSerializer<Bitemporal>
      • validateObjectIsRoundTripSerializable

        public static <O> boolean validateObjectIsRoundTripSerializable​(BarbelHistoContext context,
                                                                        O candidatePojo)