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 Summary
ConstructorsModifierConstructorDescriptionprotectedDataReader(Schema expectedSchema, org.apache.avro.Schema readSchema, Map<Integer, ?> idToConstant) Deprecated. -
Method Summary
Modifier 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
-
create
Deprecated. -
create
public static <D> DataReader<D> create(Schema expectedSchema, org.apache.avro.Schema readSchema, Map<Integer, ?> idToConstant) Deprecated. -
setSchema
public void setSchema(org.apache.avro.Schema newFileSchema) Deprecated.- Specified by:
setSchemain interfaceorg.apache.avro.io.DatumReader<T>
-
read
Deprecated.- Specified by:
readin interfaceorg.apache.avro.io.DatumReader<T>- Throws:
IOException
-
setRowPositionSupplier
Deprecated.- Specified by:
setRowPositionSupplierin interfaceSupportsRowPosition
-
createStructReader
protected ValueReader<?> createStructReader(Types.StructType struct, List<ValueReader<?>> fields, Map<Integer, ?> idToConstant) Deprecated.
-
PlannedDataReaderinstead.