Class FileScanFramework.FileReaderFactory

java.lang.Object
org.apache.drill.exec.physical.impl.scan.file.FileScanFramework.FileReaderFactory
All Implemented Interfaces:
ManagedScanFramework.ReaderFactory
Direct Known Subclasses:
HDF5FormatPlugin.HDF5ReaderFactory
Enclosing class:
FileScanFramework

public abstract static class FileScanFramework.FileReaderFactory extends Object implements ManagedScanFramework.ReaderFactory
Iterates over the splits for the present scan. For each, creates a new reader. The file framework passes the file split (and the Drill file system) in via the schema negotiator at open time. This protocol makes clear that the constructor for the reader should do nothing; work should be done in the open() call.