AtomicCoder (Google Cloud Dataflow SDK 1.9.0 API)

com.google.cloud.dataflow.sdk.coders

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.

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


Send feedback about...

Cloud Dataflow