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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(ResultVectorCache vectorCache) voidclose()Event indicating the end of a scan.voiddefine()Define (materialize) the columns which this manager represents.voidendFile()Event indicating the end of a file (or other data source.)voidload(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:
bindin interfaceMetadataManager
-
projectionParser
- Specified by:
projectionParserin interfaceMetadataManager
-
resolver
- Specified by:
resolverin interfaceMetadataManager
-
define
public void define()Description copied from interface:MetadataManagerDefine (materialize) the columns which this manager represents.- Specified by:
definein interfaceMetadataManager
-
load
public void load(int rowCount) Description copied from interface:MetadataManagerLoad data into the custom columns, if needed (such as for null or implicit columns.)- Specified by:
loadin interfaceMetadataManager- Parameters:
rowCount- number of rows read into a batch.
-
endFile
public void endFile()Description copied from interface:MetadataManagerEvent indicating the end of a file (or other data source.)- Specified by:
endFilein interfaceMetadataManager
-
close
public void close()Description copied from interface:MetadataManagerEvent indicating the end of a scan.- Specified by:
closein interfaceMetadataManager
-