Class ResolvedNullColumn
java.lang.Object
org.apache.drill.exec.physical.impl.scan.project.ResolvedColumn
org.apache.drill.exec.physical.impl.scan.project.ResolvedNullColumn
- All Implemented Interfaces:
ColumnProjection
,NullColumnLoader.NullColumnSpec
Projected column that serves as both a resolved column (provides projection
mapping) and a null column spec (provides the information needed to create
the required null vectors.)
-
Constructor Summary
ConstructorDescriptionResolvedNullColumn
(String name, TypeProtos.MajorType type, String defaultValue, VectorSource source, int sourceIndex) ResolvedNullColumn
(ColumnMetadata colDefn, VectorSource source, int sourceIndex) -
Method Summary
Methods inherited from class org.apache.drill.exec.physical.impl.scan.project.ResolvedColumn
metadata, project, source, sourceIndex
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.drill.exec.physical.impl.scan.project.NullColumnLoader.NullColumnSpec
metadata
-
Constructor Details
-
ResolvedNullColumn
public ResolvedNullColumn(String name, TypeProtos.MajorType type, String defaultValue, VectorSource source, int sourceIndex) -
ResolvedNullColumn
-
-
Method Details
-
name
Description copied from interface:ColumnProjection
The name of the column as it appears in the output row (record batch.)- Specified by:
name
in interfaceColumnProjection
- Specified by:
name
in interfaceNullColumnLoader.NullColumnSpec
- Returns:
- the output column name
-
type
- Specified by:
type
in interfaceNullColumnLoader.NullColumnSpec
-
setType
- Specified by:
setType
in interfaceNullColumnLoader.NullColumnSpec
-
schema
Description copied from class:ResolvedColumn
Return the type of this column. Used primarily by the schema smoothing mechanism.- Specified by:
schema
in classResolvedColumn
- Returns:
- the MaterializedField representation of this column
-
defaultValue
- Specified by:
defaultValue
in interfaceNullColumnLoader.NullColumnSpec
-
toString
-