Package org.apache.avro.io
Interface FastReaderBuilder.FieldReader
- All Superinterfaces:
DatumReader<Object>
- All Known Subinterfaces:
FastReaderBuilder.ReusingFieldReader
- All Known Implementing Classes:
FastReaderBuilder.MapReader,FastReaderBuilder.RecordReader
- Enclosing class:
FastReaderBuilder
-
Method Summary
-
Method Details
-
read
Description copied from interface:DatumReaderRead a datum. Traverse the schema, depth-first, reading all leaf values in the schema into a datum that is returned. If the provided datum is non-null it may be reused and returned.- Specified by:
readin interfaceDatumReader<Object>- Throws:
IOException
-
canReuse
default boolean canReuse() -
setSchema
Description copied from interface:DatumReaderSet the writer's schema.- Specified by:
setSchemain interfaceDatumReader<Object>
-