public class PrelUtil extends Object
Constructor and Description |
---|
PrelUtil() |
Modifier and Type | Method and Description |
---|---|
static org.apache.calcite.plan.RelTraitSet |
fixTraits(org.apache.calcite.plan.RelOptPlanner cluster,
org.apache.calcite.plan.RelTraitSet set) |
static org.apache.calcite.plan.RelTraitSet |
fixTraits(org.apache.calcite.plan.RelOptRuleCall call,
org.apache.calcite.plan.RelTraitSet set) |
static int |
getLastUsedColumnReference(List<org.apache.calcite.rex.RexNode> projects) |
static List<Order.Ordering> |
getOrdering(org.apache.calcite.rel.RelCollation collation,
org.apache.calcite.rel.type.RelDataType rowType) |
static PlannerSettings |
getPlannerSettings(org.apache.calcite.plan.RelOptCluster cluster) |
static PlannerSettings |
getPlannerSettings(org.apache.calcite.plan.RelOptPlanner planner) |
static PlannerSettings |
getSettings(org.apache.calcite.plan.RelOptCluster cluster) |
static Iterator<Prel> |
iter(List<org.apache.calcite.rel.RelNode> nodes) |
static Iterator<Prel> |
iter(org.apache.calcite.rel.RelNode... nodes) |
static org.apache.calcite.plan.RelTraitSet |
removeCollation(org.apache.calcite.plan.RelTraitSet traitSet,
org.apache.calcite.plan.RelOptRuleCall call) |
static Prel |
removeSvIfRequired(Prel prel,
BatchSchema.SelectionVectorMode... allowed) |
public static List<Order.Ordering> getOrdering(org.apache.calcite.rel.RelCollation collation, org.apache.calcite.rel.type.RelDataType rowType)
public static PlannerSettings getSettings(org.apache.calcite.plan.RelOptCluster cluster)
public static PlannerSettings getPlannerSettings(org.apache.calcite.plan.RelOptCluster cluster)
public static PlannerSettings getPlannerSettings(org.apache.calcite.plan.RelOptPlanner planner)
public static Prel removeSvIfRequired(Prel prel, BatchSchema.SelectionVectorMode... allowed)
public static int getLastUsedColumnReference(List<org.apache.calcite.rex.RexNode> projects)
public static org.apache.calcite.plan.RelTraitSet fixTraits(org.apache.calcite.plan.RelOptRuleCall call, org.apache.calcite.plan.RelTraitSet set)
public static org.apache.calcite.plan.RelTraitSet fixTraits(org.apache.calcite.plan.RelOptPlanner cluster, org.apache.calcite.plan.RelTraitSet set)
public static org.apache.calcite.plan.RelTraitSet removeCollation(org.apache.calcite.plan.RelTraitSet traitSet, org.apache.calcite.plan.RelOptRuleCall call)
Copyright © 2022 The Apache Software Foundation. All rights reserved.