In ApplyBitmapIndexRecordReader and ApplyBitmapIndexRecordReader, they will check the type of iterator which should be FileRecordIterator, it is always FileRecordIterator, and we should garrantee it by interface.
So we let FormatReaderFactory return FileRecordReader, and all related readers should be FileRecordReaders.
Purpose
In
ApplyBitmapIndexRecordReader
andApplyBitmapIndexRecordReader
, they will check the type of iterator which should beFileRecordIterator
, it is alwaysFileRecordIterator
, and we should garrantee it by interface.So we let FormatReaderFactory return FileRecordReader, and all related readers should be
FileRecordReader
s.Tests
API and Format
Documentation