Freigeben über


IResultSet.UpdateCharacterStream Method

Definition

Overloads

UpdateCharacterStream(Int32, Reader)

Updates the designated column with a character stream value.

UpdateCharacterStream(String, Reader)

Updates the designated column with a character stream value.

UpdateCharacterStream(Int32, Reader, Int32)

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

UpdateCharacterStream(Int32, Reader, Int64)

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

UpdateCharacterStream(String, Reader, Int32)

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

UpdateCharacterStream(String, Reader, Int64)

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

UpdateCharacterStream(Int32, Reader)

Updates the designated column with a character stream value.

[Android.Runtime.Register("updateCharacterStream", "(ILjava/io/Reader;)V", "GetUpdateCharacterStream_ILjava_io_Reader_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateCharacterStream (int columnIndex, Java.IO.Reader? x);
[<Android.Runtime.Register("updateCharacterStream", "(ILjava/io/Reader;)V", "GetUpdateCharacterStream_ILjava_io_Reader_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateCharacterStream : 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 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 updateCharacterStream which takes a length parameter.

Added in 1.6.

Java documentation for java.sql.ResultSet.updateCharacterStream(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

UpdateCharacterStream(String, Reader)

Updates the designated column with a character stream value.

[Android.Runtime.Register("updateCharacterStream", "(Ljava/lang/String;Ljava/io/Reader;)V", "GetUpdateCharacterStream_Ljava_lang_String_Ljava_io_Reader_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateCharacterStream (string? columnLabel, Java.IO.Reader? reader);
[<Android.Runtime.Register("updateCharacterStream", "(Ljava/lang/String;Ljava/io/Reader;)V", "GetUpdateCharacterStream_Ljava_lang_String_Ljava_io_Reader_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateCharacterStream : 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 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 updateCharacterStream which takes a length parameter.

Added in 1.6.

Java documentation for java.sql.ResultSet.updateCharacterStream(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

UpdateCharacterStream(Int32, Reader, Int32)

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

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

Parameters

columnIndex
Int32

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

x
Reader

the new column value

length
Int32

the length of the stream

Attributes

Exceptions

if a database error happens.

Remarks

Updates the designated column with a character stream value, which will have the specified number of bytes. 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.2.

Java documentation for java.sql.ResultSet.updateCharacterStream(int, java.io.Reader, 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

UpdateCharacterStream(Int32, Reader, Int64)

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

[Android.Runtime.Register("updateCharacterStream", "(ILjava/io/Reader;J)V", "GetUpdateCharacterStream_ILjava_io_Reader_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateCharacterStream (int columnIndex, Java.IO.Reader? x, long length);
[<Android.Runtime.Register("updateCharacterStream", "(ILjava/io/Reader;J)V", "GetUpdateCharacterStream_ILjava_io_Reader_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateCharacterStream : 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 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.updateCharacterStream(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

UpdateCharacterStream(String, Reader, Int32)

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

[Android.Runtime.Register("updateCharacterStream", "(Ljava/lang/String;Ljava/io/Reader;I)V", "GetUpdateCharacterStream_Ljava_lang_String_Ljava_io_Reader_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateCharacterStream (string? columnLabel, Java.IO.Reader? reader, int length);
[<Android.Runtime.Register("updateCharacterStream", "(Ljava/lang/String;Ljava/io/Reader;I)V", "GetUpdateCharacterStream_Ljava_lang_String_Ljava_io_Reader_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateCharacterStream : string * Java.IO.Reader * int -> 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
Int32

the length of the stream

Attributes

Exceptions

if a database error happens.

Remarks

Updates the designated column with a character stream value, which will have the specified number of bytes. 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.2.

Java documentation for java.sql.ResultSet.updateCharacterStream(java.lang.String, java.io.Reader, 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

UpdateCharacterStream(String, Reader, Int64)

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

[Android.Runtime.Register("updateCharacterStream", "(Ljava/lang/String;Ljava/io/Reader;J)V", "GetUpdateCharacterStream_Ljava_lang_String_Ljava_io_Reader_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateCharacterStream (string? columnLabel, Java.IO.Reader? reader, long length);
[<Android.Runtime.Register("updateCharacterStream", "(Ljava/lang/String;Ljava/io/Reader;J)V", "GetUpdateCharacterStream_Ljava_lang_String_Ljava_io_Reader_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateCharacterStream : 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 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.updateCharacterStream(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