Uses of Class
org.apache.drill.exec.planner.common.DrillProjectRelBase
Package
Description
-
Uses of DrillProjectRelBase in org.apache.drill.exec.planner.index
Modifier and TypeMethodDescriptionIndexCallContext.getLowerProject()
IndexLogicalPlanCallContext.getLowerProject()
IndexPhysicalPlanCallContext.getLowerProject()
IndexCallContext.getUpperProject()
IndexLogicalPlanCallContext.getUpperProject()
IndexPhysicalPlanCallContext.getUpperProject()
Modifier and TypeMethodDescriptionstatic org.apache.calcite.rel.RelCollation
IndexPlanUtils.buildCollationProject
(List<org.apache.calcite.rex.RexNode> projectRexs, DrillProjectRelBase project, org.apache.calcite.rel.RelNode input, FunctionalIndexInfo indexInfo, IndexCallContext context) Build collation property for project, the one closer to the Scanstatic Map<LogicalExpression,
Integer> IndexPlanUtils.getProjectExprs
(List<org.apache.calcite.rex.RexNode> projectRexs, DrillProjectRelBase project, org.apache.calcite.rel.RelNode input) static List<org.apache.calcite.rex.RexNode>
IndexPlanUtils.getProjects
(DrillProjectRelBase proj) static org.apache.calcite.rex.RexNode
IndexPlanUtils.rewriteFunctionalRex
(IndexCallContext indexContext, DrillParseContext parseContext, DrillProjectRelBase project, org.apache.calcite.rel.RelNode scan, org.apache.calcite.rex.RexNode toRewriteRex, org.apache.calcite.rel.type.RelDataType newRowType, FunctionalIndexInfo functionInfo) A RexNode forest with three RexNodes for expressions "cast(a.q as int) * 2, b+c, concat(a.q, " world")" on Scan RowType('a', 'b', 'c') will be like this: (0)Call:"*" Call:"concat" / \ / \ (1)Call:CAST 2 Call:"+" (5)Call:ITEM ' world' / \ / \ / \ (2)Call:ITEM TYPE:INT (3)$1 (4)$2 $0 'q' / \ $0 'q' So for above expressions, when visiting the RexNode trees using PathInExpr, we could mark indexed expressions in the trees, as shown in the diagram above are the node (1), then collect the schema paths in the indexed expression but found out of the indexed expression -- node (5), and other regular schema paths (3) (4)static LogicalExpression
RexToExpression.toDrill
(DrillParseContext context, DrillProjectRelBase project, org.apache.calcite.rel.RelNode input, org.apache.calcite.rex.RexNode expr) ModifierConstructorDescriptionRexToDrillExt
(DrillParseContext context, DrillProjectRelBase project, org.apache.calcite.rel.RelNode input) -
Uses of DrillProjectRelBase in org.apache.drill.exec.planner.index.generators
Modifier and TypeFieldDescriptionprotected final DrillProjectRelBase
AbstractIndexPlanGenerator.origProject
protected final DrillProjectRelBase
AbstractIndexPlanGenerator.upperProject
-
Uses of DrillProjectRelBase in org.apache.drill.exec.planner.logical
-
Uses of DrillProjectRelBase in org.apache.drill.exec.planner.physical
Modifier and TypeClassDescriptionclass
class
A physical Prel node for Project operator. -
Uses of DrillProjectRelBase in org.apache.drill.exec.store.plan.rel
Modifier and TypeClassDescriptionclass
Project implementation for Drill plugins.