classUnsafeRowSerializer extends Serializer with Serializable
Serializer for serializing UnsafeRows during shuffle. Since UnsafeRows are already stored as
bytes, this serializer simply copies those bytes to the underlying output stream. When
deserializing a stream of rows, instances of this serializer mutate and return a single UnsafeRow
instance that is backed by an on-heap byte array.
Note that this serializer implements only the Serializer methods that are used during
shuffle, so certain SerializerInstance methods will throw UnsupportedOperationException.
Serializer for serializing UnsafeRows during shuffle. Since UnsafeRows are already stored as bytes, this serializer simply copies those bytes to the underlying output stream. When deserializing a stream of rows, instances of this serializer mutate and return a single UnsafeRow instance that is backed by an on-heap byte array.
Note that this serializer implements only the Serializer methods that are used during shuffle, so certain SerializerInstance methods will throw UnsupportedOperationException.