Class DrillRelOptUtil.ProjectPushInfo
java.lang.Object
org.apache.drill.exec.planner.common.DrillRelOptUtil.ProjectPushInfo
- Enclosing class:
- DrillRelOptUtil
Stores information about fields, their names and types.
Is responsible for creating mapper which used in field re-writer visitor.
-
Constructor Summary
ConstructorDescriptionProjectPushInfo
(List<SchemaPath> fields, Map<String, FieldsReWriterUtil.DesiredField> desiredFields) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.rel.type.RelDataType
createNewRowType
(org.apache.calcite.rel.type.RelDataTypeFactory factory) Creates new row type based on stores types and field names.
-
Constructor Details
-
ProjectPushInfo
public ProjectPushInfo(List<SchemaPath> fields, Map<String, FieldsReWriterUtil.DesiredField> desiredFields)
-
-
Method Details
-
getFields
-
getInputReWriter
-
createNewRowType
public org.apache.calcite.rel.type.RelDataType createNewRowType(org.apache.calcite.rel.type.RelDataTypeFactory factory) Creates new row type based on stores types and field names.- Parameters:
factory
- factory for data type descriptors.- Returns:
- new row type
-