Class FlinkPravegaUtils.FlinkDeserializer<T>

  • Type Parameters:
    T - The type of the event.
    All Implemented Interfaces:<T>
    Enclosing class:

    public static final class FlinkPravegaUtils.FlinkDeserializer<T>
    extends java.lang.Object
    A Pravega Serializer that wraps around a Flink DeserializationSchema.
    • Field Summary

      • Fields inherited from interface

    • Constructor Summary

      Constructor Description
      FlinkDeserializer​(org.apache.flink.api.common.serialization.DeserializationSchema<T> deserializationSchema)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T deserialize​(java.nio.ByteBuffer buffer)  
      java.nio.ByteBuffer serialize​(T value)  
      • Methods inherited from class java.lang.Object

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

      • FlinkDeserializer

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

      • serialize

        public java.nio.ByteBuffer serialize​(T value)
        Specified by:
        serialize in interface<T>
      • deserialize

        public T deserialize​(java.nio.ByteBuffer buffer)
        Specified by:
        deserialize in interface<T>