Interface SparkSerDeUtils


public interface SparkSerDeUtils
  • Method Summary

    Modifier and Type
    Method
    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
  • Method Details

    • serialize

      <T> byte[] serialize(T o)
      Serialize an object using Java serialization
    • deserialize

      <T> T deserialize(byte[] bytes)
      Deserialize an object using Java serialization
    • deserialize

      <T> T deserialize(byte[] bytes, ClassLoader loader)
      Deserialize an object using Java serialization and the given ClassLoader
      Parameters:
      bytes - (undocumented)
      loader - (undocumented)
      Returns:
      (undocumented)