Package org.apache.iceberg.data.avro
Class DataReader<T>
java.lang.Object
org.apache.iceberg.data.avro.DataReader<T>
- All Implemented Interfaces:
- org.apache.avro.io.DatumReader<T>,- SupportsRowPosition
@Deprecated
public class DataReader<T>
extends Object
implements org.apache.avro.io.DatumReader<T>, SupportsRowPosition
Deprecated.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedDataReader(Schema expectedSchema, org.apache.avro.Schema readSchema, Map<Integer, ?> idToConstant) Deprecated.
- 
Method SummaryModifier and TypeMethodDescriptionstatic <D> DataReader<D> Deprecated.static <D> DataReader<D> Deprecated.protected ValueReader<?> createStructReader(Types.StructType struct, List<ValueReader<?>> fields, Map<Integer, ?> idToConstant) Deprecated.Deprecated.voidsetRowPositionSupplier(Supplier<Long> posSupplier) Deprecated.voidsetSchema(org.apache.avro.Schema newFileSchema) Deprecated.
- 
Constructor Details
- 
Method Details- 
createDeprecated.
- 
createpublic static <D> DataReader<D> create(Schema expectedSchema, org.apache.avro.Schema readSchema, Map<Integer, ?> idToConstant) Deprecated.
- 
setSchemapublic void setSchema(org.apache.avro.Schema newFileSchema) Deprecated.- Specified by:
- setSchemain interface- org.apache.avro.io.DatumReader<T>
 
- 
readDeprecated.- Specified by:
- readin interface- org.apache.avro.io.DatumReader<T>
- Throws:
- IOException
 
- 
setRowPositionSupplierDeprecated.- Specified by:
- setRowPositionSupplierin interface- SupportsRowPosition
 
- 
createStructReaderprotected ValueReader<?> createStructReader(Types.StructType struct, List<ValueReader<?>> fields, Map<Integer, ?> idToConstant) Deprecated.
 
- 
PlannedDataReaderinstead.