Class Registrator

  • All Implemented Interfaces:
    org.apache.spark.serializer.KryoRegistrator

    public class Registrator
    extends Object
    implements org.apache.spark.serializer.KryoRegistrator
    A custom KryoRegistrator that serializes Gaffer Entitys and Edges, as well as some of the DataSketches library. NB: It is not necessary to implement one for Elements as that is an abstract class.
    • Constructor Detail

      • Registrator

        public Registrator()
    • Method Detail

      • registerClasses

        public void registerClasses​(com.esotericsoftware.kryo.Kryo kryo)
        Specified by:
        registerClasses in interface org.apache.spark.serializer.KryoRegistrator