Interface Numeric.Modifier<T>

Enclosing interface:
Numeric<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Numeric.Modifier<T>
Functional interface to obtain information from the PostgreSQL type modifier applied to the type.
  • Method Summary

    Modifier and Type
    Method
    Description
    modify(boolean specified, int precision, int scale)
    Returns a Numeric function possibly tailored ("curried") with the values from a PostgreSQL type modifier on the type.
  • Method Details

    • modify

      Numeric<T> modify(boolean specified, int precision, int scale)
      Returns a Numeric function possibly tailored ("curried") with the values from a PostgreSQL type modifier on the type.

      If specified, precision must be at least one and not greater than NUMERIC_MAX_PRECISION, and scale must be not less than NUMERIC_MIN_SCALE nor more than NUMERIC_MAX_SCALE.

      Parameters:
      specified - true if a type modifier was specified, false if omitted
      precision - the maximum number of base-ten digits to be retained, counting those on both sides of the decimal point
      scale - maximum number of base-ten digits to be retained to the right of the decimal point.