class KryoRegistrator extends org.apache.spark.serializer.KryoRegistrator
The extended version of org.apache.spark.serializer.KryoRegistrator provided by the processing library that registers important internal classes.
- Note
This class must be declared inside a package, like a normal class. Defining the class inside another class may not work and may throw errors such as: "Failed to register classes with Kryo" due to the java.lang.NoSuchMethodException when trying to call the constructor.
,This is a Java friendly version of com.here.platform.data.processing.spark.KryoRegistrator.
- Alphabetic
- By Inheritance
- KryoRegistrator
- KryoRegistrator
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new KryoRegistrator()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def defaultSerializers: List[Java.Pair[Class[_], Class[_ <: Serializer[_]]]]
Returns a list of custom Serializer classes indexed by the class they refer to.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def registerClasses(kryo: Kryo): Unit
- Definition Classes
- KryoRegistrator → KryoRegistrator
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def userClasses: List[Class[_]]
Returns a list of user defined classes to be registered.
- def userClassesWithSerializers: List[Java.Pair[Class[_], Serializer[_]]]
Returns a list of user defined classes and their serializers to be registered.
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)