Class ReduceDecimalsRule.BinaryArithmeticExpander

    • Constructor Detail

      • BinaryArithmeticExpander

        private BinaryArithmeticExpander​(RexBuilder builder)
    • Method Detail

      • analyzeOperands

        private void analyzeOperands​(java.util.List<RexNode> operands)
        Convenience method for reading characteristics of operands (such as scale, precision, whole digits) into an ArithmeticExpander. The operands are restricted by the following contraints:
        • there are exactly two operands
        • both are exact numeric types
      • expandComparison

        private RexNode expandComparison​(RexCall call,
                                         java.util.List<RexNode> operands)