Package org.apache.iceberg.data.avro
Class PlannedDataReader<T>
java.lang.Object
org.apache.iceberg.data.avro.PlannedDataReader<T>
- All Implemented Interfaces:
org.apache.avro.io.DatumReader<T>
,SupportsRowPosition
public class PlannedDataReader<T>
extends Object
implements org.apache.avro.io.DatumReader<T>, SupportsRowPosition
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
PlannedDataReader
(Schema expectedSchema, Map<Integer, ?> idToConstant) -
Method Summary
Modifier and TypeMethodDescriptionstatic <D> PlannedDataReader<D>
static <D> PlannedDataReader<D>
void
setRowPositionSupplier
(Supplier<Long> posSupplier) void
setSchema
(org.apache.avro.Schema fileSchema)
-
Constructor Details
-
PlannedDataReader
-
-
Method Details
-
create
-
create
-
setSchema
public void setSchema(org.apache.avro.Schema fileSchema) - Specified by:
setSchema
in interfaceorg.apache.avro.io.DatumReader<T>
-
read
- Specified by:
read
in interfaceorg.apache.avro.io.DatumReader<T>
- Throws:
IOException
-
setRowPositionSupplier
- Specified by:
setRowPositionSupplier
in interfaceSupportsRowPosition
-