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
ConstructorsModifierConstructorDescriptionprotectedPlannedDataReader(Schema expectedSchema, Map<Integer, ?> idToConstant) -
Method Summary
Modifier and TypeMethodDescriptionstatic <D> PlannedDataReader<D> static <D> PlannedDataReader<D> voidsetRowPositionSupplier(Supplier<Long> posSupplier) voidsetSchema(org.apache.avro.Schema fileSchema)
-
Constructor Details
-
PlannedDataReader
-
-
Method Details
-
create
-
create
-
setSchema
public void setSchema(org.apache.avro.Schema fileSchema) - Specified by:
setSchemain interfaceorg.apache.avro.io.DatumReader<T>
-
read
- Specified by:
readin interfaceorg.apache.avro.io.DatumReader<T>- Throws:
IOException
-
setRowPositionSupplier
- Specified by:
setRowPositionSupplierin interfaceSupportsRowPosition
-