Uses of Class
oracle.sql.NUMBER
-
Packages that use NUMBER Package Description oracle.jdbc Beginning in Oracle9i, the Oracle extensions to JDBC are captured in the packageoracle.jdbc.oracle.sql A package of classes that represent java SQL types and Oracle specific SQL types.oracle.sql.json The API for JSON type in Oracle Database. -
- <section role="region">
Uses of NUMBER in oracle.jdbc
Methods in oracle.jdbc that return NUMBER Modifier and Type Method Description NUMBEROracleConnection. createNUMBER(boolean value)Creates a new NUMBER that has the given value.NUMBEROracleConnection. createNUMBER(byte value)Creates a new NUMBER that has the given value.NUMBEROracleConnection. createNUMBER(double value)Creates a new NUMBER that has the given value.NUMBEROracleConnection. createNUMBER(float value)Creates a new NUMBER that has the given value.NUMBEROracleConnection. createNUMBER(int value)Creates a new NUMBER that has the given value.NUMBEROracleConnection. createNUMBER(long value)Creates a new NUMBER that has the given value.NUMBEROracleConnection. createNUMBER(short value)Creates a new NUMBER that has the given value.NUMBEROracleConnection. createNUMBER(String value, int scale)Creates a new NUMBER that has the given value and scale.NUMBEROracleConnection. createNUMBER(BigDecimal value)Creates a new NUMBER that has the given value.NUMBEROracleConnection. createNUMBER(BigInteger value)Creates a new NUMBER that has the given value.NUMBEROracleConnectionWrapper. createNUMBER(boolean value)Creates a new NUMBER that has the given value.NUMBEROracleConnectionWrapper. createNUMBER(byte value)Creates a new NUMBER that has the given value.NUMBEROracleConnectionWrapper. createNUMBER(double value)Creates a new NUMBER that has the given value.NUMBEROracleConnectionWrapper. createNUMBER(float value)Creates a new NUMBER that has the given value.NUMBEROracleConnectionWrapper. createNUMBER(int value)Creates a new NUMBER that has the given value.NUMBEROracleConnectionWrapper. createNUMBER(long value)Creates a new NUMBER that has the given value.NUMBEROracleConnectionWrapper. createNUMBER(short value)Creates a new NUMBER that has the given value.NUMBEROracleConnectionWrapper. createNUMBER(String value, int scale)Creates a new NUMBER that has the given value and scale.NUMBEROracleConnectionWrapper. createNUMBER(BigDecimal value)Creates a new NUMBER that has the given value.NUMBEROracleConnectionWrapper. createNUMBER(BigInteger value)Creates a new NUMBER that has the given value.NUMBEROracleCallableStatement. getNUMBER(int parameterIndex)Retrieves data into anoracle.sql.NUMBERobject.NUMBEROracleResultSet. getNUMBER(int columnIndex)Oracle extension.NUMBEROracleResultSet. getNUMBER(String columnName)Oracle extension.
</section>Methods in oracle.jdbc with parameters of type NUMBER Modifier and Type Method Description voidOracleCallableStatement. setNUMBER(String parameterName, NUMBER x)Sets the designated parameter to anoracle.sql.NUMBERvalue.voidOraclePreparedStatement. setNUMBER(int parameterIndex, NUMBER num)Binds the designated parameter to aoracle.sql.NUMBERvalue.voidOraclePreparedStatement. setNUMBERAtName(String parameterName, NUMBER value)Sets the designated parameter to anoracle.sql.NUMBERvalue.voidOracleResultSet. updateNUMBER(int columnIndex, NUMBER value)Oracle extension.voidOracleResultSet. updateNUMBER(String columnName, NUMBER value)Oracle extension. - <section role="region">
Uses of NUMBER in oracle.sql
Methods in oracle.sql that return NUMBER Modifier and Type Method Description NUMBERNUMBER. abs()Returns a new NUMBER object initialized to the absolute value of NUMBER.NUMBERNUMBER. acos()Returns a new NUMBER object initialized to the arc cosine value of NUMBER.NUMBERNUMBER. add(NUMBER n)Returns a new NUMBER object initialized to the value of the addition of the NUMBER value and n.NUMBERNUMBER. asin()Returns a new NUMBER object initialized to the arc sine value of NUMBER.NUMBERNUMBER. atan()Returns a new NUMBER object initialized to the arc tangent value of NUMBER.NUMBERNUMBER. atan2(NUMBER x)Returns a new NUMBER object initialized to the value of atan2(NUMBER/x).NUMBERNUMBER. ceil()Returns a new NUMBER object initialized to the ceiling of NUMBER value.NUMBERNUMBER. cos()Returns a new NUMBER object initialized to the cosine value of NUMBER.NUMBERNUMBER. cosh()Returns a new NUMBER object initialized to the hyperbolic cosine value of NUMBER.NUMBERNUMBER. decrement()Returns a new NUMBER object initialized to the NUMBER value decremented by 1.NUMBERDATE. diffInMonths(DATE date)Calculates the difference between two dates in months.NUMBERNUMBER. div(NUMBER n)Returns a new NUMBER object initialized to the division of NUMBER value by n.static NUMBERNUMBER. e()Returns a new NUMBER object initialized to the value of e.NUMBERNUMBER. exp()Returns a new NUMBER object initialized to the value of e raised to NUMBER value.NUMBERNUMBER. floatingPointRound(int precision)Returns a new NUMBER object initialized to Number rounded to precision significant decimal digits.NUMBERNUMBER. floor()Returns a new NUMBER object initialized to the floor of NUMBER value.static NUMBERNUMBER. formattedTextToNumber(String num, String fmt, String lang)Returns a NUMBER converted from Num controlled by the format fmt.NUMBERNUMBER. increment()Returns a new NUMBER object initialized to the NUMBER value incremented by 1.NUMBERNUMBER. ln()Returns a new NUMBER object initialized to the natural logarithm of the NUMBER value.static NUMBERNUMBER. ln10()Returns a new NUMBER object initialized to the value of ln(10).NUMBERNUMBER. log(NUMBER base)Returns a new NUMBER object initialized to the logarithm to the base base of the NUMBER value.NUMBERNUMBER. mod(NUMBER n)Returns a new NUMBER object initialized to the remainder of the division of NUMBER/n.NUMBERNUMBER. mul(NUMBER n)Returns a new NUMBER object initialized to product of NUMBER and n.NUMBERNUMBER. negate()Returns a new NUMBER object initialized to the negated NUMBER value.static NUMBERNUMBER. negInf()Returns a new NUMBER object initialized to negative infinity.static NUMBERNUMBER. pi()Returns a new NUMBER object initialized to the value of pi.static NUMBERNUMBER. posInf()Returns a new NUMBER object initialized to positive infinity.NUMBERNUMBER. pow(int exp)Returns a new NUMBER object initialized to NUMBER value raised to the exp power.NUMBERNUMBER. pow(NUMBER exp)Returns a new NUMBER object initialized to the value of NUMBER value raised to the exp power.NUMBERNUMBER. round(int decimal_place)Returns a new NUMBER object initialized to the NUMBER value rounded to specified decimal place decimal_place.NUMBERNUMBER. scale(int left, int right, boolean[] big)Returns a new NUMBER object initialized to the value determined by the rounding performed based on the right parameter below.NUMBERNUMBER. shift(int digits)Returns a new NUMBER object initialized the NUMBER value shifted digits decimal places.NUMBERNUMBER. sin()Returns a new NUMBER object initialized to the sine of the NUMBER.NUMBERNUMBER. sinh()Returns a new NUMBER object initialized to the hyperbolic sine of NUMBER.NUMBERNUMBER. sqroot()Returns a new NUMBER object initialized to the square root of NUMBER.NUMBERNUMBER. sub(NUMBER n)Returns a new NUMBER object initialized to the difference of NUMBER and n.NUMBERNUMBER. tan()Returns a new NUMBER object initialized to the tangent of NUMBER.NUMBERNUMBER. tanh()Returns a new NUMBER object initialized to the hyperbolic tangent of Number.static NUMBERNUMBER. textToPrecisionNumber(String num, boolean precflag, int preclen, boolean scaleflag, int scalelen, String lang)Returns a NUMBER object initialized to the value in num as described below.NUMBERDATE. toNumber()Converts date to an Oracle Number.NUMBERNUMBER. truncate(int decimal_place)Returns a new NUMBER object initialized to the NUMBER value truncated to specified decimal place decimal_place.static NUMBERNUMBER. zero()Returns a new NUMBER object initialized to zero.
</section>Methods in oracle.sql with parameters of type NUMBER Modifier and Type Method Description NUMBERNUMBER. add(NUMBER n)Returns a new NUMBER object initialized to the value of the addition of the NUMBER value and n.NUMBERNUMBER. atan2(NUMBER x)Returns a new NUMBER object initialized to the value of atan2(NUMBER/x).intNUMBER. compareTo(NUMBER n)Returns -1 if NUMBER is less than n, 0 if NUMBER and n are equal (==), 1 if NUMBER is greater than n.NUMBERNUMBER. div(NUMBER n)Returns a new NUMBER object initialized to the division of NUMBER value by n.NUMBERNUMBER. log(NUMBER base)Returns a new NUMBER object initialized to the logarithm to the base base of the NUMBER value.NUMBERNUMBER. mod(NUMBER n)Returns a new NUMBER object initialized to the remainder of the division of NUMBER/n.NUMBERNUMBER. mul(NUMBER n)Returns a new NUMBER object initialized to product of NUMBER and n.static voidDATE. numberToJulianDays(NUMBER num, int[] julianDay, int[] julianSec)Converts an Oracle NUMBER to Julian days and secondsNUMBERNUMBER. pow(NUMBER exp)Returns a new NUMBER object initialized to the value of NUMBER value raised to the exp power.NUMBERNUMBER. sub(NUMBER n)Returns a new NUMBER object initialized to the difference of NUMBER and n. - <section role="region">
Uses of NUMBER in oracle.sql.json
</section>Methods in oracle.sql.json that return NUMBER Modifier and Type Method Description NUMBEROracleJsonDecimal. getNUMBER()Returns this binary value as aoracle.sql.NUMBER
- <section role="region">