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
ConstructorsModifierConstructorDescriptionprotected
DataReader
(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.void
setRowPositionSupplier
(Supplier<Long> posSupplier) Deprecated.void
setSchema
(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:
setSchema
in interfaceorg.apache.avro.io.DatumReader<T>
-
read
Deprecated.- Specified by:
read
in interfaceorg.apache.avro.io.DatumReader<T>
- Throws:
IOException
-
setRowPositionSupplier
Deprecated.- Specified by:
setRowPositionSupplier
in interfaceSupportsRowPosition
-
createStructReader
protected ValueReader<?> createStructReader(Types.StructType struct, List<ValueReader<?>> fields, Map<Integer, ?> idToConstant) Deprecated.
-
PlannedDataReader
instead.