Class EventDeSerializationSchema

    • Constructor Detail

      • EventDeSerializationSchema

        public EventDeSerializationSchema()
    • Method Detail

      • serialize

        public byte[] serialize​(Event evt)
        Description copied from interface: SerializationSchema
        Serializes the incoming element to a specified type.
        Specified by:
        serialize in interface SerializationSchema<Event>
        Parameters:
        evt - The incoming element to be serialized
        Returns:
        The serialized element.
      • isEndOfStream

        public boolean isEndOfStream​(Event nextElement)
        Description copied from interface: DeserializationSchema
        Method to decide whether the element signals the end of the stream. If true is returned the element won't be emitted.
        Specified by:
        isEndOfStream in interface DeserializationSchema<Event>
        Parameters:
        nextElement - The element to test for the end-of-stream signal.
        Returns:
        True, if the element signals end of stream, false otherwise.