Udostępnij za pośrednictwem


IResultSet.GetBigDecimal Method

Definition

Overloads

GetBigDecimal(String, Int32)
Obsolete.

Retrieves the value of the designated column in the current row of this ResultSet object as a java.math.BigDecimal in the Java programming language.

GetBigDecimal(Int32, Int32)
Obsolete.

Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.BigDecimal in the Java programming language.

GetBigDecimal(Int32)

Retrieves the value of the designated column in the current row of this ResultSet object as a java.math.BigDecimal with full precision.

GetBigDecimal(String)

Retrieves the value of the designated column in the current row of this ResultSet object as a java.math.BigDecimal with full precision.

GetBigDecimal(String, Int32)

Caution

deprecated

Retrieves the value of the designated column in the current row of this ResultSet object as a java.math.BigDecimal in the Java programming language.

[Android.Runtime.Register("getBigDecimal", "(Ljava/lang/String;I)Ljava/math/BigDecimal;", "GetGetBigDecimal_Ljava_lang_String_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[System.Obsolete("deprecated")]
public Java.Math.BigDecimal? GetBigDecimal (string? columnLabel, int scale);
[<Android.Runtime.Register("getBigDecimal", "(Ljava/lang/String;I)Ljava/math/BigDecimal;", "GetGetBigDecimal_Ljava_lang_String_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<System.Obsolete("deprecated")>]
abstract member GetBigDecimal : string * int -> Java.Math.BigDecimal

Parameters

columnLabel
String

the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column

scale
Int32

the number of digits to the right of the decimal point

Returns

the column value; if the value is SQL NULL, the value returned is null

Attributes

Exceptions

if a database error happens.

Remarks

Retrieves the value of the designated column in the current row of this ResultSet object as a java.math.BigDecimal in the Java programming language.

This member is deprecated. Use getBigDecimal(int columnIndex) or getBigDecimal(String columnLabel)

Java documentation for java.sql.ResultSet.getBigDecimal(java.lang.String, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

GetBigDecimal(Int32, Int32)

Caution

deprecated

Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.BigDecimal in the Java programming language.

[Android.Runtime.Register("getBigDecimal", "(II)Ljava/math/BigDecimal;", "GetGetBigDecimal_IIHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[System.Obsolete("deprecated")]
public Java.Math.BigDecimal? GetBigDecimal (int columnIndex, int scale);
[<Android.Runtime.Register("getBigDecimal", "(II)Ljava/math/BigDecimal;", "GetGetBigDecimal_IIHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<System.Obsolete("deprecated")>]
abstract member GetBigDecimal : int * int -> Java.Math.BigDecimal

Parameters

columnIndex
Int32

the first column is 1, the second is 2, ...

scale
Int32

the number of digits to the right of the decimal point

Returns

the column value; if the value is SQL NULL, the value returned is null

Attributes

Exceptions

if a database error happens.

Remarks

Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.BigDecimal in the Java programming language.

This member is deprecated. Use getBigDecimal(int columnIndex) or getBigDecimal(String columnLabel)

Java documentation for java.sql.ResultSet.getBigDecimal(int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

GetBigDecimal(Int32)

Retrieves the value of the designated column in the current row of this ResultSet object as a java.math.BigDecimal with full precision.

[Android.Runtime.Register("getBigDecimal", "(I)Ljava/math/BigDecimal;", "GetGetBigDecimal_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Math.BigDecimal? GetBigDecimal (int columnIndex);
[<Android.Runtime.Register("getBigDecimal", "(I)Ljava/math/BigDecimal;", "GetGetBigDecimal_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetBigDecimal : int -> Java.Math.BigDecimal

Parameters

columnIndex
Int32

the first column is 1, the second is 2, ...

Returns

the column value (full precision); if the value is SQL NULL, the value returned is null in the Java programming language.

Attributes

Exceptions

if a database error happens.

Remarks

Retrieves the value of the designated column in the current row of this ResultSet object as a java.math.BigDecimal with full precision.

Added in 1.2.

Java documentation for java.sql.ResultSet.getBigDecimal(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

GetBigDecimal(String)

Retrieves the value of the designated column in the current row of this ResultSet object as a java.math.BigDecimal with full precision.

[Android.Runtime.Register("getBigDecimal", "(Ljava/lang/String;)Ljava/math/BigDecimal;", "GetGetBigDecimal_Ljava_lang_String_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Math.BigDecimal? GetBigDecimal (string? columnLabel);
[<Android.Runtime.Register("getBigDecimal", "(Ljava/lang/String;)Ljava/math/BigDecimal;", "GetGetBigDecimal_Ljava_lang_String_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetBigDecimal : string -> Java.Math.BigDecimal

Parameters

columnLabel
String

the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column

Returns

the column value (full precision); if the value is SQL NULL, the value returned is null in the Java programming language.

Attributes

Exceptions

if a database error happens.

Remarks

Retrieves the value of the designated column in the current row of this ResultSet object as a java.math.BigDecimal with full precision.

Added in 1.2.

Java documentation for java.sql.ResultSet.getBigDecimal(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to