Uses of Class
org.apache.druid.sql.calcite.rel.DruidRel
Packages that use DruidRel
Package
Description
-
Uses of DruidRel in org.apache.druid.sql.calcite.planner
Methods in org.apache.druid.sql.calcite.planner with parameters of type DruidRelModifier and TypeMethodDescriptionvoidNoOpPlannerHook.captureDruidRel(DruidRel<?> druidRel) voidPlannerHook.captureDruidRel(DruidRel<?> druidRel) Deprecated. -
Uses of DruidRel in org.apache.druid.sql.calcite.rel
Classes in org.apache.druid.sql.calcite.rel with type parameters of type DruidRelSubclasses of DruidRel in org.apache.druid.sql.calcite.relModifier and TypeClassDescriptionclassThis is the DruidRel to handle correlated rel nodes to be used for unnest.classDruidRel that uses aJoinDataSource.classDruidRel that uses aQueryDataSource.classDruidRel that operates on top of aDruidTabledirectly (no joining or subqueries).classRepresents a query on top of aUnionDataSource.classRepresents a "UNION ALL" of various inputDruidRel.classCaptures an unnest expression for a correlated join.Methods in org.apache.druid.sql.calcite.rel that return DruidRelModifier and TypeMethodDescriptionstatic DruidRel<?>DruidJoinQueryRel.getSomeDruidChild(org.apache.calcite.rel.RelNode child) Methods in org.apache.druid.sql.calcite.rel with parameters of type DruidRelModifier and TypeMethodDescriptionstatic booleanDruidCorrelateUnnestRel.computeLeftRequiresSubquery(DruidRel<?> left) Computes whether a particular left-side rel requires a subquery, or if we can operate on its underlying datasource directly.static booleanDruidJoinQueryRel.computeLeftRequiresSubquery(PlannerContext plannerContext, DruidRel<?> left, org.apache.calcite.rel.core.Join joinRel) static booleanDruidJoinQueryRel.computeRightRequiresSubquery(PlannerContext plannerContext, DruidRel<?> right) static DruidOuterQueryRelDruidOuterQueryRel.create(DruidRel sourceRel, PartialDruidQuery partialQuery) static RowSignatureDruidRels.dataSourceSignature(DruidRel<?> druidRel) Returns the signature of the datasource of aDruidRel.static Optional<DruidTable>DruidRels.druidTableIfLeafRel(DruidRel<?> druidRel) Returns the DataSource involved in a leaf query of classDruidQueryRel.static booleanDruidRels.isScanOrMapping(DruidRel<?> druidRel, boolean canBeJoinOrUnion) Check if a druidRel is a simple table scan, or a projection that merely remaps columns without transforming them.static booleanDruidRels.isScanOrProject(DruidRel<?> druidRel, boolean canBeJoinOrUnion) Check if a druidRel is a simple table scan or a scan + projection. -
Uses of DruidRel in org.apache.druid.sql.calcite.rule
Fields in org.apache.druid.sql.calcite.rule with type parameters of type DruidRelMethods in org.apache.druid.sql.calcite.rule with parameters of type DruidRelModifier and TypeMethodDescriptionbooleanDruidJoinRule.canHandleCondition(org.apache.calcite.rex.RexNode condition, org.apache.calcite.rel.type.RelDataType leftRowType, DruidRel<?> right, org.apache.calcite.rel.core.JoinRelType joinType, List<org.apache.calcite.rel.type.RelDataTypeField> systemFieldList, org.apache.calcite.rex.RexBuilder rexBuilder) Returns whether we can handle the join condition.static booleanDruidUnionDataSourceRule.isCompatible(org.apache.calcite.rel.core.Union unionRel, DruidRel<?> first, DruidRel<?> second, PlannerContext plannerContext)