Class ShortcutUtils


  • @Internal
    public final class ShortcutUtils
    extends Object
    Utilities for quick access of commonly used instances (like FlinkTypeFactory) without long chains of getters or casting like (FlinkTypeFactory) agg.getCluster.getTypeFactory().
    • Method Detail

      • unwrapTypeFactory

        public static org.apache.flink.table.planner.calcite.FlinkTypeFactory unwrapTypeFactory​(org.apache.calcite.sql.SqlOperatorBinding operatorBinding)
      • unwrapTypeFactory

        public static org.apache.flink.table.planner.calcite.FlinkTypeFactory unwrapTypeFactory​(org.apache.calcite.rel.RelNode relNode)
      • unwrapTypeFactory

        public static org.apache.flink.table.planner.calcite.FlinkTypeFactory unwrapTypeFactory​(org.apache.calcite.plan.RelOptCluster cluster)
      • unwrapTypeFactory

        public static org.apache.flink.table.planner.calcite.FlinkTypeFactory unwrapTypeFactory​(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
      • unwrapTypeFactory

        public static org.apache.flink.table.planner.calcite.FlinkTypeFactory unwrapTypeFactory​(RelBuilder relBuilder)
      • unwrapTypeFactory

        public static org.apache.flink.table.planner.calcite.FlinkTypeFactory unwrapTypeFactory​(Planner planner)
      • unwrapContext

        public static org.apache.flink.table.planner.calcite.FlinkContext unwrapContext​(RelBuilder relBuilder)
      • unwrapContext

        public static org.apache.flink.table.planner.calcite.FlinkContext unwrapContext​(org.apache.calcite.rel.RelNode relNode)
      • unwrapContext

        public static org.apache.flink.table.planner.calcite.FlinkContext unwrapContext​(org.apache.calcite.plan.RelOptCluster cluster)
      • unwrapContext

        public static org.apache.flink.table.planner.calcite.FlinkContext unwrapContext​(org.apache.calcite.plan.RelOptPlanner planner)
      • unwrapContext

        public static org.apache.flink.table.planner.calcite.FlinkContext unwrapContext​(org.apache.calcite.plan.RelOptRuleCall call)
      • unwrapContext

        public static org.apache.flink.table.planner.calcite.FlinkContext unwrapContext​(org.apache.calcite.plan.Context context)
      • unwrapTableConfig

        public static TableConfig unwrapTableConfig​(org.apache.calcite.rel.RelNode relNode)
      • unwrapTableConfig

        public static TableConfig unwrapTableConfig​(org.apache.calcite.plan.RelOptRuleCall relOptRuleCall)
      • unwrapTableConfig

        public static TableConfig unwrapTableConfig​(org.apache.calcite.plan.RelOptCluster relOptCluster)
      • unwrapClassLoader

        public static ClassLoader unwrapClassLoader​(org.apache.calcite.rel.RelNode relNode)
      • unwrapFunctionDefinition

        @Nullable
        public static FunctionDefinition unwrapFunctionDefinition​(org.apache.calcite.rex.RexNode rexNode)