IResultSet.UpdateNCharacterStream Method

Definition

Overloads

UpdateNCharacterStream(Int32, Reader)

Updates the designated column with a character stream value.

UpdateNCharacterStream(String, Reader)

Updates the designated column with a character stream value.

UpdateNCharacterStream(Int32, Reader, Int64)

Updates the designated column with a character stream value, which will have the specified number of bytes.

UpdateNCharacterStream(String, Reader, Int64)

Updates the designated column with a character stream value, which will have the specified number of bytes.

UpdateNCharacterStream(Int32, Reader)

Updates the designated column with a character stream value.

[Android.Runtime.Register("updateNCharacterStream", "(ILjava/io/Reader;)V", "GetUpdateNCharacterStream_ILjava_io_Reader_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateNCharacterStream (int columnIndex, Java.IO.Reader? x);
[<Android.Runtime.Register("updateNCharacterStream", "(ILjava/io/Reader;)V", "GetUpdateNCharacterStream_ILjava_io_Reader_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateNCharacterStream : int * Java.IO.Reader -> unit

Parameters

columnIndex
Int32

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

x
Reader

the new column value

Attributes

Exceptions

Remarks

Updates the designated column with a character stream value. The data will be read from the stream as needed until end-of-stream is reached. The driver does the necessary conversion from Java character format to the national character set in the database. It is intended for use when updating NCHAR,NVARCHAR and LONGNVARCHAR columns.

The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

<B>Note:</B> Consult your JDBC driver documentation to determine if it might be more efficient to use a version of updateNCharacterStream which takes a length parameter.

Added in 1.6.

Java documentation for java.sql.ResultSet.updateNCharacterStream(int, java.io.Reader).

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

UpdateNCharacterStream(String, Reader)

Updates the designated column with a character stream value.

[Android.Runtime.Register("updateNCharacterStream", "(Ljava/lang/String;Ljava/io/Reader;)V", "GetUpdateNCharacterStream_Ljava_lang_String_Ljava_io_Reader_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateNCharacterStream (string? columnLabel, Java.IO.Reader? reader);
[<Android.Runtime.Register("updateNCharacterStream", "(Ljava/lang/String;Ljava/io/Reader;)V", "GetUpdateNCharacterStream_Ljava_lang_String_Ljava_io_Reader_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateNCharacterStream : string * Java.IO.Reader -> unit

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

reader
Reader

the java.io.Reader object containing the new column value

Attributes

Exceptions

Remarks

Updates the designated column with a character stream value. The data will be read from the stream as needed until end-of-stream is reached. The driver does the necessary conversion from Java character format to the national character set in the database. It is intended for use when updating NCHAR,NVARCHAR and LONGNVARCHAR columns.

The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

<B>Note:</B> Consult your JDBC driver documentation to determine if it might be more efficient to use a version of updateNCharacterStream which takes a length parameter.

Added in 1.6.

Java documentation for java.sql.ResultSet.updateNCharacterStream(java.lang.String, java.io.Reader).

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

UpdateNCharacterStream(Int32, Reader, Int64)

Updates the designated column with a character stream value, which will have the specified number of bytes.

[Android.Runtime.Register("updateNCharacterStream", "(ILjava/io/Reader;J)V", "GetUpdateNCharacterStream_ILjava_io_Reader_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateNCharacterStream (int columnIndex, Java.IO.Reader? x, long length);
[<Android.Runtime.Register("updateNCharacterStream", "(ILjava/io/Reader;J)V", "GetUpdateNCharacterStream_ILjava_io_Reader_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateNCharacterStream : int * Java.IO.Reader * int64 -> unit

Parameters

columnIndex
Int32

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

x
Reader

the new column value

length
Int64

the length of the stream

Attributes

Exceptions

Remarks

Updates the designated column with a character stream value, which will have the specified number of bytes. The driver does the necessary conversion from Java character format to the national character set in the database. It is intended for use when updating NCHAR,NVARCHAR and LONGNVARCHAR columns.

The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Added in 1.6.

Java documentation for java.sql.ResultSet.updateNCharacterStream(int, java.io.Reader, long).

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

UpdateNCharacterStream(String, Reader, Int64)

Updates the designated column with a character stream value, which will have the specified number of bytes.

[Android.Runtime.Register("updateNCharacterStream", "(Ljava/lang/String;Ljava/io/Reader;J)V", "GetUpdateNCharacterStream_Ljava_lang_String_Ljava_io_Reader_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateNCharacterStream (string? columnLabel, Java.IO.Reader? reader, long length);
[<Android.Runtime.Register("updateNCharacterStream", "(Ljava/lang/String;Ljava/io/Reader;J)V", "GetUpdateNCharacterStream_Ljava_lang_String_Ljava_io_Reader_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateNCharacterStream : string * Java.IO.Reader * int64 -> unit

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

reader
Reader

the java.io.Reader object containing the new column value

length
Int64

the length of the stream

Attributes

Exceptions

Remarks

Updates the designated column with a character stream value, which will have the specified number of bytes. The driver does the necessary conversion from Java character format to the national character set in the database. It is intended for use when updating NCHAR,NVARCHAR and LONGNVARCHAR columns.

The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Added in 1.6.

Java documentation for java.sql.ResultSet.updateNCharacterStream(java.lang.String, java.io.Reader, long).

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