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
The class must be declared inside a package, like a normal class. Defining the class inside another class on the contrary may not work and throw errors like "Failed to register classes with Kryo" due to java.lang.NoSuchMethodException when trying to call the constructor.
- Alphabetic
- By Inheritance
- KryoRegistrator
- KryoRegistrator
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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( ... ) @native()
-
def
defaultSerializers: Seq[(Class[_], Class[_ <: Serializer[_]])]
Returns a sequence of custom Serializer classes indexed by the class they refer to.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @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: Seq[Class[_]]
Returns a sequence of user defined classes to be registered.
-
def
userClassesWithSerializers: Seq[(Class[_], Serializer[_])]
Returns a sequence of user defined classes and their serializers to be registered.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()