Enum RexSimplify.SafeRexVisitor

    • Field Detail

      • safeOps

        private final java.util.Set<SqlKind> safeOps
    • Constructor Detail

      • SafeRexVisitor

        private SafeRexVisitor()
    • Method Detail

      • values

        public static RexSimplify.SafeRexVisitor[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (RexSimplify.SafeRexVisitor c : RexSimplify.SafeRexVisitor.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RexSimplify.SafeRexVisitor valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • visitCall

        public java.lang.Boolean visitCall​(RexCall call)
        Specified by:
        visitCall in interface RexVisitor<java.lang.Boolean>
      • visitOver

        public java.lang.Boolean visitOver​(RexOver over)
        Specified by:
        visitOver in interface RexVisitor<java.lang.Boolean>