Class NoOpMetadataManager
java.lang.Object
org.apache.drill.exec.physical.impl.scan.project.NoOpMetadataManager
- All Implemented Interfaces:
MetadataManager
Do-nothing implementation of the metadata manager. Allows the
metadata manager to be optional without needing an if-statement
on every access.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bind
(ResultVectorCache vectorCache) void
close()
Event indicating the end of a scan.void
define()
Define (materialize) the columns which this manager represents.void
endFile()
Event indicating the end of a file (or other data source.)void
load
(int rowCount) Load data into the custom columns, if needed (such as for null or implicit columns.)resolver()
-
Constructor Details
-
NoOpMetadataManager
public NoOpMetadataManager()
-
-
Method Details
-
bind
- Specified by:
bind
in interfaceMetadataManager
-
projectionParser
- Specified by:
projectionParser
in interfaceMetadataManager
-
resolver
- Specified by:
resolver
in interfaceMetadataManager
-
define
public void define()Description copied from interface:MetadataManager
Define (materialize) the columns which this manager represents.- Specified by:
define
in interfaceMetadataManager
-
load
public void load(int rowCount) Description copied from interface:MetadataManager
Load data into the custom columns, if needed (such as for null or implicit columns.)- Specified by:
load
in interfaceMetadataManager
- Parameters:
rowCount
- number of rows read into a batch.
-
endFile
public void endFile()Description copied from interface:MetadataManager
Event indicating the end of a file (or other data source.)- Specified by:
endFile
in interfaceMetadataManager
-
close
public void close()Description copied from interface:MetadataManager
Event indicating the end of a scan.- Specified by:
close
in interfaceMetadataManager
-