KvCoderBase (Google Cloud Dataflow SDK 1.9.1 API)

Google Cloud Dataflow SDK for Java, version 1.9.1

com.google.cloud.dataflow.sdk.coders

Class KvCoderBase<T>

  • Type Parameters:
    T - the type of values being transcoded
    All Implemented Interfaces:
    Coder<T>, Serializable
    Direct Known Subclasses:
    KvCoder

    Deprecated.

    @Deprecated
    public abstract class KvCoderBase<T>
    extends StandardCoder<T>
    A abstract base class for KvCoder. Works around a Jackson2 bug tickled when building KvCoder directly (as of this writing, Jackson2 walks off the end of an array when it tries to deserialize a class with multiple generic type parameters). This class should be removed when possible.
    See Also:
    Serialized Form
    • Constructor Detail

      • KvCoderBase

        protected KvCoderBase()
        Deprecated. 
    • Method Detail

      • of

        @Deprecated
        public static KvCoderBase<?> of(String typeId,
                                                    boolean isPairLike,
                                                    List<Coder<?>> components)
        Deprecated. 
        A constructor used only for decoding from JSON.
        Parameters:
        typeId - present in the JSON encoding, but unused
        isPairLike - present in the JSON encoding, but unused


Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Dataflow