Package org.apache.iceberg.flink.data
Class FlinkPlannedAvroReader
java.lang.Object
org.apache.iceberg.flink.data.FlinkPlannedAvroReader
- All Implemented Interfaces:
org.apache.avro.io.DatumReader<org.apache.flink.table.data.RowData>,SupportsRowPosition
public class FlinkPlannedAvroReader
extends Object
implements org.apache.avro.io.DatumReader<org.apache.flink.table.data.RowData>, SupportsRowPosition
-
Method Summary
Modifier and TypeMethodDescriptionstatic FlinkPlannedAvroReaderstatic FlinkPlannedAvroReaderorg.apache.flink.table.data.RowDataread(org.apache.flink.table.data.RowData reuse, org.apache.avro.io.Decoder decoder) voidsetRowPositionSupplier(Supplier<Long> posSupplier) voidsetSchema(org.apache.avro.Schema fileSchema)
-
Method Details
-
create
-
create
-
setSchema
public void setSchema(org.apache.avro.Schema fileSchema) - Specified by:
setSchemain interfaceorg.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 IOException - Specified by:
readin interfaceorg.apache.avro.io.DatumReader<org.apache.flink.table.data.RowData>- Throws:
IOException
-
setRowPositionSupplier
- Specified by:
setRowPositionSupplierin interfaceSupportsRowPosition
-