Class StaticColumnLoader
java.lang.Object
org.apache.drill.exec.physical.impl.scan.project.StaticColumnLoader
- Direct Known Subclasses:
ConstantColumnLoader
,NullColumnLoader
Base class for columns that take values based on the
reader, not individual rows. E.g. null columns (values
are all null) or file metadata (AKA "implicit") columns
that take values based on the file.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final ResultSetLoader
protected final ResultVectorCache
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
abstract VectorContainer
load
(int rowCount) Populate static vectors with the defined static values.
-
Field Details
-
loader
-
vectorCache
-
-
Constructor Details
-
StaticColumnLoader
-
-
Method Details
-
load
Populate static vectors with the defined static values.- Parameters:
rowCount
- number of rows to generate. Must match the row count in the batch returned by the reader
-
close
public void close()
-