TimestampedValue.TimestampedValueCoder (Google Cloud Dataflow SDK 1.9.1 API)

Google Cloud Dataflow SDK for Java, version 1.9.1


Class TimestampedValue.TimestampedValueCoder<T>

    • Method Detail

      • verifyDeterministic

        public void verifyDeterministic()
                                 throws Coder.NonDeterministicException
        Description copied from interface: Coder
        Throw Coder.NonDeterministicException if the coding is not deterministic.

        In order for a Coder to be considered deterministic, the following must be true:

        • two values that compare as equal (via Object.equals() or Comparable.compareTo(), if supported) have the same encoding.
        • the Coder always produces a canonical encoding, which is the same for an instance of an object even if produced on different computers at different times.

        Coder.NonDeterministicException - if this coder is not deterministic.
      • getCoderArguments

        public List<? extends 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.