Class SparkSessionFactory.SparkKryoRegistrator

  • All Implemented Interfaces:
    org.apache.spark.serializer.KryoRegistrator
    Enclosing class:
    SparkSessionFactory

    public static class SparkSessionFactory.SparkKryoRegistrator
    extends java.lang.Object
    implements org.apache.spark.serializer.KryoRegistrator
    KryoRegistrator for Spark to serialize broadcast variables used for side-inputs.

    Note, this registrator must be public to be accessible for Kryo.

    See Also:
    SideInputValues
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void registerClasses​(com.esotericsoftware.kryo.Kryo kryo)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SparkKryoRegistrator

        public SparkKryoRegistrator()
    • Method Detail

      • registerClasses

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