Class RexImpTable.BinaryImplementor

    • Field Detail

      • COMP_OP_TYPES

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

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

        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
        Parameters:
        translator - translator to implement the code
        call - call to implement
        expressions - arguments of a call
        Returns:
        expression that implements given call
      • anyAnyOperands

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