Class PravegaCollector<T>

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.flink.util.Collector<T>

    public class PravegaCollector<T>
    extends java.lang.Object
    implements org.apache.flink.util.Collector<T>, java.io.Serializable
    A Pravega collector that supports deserializing bytes to several events.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PravegaCollector​(org.apache.flink.api.common.serialization.DeserializationSchema<T> deserializationSchema)  
    • Constructor Detail

      • PravegaCollector

        public PravegaCollector​(org.apache.flink.api.common.serialization.DeserializationSchema<T> deserializationSchema)
    • Method Detail

      • collect

        public void collect​(T record)
        Specified by:
        collect in interface org.apache.flink.util.Collector<T>
      • getRecords

        public java.util.Queue<T> getRecords()
      • isEndOfStreamSignalled

        public boolean isEndOfStreamSignalled()
      • close

        public void close()
        Specified by:
        close in interface org.apache.flink.util.Collector<T>