Class ByteArraySchema

  • All Implemented Interfaces:
    Serializable, org.apache.flink.api.common.serialization.DeserializationSchema<byte[]>, org.apache.flink.api.java.typeutils.ResultTypeQueryable<byte[]>, org.apache.flink.streaming.util.serialization.DeserializationSchema<byte[]>

    public class ByteArraySchema
    extends Object
    implements org.apache.flink.streaming.util.serialization.DeserializationSchema<byte[]>
    See Also:
    Serialized Form
    • Constructor Detail

      • ByteArraySchema

        public ByteArraySchema()
    • Method Detail

      • deserialize

        public byte[] deserialize​(byte[] bytes)
                           throws IOException
        Specified by:
        deserialize in interface org.apache.flink.api.common.serialization.DeserializationSchema<byte[]>
        Specified by:
        deserialize in interface org.apache.flink.streaming.util.serialization.DeserializationSchema<byte[]>
        Throws:
        IOException
      • isEndOfStream

        public boolean isEndOfStream​(byte[] bytes)
        Specified by:
        isEndOfStream in interface org.apache.flink.api.common.serialization.DeserializationSchema<byte[]>
        Specified by:
        isEndOfStream in interface org.apache.flink.streaming.util.serialization.DeserializationSchema<byte[]>
      • getProducedType

        public org.apache.flink.api.common.typeinfo.TypeInformation<byte[]> getProducedType()
        Specified by:
        getProducedType in interface org.apache.flink.api.java.typeutils.ResultTypeQueryable<byte[]>