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>)

이 페이지가 도움이 되었나요? 평가를 부탁드립니다.

다음에 대한 의견 보내기...

도움이 필요하시나요? 지원 페이지를 방문하세요.