Serializer — Task Serialization and Deserialization

newInstance Method


deserialize Method


supportsRelocationOfSerializedObjects Property

supportsRelocationOfSerializedObjects should be enabled (i.e. true) only when reordering the bytes of serialized objects in serialization stream output is equivalent to having re-ordered those elements prior to serializing them.

supportsRelocationOfSerializedObjects is disabled (i.e. false) by default.

KryoSerializer uses autoReset for supportsRelocationOfSerializedObjects.
supportsRelocationOfSerializedObjects is enabled in UnsafeRowSerializer.