Class RexUtil.ExprSimplifier

java.lang.Object
org.apache.calcite.rex.RexShuttle
org.apache.calcite.rex.RexUtil.ExprSimplifier
All Implemented Interfaces:
org.apache.calcite.rex.RexVisitor<org.apache.calcite.rex.RexNode>
Enclosing class:
RexUtil

@Deprecated public static class RexUtil.ExprSimplifier extends org.apache.calcite.rex.RexShuttle
Deprecated.
Deep expressions simplifier.

This class is broken because it does not change the value of RexUnknownAs as it recurses into an expression. Do not use.

  • Constructor Summary

    Constructors
    Constructor
    Description
    ExprSimplifier(org.apache.calcite.rex.RexSimplify simplify)
    Deprecated.
     
    ExprSimplifier(org.apache.calcite.rex.RexSimplify simplify, boolean matchNullability)
    Deprecated.
     
    ExprSimplifier(org.apache.calcite.rex.RexSimplify simplify, org.apache.calcite.rex.RexUnknownAs unknownAs, boolean matchNullability)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.calcite.rex.RexNode
    visitCall(org.apache.calcite.rex.RexCall call)
    Deprecated.
     

    Methods inherited from class org.apache.calcite.rex.RexShuttle

    apply, apply, mutate, visitArray, visitCorrelVariable, visitDynamicParam, visitFieldAccess, visitFieldCollations, visitInputRef, visitList, visitLiteral, visitLocalRef, visitOver, visitPatternFieldRef, visitRangeRef, visitSubQuery, visitTableInputRef, visitWindow

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.calcite.rex.RexVisitor

    visitEach, visitList, visitList
  • Constructor Details

    • ExprSimplifier

      public ExprSimplifier(org.apache.calcite.rex.RexSimplify simplify)
      Deprecated.
    • ExprSimplifier

      public ExprSimplifier(org.apache.calcite.rex.RexSimplify simplify, boolean matchNullability)
      Deprecated.
    • ExprSimplifier

      public ExprSimplifier(org.apache.calcite.rex.RexSimplify simplify, org.apache.calcite.rex.RexUnknownAs unknownAs, boolean matchNullability)
      Deprecated.
  • Method Details

    • visitCall

      public org.apache.calcite.rex.RexNode visitCall(org.apache.calcite.rex.RexCall call)
      Deprecated.
      Specified by:
      visitCall in interface org.apache.calcite.rex.RexVisitor<org.apache.calcite.rex.RexNode>
      Overrides:
      visitCall in class org.apache.calcite.rex.RexShuttle