Class ColumnDivisionExpression

  • All Implemented Interfaces:
    Serializable, Cloneable, Expression

    public class ColumnDivisionExpression
    extends ColumnAggregationExpression
    Deprecated.
    Use a formula
    Divides all values read from the field-list. This is almost the same as the formula [field1] / [field2] / field[3] / .. / [fieldn]. Values that are non-numeric or null are ignored.
    Author:
    Thomas Morgner
    See Also:
    Serialized Form
    • Constructor Detail

      • ColumnDivisionExpression

        public ColumnDivisionExpression()
        Deprecated.
        Default constructor.
    • Method Detail

      • getRoundingMode

        public int getRoundingMode()
        Deprecated.
        Returns the defined rounding mode. This influences the precision of the divide-operation.
        Returns:
        the rounding mode.
        See Also:
        BigDecimal.divide(java.math.BigDecimal, int)
      • setRoundingMode

        public void setRoundingMode​(int roundingMode)
        Deprecated.
        Defines the rounding mode. This influences the precision of the divide-operation.
        Parameters:
        roundingMode - the rounding mode.
        See Also:
        BigDecimal.divide(java.math.BigDecimal, int)
      • getScale

        public int getScale()
        Deprecated.
        Returns the scale for the divide-operation. The scale influences the precision of the division.
        Returns:
        the scale.
      • setScale

        public void setScale​(int scale)
        Deprecated.
        Defines the scale for the divide-operation. The scale influences the precision of the division.
        Parameters:
        scale - the scale.
      • getValue

        public Object getValue()
        Deprecated.
        Return the current expression value.
        Returns:
        the value of the function.