Class BasicScanFactory
java.lang.Object
org.apache.drill.exec.physical.impl.scan.framework.BasicScanFactory
- All Implemented Interfaces:
ManagedScanFramework.ReaderFactory
Basic reader builder for simple non-file readers. Includes only
schema negotiation, but no implicit columns. Readers are assumed
to be created ahead of time and passed into the framework
in the constructor.
This form is designed to simplify conversion of existing readers. While it provides a simple first step, readers should perform further conversion to create readers on the fly rather than up front.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bind
(ManagedScanFramework framework) ManagedReader<? extends SchemaNegotiator>
next()
-
Constructor Details
-
BasicScanFactory
-
-
Method Details
-
bind
- Specified by:
bind
in interfaceManagedScanFramework.ReaderFactory
-
next
- Specified by:
next
in interfaceManagedScanFramework.ReaderFactory
-