SerializableCoder (Google Cloud Dataflow SDK 1.9.1 API)

Google Cloud Dataflow SDK for Java, version 1.9.1

Class SerializableCoder<T extends Serializable>

  • Type Parameters:
    T - the type of elements handled by this coder
    All Implemented Interfaces:
    Coder<T>, Serializable

    public class SerializableCoder<T extends Serializable>
    extends AtomicCoder<T>
    A Coder for Java classes that implement Serializable.

    To use, specify the coder type on a PCollection:

       PCollection<MyRecord> records =

    SerializableCoder does not guarantee a deterministic encoding, as Java serialization may produce different binary encodings for two equivalent objects.

    See Also:
    Serialized Form

Send feedback about...

Cloud Dataflow