Class SerializerChain

java.lang.Object
spark.serialization.SerializerChain

public final class SerializerChain extends Object
Chain of serializers for the output.
  • Field Details

  • Constructor Details

    • SerializerChain

      public SerializerChain()
      Constructs a serializer chain.
  • Method Details

    • process

      public void process(OutputStream outputStream, Object element) throws IOException
      Process the output.
      Parameters:
      outputStream - the output stream to write to.
      element - the element to serialize.
      Throws:
      IOException - in the case of IO error.