Class MultiplexedAndGenericDeserializer<T,​G>

  • All Implemented Interfaces:
    io.pravega.client.stream.Serializer<io.pravega.schemaregistry.common.Either<T,​G>>

    public class MultiplexedAndGenericDeserializer<T,​G>
    extends AbstractDeserializer<io.pravega.schemaregistry.common.Either<T,​G>>
    • Field Summary

      • Fields inherited from interface io.pravega.client.stream.Serializer

        MAX_EVENT_SIZE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.pravega.schemaregistry.common.Either<T,​G> deserialize​(java.io.InputStream inputStream, io.pravega.schemaregistry.contract.data.SchemaInfo writerSchema, io.pravega.schemaregistry.contract.data.SchemaInfo readerSchema)  
      java.nio.ByteBuffer serialize​(T value)  
      • Methods inherited from class java.lang.Object

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

      • deserialize

        public final io.pravega.schemaregistry.common.Either<T,​G> deserialize​(java.io.InputStream inputStream,
                                                                                    io.pravega.schemaregistry.contract.data.SchemaInfo writerSchema,
                                                                                    io.pravega.schemaregistry.contract.data.SchemaInfo readerSchema)
                                                                             throws java.io.IOException
        Specified by:
        deserialize in class AbstractDeserializer<io.pravega.schemaregistry.common.Either<T,​G>>
        Throws:
        java.io.IOException
      • serialize

        public final java.nio.ByteBuffer serialize​(T value)
        Specified by:
        serialize in interface io.pravega.client.stream.Serializer<T>