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
ConstructorsConstructorDescriptionResolvedNullColumn(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, sourceIndexMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:ColumnProjectionThe name of the column as it appears in the output row (record batch.)- Specified by:
namein interfaceColumnProjection- Specified by:
namein interfaceNullColumnLoader.NullColumnSpec- Returns:
- the output column name
-
type
- Specified by:
typein interfaceNullColumnLoader.NullColumnSpec
-
setType
- Specified by:
setTypein interfaceNullColumnLoader.NullColumnSpec
-
schema
Description copied from class:ResolvedColumnReturn the type of this column. Used primarily by the schema smoothing mechanism.- Specified by:
schemain classResolvedColumn- Returns:
- the MaterializedField representation of this column
-
defaultValue
- Specified by:
defaultValuein interfaceNullColumnLoader.NullColumnSpec
-
toString
-