AtomicCoder (Google Cloud Dataflow SDK 1.9.1 API)

Google Cloud Dataflow SDK for Java, version 1.9.1

Class AtomicCoder<T>

    • Constructor Detail

      • AtomicCoder

        protected AtomicCoder()
    • Method Detail

      • getCoderArguments

        public List<Coder<?>> getCoderArguments()
        Description copied from interface: Coder
        If this is a Coder for a parameterized type, returns the list of Coders being used for each of the parameters, or returns null if this cannot be done or this is not a parameterized type.
      • getInstanceComponents

        public static <T> List<Object> getInstanceComponents(T exampleValue)
        Returns a list of values contained in the provided example value, one per type parameter. If there are no type parameters, returns an empty list.

        Because AtomicCoder has no components, always returns an empty list.

        exampleValue - unused, but part of the latent interface expected by CoderFactories.fromStaticMethods(java.lang.Class<T>)

Cette page vous a-t-elle été utile ? Évaluez-la :

Envoyer des commentaires concernant…

Dataflow: Stream & Batch Processing
Besoin d'aide ? Consultez notre page d'assistance.