Class RexImpTable.BinaryImplementor

    • Field Detail


        private static final java.util.List<Primitive> COMP_OP_TYPES
        Types that can be arguments to comparison operators such as <.

        private static final java.util.List<SqlBinaryOperator> COMPARISON_OPERATORS

        public static final java.lang.String METHOD_POSTFIX_FOR_ANY_TYPE
        See Also:
        Constant Field Values
      • backupMethodName

        private final java.lang.String backupMethodName
    • Constructor Detail

      • BinaryImplementor

        BinaryImplementor​(ExpressionType expressionType,
                          java.lang.String backupMethodName)
    • Method Detail

      • implement

        public Expression implement​(RexToLixTranslator translator,
                                    RexCall call,
                                    java.util.List<Expression> expressions)
        Description copied from interface: NotNullImplementor
        Implements a call with assumption that all the null-checking is implemented by caller.
        Specified by:
        implement in interface NotNullImplementor
        translator - translator to implement the code
        call - call to implement
        expressions - arguments of a call
        expression that implements given call
      • anyAnyOperands

        private boolean anyAnyOperands​(RexCall call)
        Returns whether any of a call's operands have ANY type.