Class ProjectionFilter.TypeProjectionFilter
java.lang.Object
org.apache.drill.exec.physical.resultSet.impl.ProjectionFilter.BaseSchemaProjectionFilter
org.apache.drill.exec.physical.resultSet.impl.ProjectionFilter.TypeProjectionFilter
- All Implemented Interfaces:
ProjectionFilter
- Enclosing interface:
- ProjectionFilter
public static class ProjectionFilter.TypeProjectionFilter
extends ProjectionFilter.BaseSchemaProjectionFilter
Projection based on a non-strict provided schema which enforces the type of known
columns, but has no opinion about additional columns.
If the column is found, enforces that the reader schema has the same type and mode as the provided column.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.drill.exec.physical.resultSet.impl.ProjectionFilter
ProjectionFilter.BaseSchemaProjectionFilter, ProjectionFilter.CompoundProjectionFilter, ProjectionFilter.DirectProjectionFilter, ProjectionFilter.ImplicitProjectionFilter, ProjectionFilter.ProjResult, ProjectionFilter.SchemaProjectionFilter, ProjectionFilter.TypeProjectionFilter
-
Field Summary
Fields inherited from class org.apache.drill.exec.physical.resultSet.impl.ProjectionFilter.BaseSchemaProjectionFilter
errorContext, schema
Fields inherited from interface org.apache.drill.exec.physical.resultSet.impl.ProjectionFilter
logger, NOT_PROJECTED, PROJECT_ALL, PROJECT_NONE, PROJECTED
-
Constructor Summary
ConstructorDescriptionTypeProjectionFilter
(TupleMetadata providedSchema, CustomErrorContext errorContext) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isProjected
(String name) projection
(ColumnMetadata col) Methods inherited from class org.apache.drill.exec.physical.resultSet.impl.ProjectionFilter.BaseSchemaProjectionFilter
isEmpty, validateColumn, validateMap
-
Constructor Details
-
TypeProjectionFilter
-
-
Method Details
-
projection
-
isProjected
-