public interface SparkSerDeUtils
Modifier and Type | Method and Description |
---|---|
<T> T |
deserialize(byte[] bytes)
Deserialize an object using Java serialization
|
<T> T |
deserialize(byte[] bytes,
ClassLoader loader)
Deserialize an object using Java serialization and the given ClassLoader
|
<T> byte[] |
serialize(T o)
Serialize an object using Java serialization
|
<T> byte[] serialize(T o)
<T> T deserialize(byte[] bytes)
<T> T deserialize(byte[] bytes, ClassLoader loader)
bytes
- (undocumented)loader
- (undocumented)