Class ReifyTimestampsAndWindowsFunction<K,​V>

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.spark.api.java.function.Function<org.apache.beam.sdk.util.WindowedValue<org.apache.beam.sdk.values.KV<K,​V>>,​org.apache.beam.sdk.values.KV<K,​org.apache.beam.sdk.util.WindowedValue<V>>>

    public class ReifyTimestampsAndWindowsFunction<K,​V>
    extends java.lang.Object
    implements org.apache.spark.api.java.function.Function<org.apache.beam.sdk.util.WindowedValue<org.apache.beam.sdk.values.KV<K,​V>>,​org.apache.beam.sdk.values.KV<K,​org.apache.beam.sdk.util.WindowedValue<V>>>
    Simple Function to bring the windowing information into the value from the implicit background representation of the PCollection.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.beam.sdk.values.KV<K,​org.apache.beam.sdk.util.WindowedValue<V>> call​(org.apache.beam.sdk.util.WindowedValue<org.apache.beam.sdk.values.KV<K,​V>> elem)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReifyTimestampsAndWindowsFunction

        public ReifyTimestampsAndWindowsFunction()
    • Method Detail

      • call

        public org.apache.beam.sdk.values.KV<K,​org.apache.beam.sdk.util.WindowedValue<V>> call​(org.apache.beam.sdk.util.WindowedValue<org.apache.beam.sdk.values.KV<K,​V>> elem)
                                                                                              throws java.lang.Exception
        Specified by:
        call in interface org.apache.spark.api.java.function.Function<K,​V>
        Throws:
        java.lang.Exception