I do not really understand this, and this may not be the answer. I got the impression that
diter = datafile.DataFileReader(..)
,
for data in diter:
....
, .
:
, datafile.DataFileReader , .
avro.io.BinaryDecoder, .
class BinaryDecoder(object):
"""Read leaf values."""
def __init__(self, reader):
"""
reader is a Python object on which we can call read, seek, and tell.
"""
self._reader = reader
, , - , , boto S3 .