Class FlinkPlannedAvroReader

  • All Implemented Interfaces:
    org.apache.avro.io.DatumReader<org.apache.flink.table.data.RowData>, SupportsRowPosition

    public class FlinkPlannedAvroReader
    extends java.lang.Object
    implements org.apache.avro.io.DatumReader<org.apache.flink.table.data.RowData>, SupportsRowPosition
    • Method Detail

      • setSchema

        public void setSchema​(org.apache.avro.Schema fileSchema)
        Specified by:
        setSchema in interface org.apache.avro.io.DatumReader<org.apache.flink.table.data.RowData>
      • read

        public org.apache.flink.table.data.RowData read​(org.apache.flink.table.data.RowData reuse,
                                                        org.apache.avro.io.Decoder decoder)
                                                 throws java.io.IOException
        Specified by:
        read in interface org.apache.avro.io.DatumReader<org.apache.flink.table.data.RowData>
        Throws:
        java.io.IOException