Class FlinkPravegaDynamicDeserializationSchema

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.flink.api.common.serialization.DeserializationSchema

        org.apache.flink.api.common.serialization.DeserializationSchema.InitializationContext
    • Constructor Summary

      Constructors 
      Constructor Description
      FlinkPravegaDynamicDeserializationSchema​(org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.table.data.RowData> typeInfo, int physicalArity, java.util.List<java.lang.String> metadataKeys, org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData> nestedSchema)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.flink.table.data.RowData deserialize​(byte[] message)  
      org.apache.flink.table.data.RowData deserialize​(byte[] message, io.pravega.client.stream.EventRead<java.nio.ByteBuffer> eventRead)  
      void deserialize​(byte[] message, io.pravega.client.stream.EventRead<java.nio.ByteBuffer> eventRead, org.apache.flink.util.Collector<org.apache.flink.table.data.RowData> out)  
      void deserialize​(byte[] message, org.apache.flink.util.Collector<org.apache.flink.table.data.RowData> out)  
      org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.table.data.RowData> getProducedType()  
      boolean isEndOfStream​(org.apache.flink.table.data.RowData nextElement)  
      void open​(org.apache.flink.api.common.serialization.DeserializationSchema.InitializationContext context)  
      • Methods inherited from class java.lang.Object

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

      • FlinkPravegaDynamicDeserializationSchema

        public FlinkPravegaDynamicDeserializationSchema​(org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.table.data.RowData> typeInfo,
                                                        int physicalArity,
                                                        java.util.List<java.lang.String> metadataKeys,
                                                        org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData> nestedSchema)
    • Method Detail

      • open

        public void open​(org.apache.flink.api.common.serialization.DeserializationSchema.InitializationContext context)
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • deserialize

        public org.apache.flink.table.data.RowData deserialize​(byte[] message)
                                                        throws java.io.IOException
        Specified by:
        deserialize in interface org.apache.flink.api.common.serialization.DeserializationSchema<org.apache.flink.table.data.RowData>
        Overrides:
        deserialize in class PravegaDeserializationSchemaWithMetadata<org.apache.flink.table.data.RowData>
        Throws:
        java.io.IOException
      • deserialize

        public void deserialize​(byte[] message,
                                org.apache.flink.util.Collector<org.apache.flink.table.data.RowData> out)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • deserialize

        public org.apache.flink.table.data.RowData deserialize​(byte[] message,
                                                               io.pravega.client.stream.EventRead<java.nio.ByteBuffer> eventRead)
                                                        throws java.io.IOException
        Specified by:
        deserialize in class PravegaDeserializationSchemaWithMetadata<org.apache.flink.table.data.RowData>
        Throws:
        java.io.IOException
      • deserialize

        public void deserialize​(byte[] message,
                                io.pravega.client.stream.EventRead<java.nio.ByteBuffer> eventRead,
                                org.apache.flink.util.Collector<org.apache.flink.table.data.RowData> out)
                         throws java.io.IOException
        Overrides:
        deserialize in class PravegaDeserializationSchemaWithMetadata<org.apache.flink.table.data.RowData>
        Throws:
        java.io.IOException
      • isEndOfStream

        public boolean isEndOfStream​(org.apache.flink.table.data.RowData nextElement)
      • getProducedType

        public org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.table.data.RowData> getProducedType()