Class StreamElementFilter.FromTimestamp

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.beam.sdk.transforms.ProcessFunction<StreamElement,​java.lang.Boolean>, org.apache.beam.sdk.transforms.SerializableFunction<StreamElement,​java.lang.Boolean>
    Enclosing class:
    StreamElementFilter

    static class StreamElementFilter.FromTimestamp
    extends java.lang.Object
    implements org.apache.beam.sdk.transforms.SerializableFunction<StreamElement,​java.lang.Boolean>
    Filter predicates that accepts elements with timestamp greater or equal the given timestamp.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private long timestamp  
    • Constructor Summary

      Constructors 
      Constructor Description
      FromTimestamp​(long timestamp)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean apply​(StreamElement input)  
      • Methods inherited from class java.lang.Object

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

      • timestamp

        private final long timestamp
    • Constructor Detail

      • FromTimestamp

        FromTimestamp​(long timestamp)
    • Method Detail

      • apply

        public java.lang.Boolean apply​(StreamElement input)
        Specified by:
        apply in interface org.apache.beam.sdk.transforms.ProcessFunction<StreamElement,​java.lang.Boolean>
        Specified by:
        apply in interface org.apache.beam.sdk.transforms.SerializableFunction<StreamElement,​java.lang.Boolean>