Package org.apache.iceberg.avro
Class ProjectionDatumReader<D>
java.lang.Object
org.apache.iceberg.avro.ProjectionDatumReader<D>
- All Implemented Interfaces:
- org.apache.avro.io.DatumReader<D>,- SupportsRowPosition
public class ProjectionDatumReader<D>
extends Object
implements org.apache.avro.io.DatumReader<D>, SupportsRowPosition
- 
Constructor SummaryConstructorsConstructorDescriptionProjectionDatumReader(Function<org.apache.avro.Schema, org.apache.avro.io.DatumReader<?>> getReader, Schema expectedSchema, Map<String, String> renames, NameMapping nameMapping) 
- 
Method Summary
- 
Constructor Details- 
ProjectionDatumReader
 
- 
- 
Method Details- 
setRowPositionSupplier- Specified by:
- setRowPositionSupplierin interface- SupportsRowPosition
 
- 
setSchemapublic void setSchema(org.apache.avro.Schema newFileSchema) - Specified by:
- setSchemain interface- org.apache.avro.io.DatumReader<D>
 
- 
read- Specified by:
- readin interface- org.apache.avro.io.DatumReader<D>
- Throws:
- IOException
 
 
-