Udostępnij za pośrednictwem


IResultSet.UpdateAsciiStream Method

Definition

Overloads

UpdateAsciiStream(Int32, Stream)

Updates the designated column with an ascii stream value.

UpdateAsciiStream(String, Stream)

Updates the designated column with an ascii stream value.

UpdateAsciiStream(Int32, Stream, Int32)

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

UpdateAsciiStream(Int32, Stream, Int64)

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

UpdateAsciiStream(String, Stream, Int32)

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

UpdateAsciiStream(String, Stream, Int64)

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

UpdateAsciiStream(Int32, Stream)

Updates the designated column with an ascii stream value.

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

Parameters

columnIndex
Int32

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

x
Stream

the new column value

Attributes

Exceptions

Remarks

Updates the designated column with an ascii 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 updateAsciiStream which takes a length parameter.

Added in 1.6.

Java documentation for java.sql.ResultSet.updateAsciiStream(int, java.io.InputStream).

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

UpdateAsciiStream(String, Stream)

Updates the designated column with an ascii stream value.

[Android.Runtime.Register("updateAsciiStream", "(Ljava/lang/String;Ljava/io/InputStream;)V", "GetUpdateAsciiStream_Ljava_lang_String_Ljava_io_InputStream_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateAsciiStream (string? columnLabel, System.IO.Stream? x);
[<Android.Runtime.Register("updateAsciiStream", "(Ljava/lang/String;Ljava/io/InputStream;)V", "GetUpdateAsciiStream_Ljava_lang_String_Ljava_io_InputStream_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateAsciiStream : string * System.IO.Stream -> 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

x
Stream

the new column value

Attributes

Exceptions

Remarks

Updates the designated column with an ascii 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 updateAsciiStream which takes a length parameter.

Added in 1.6.

Java documentation for java.sql.ResultSet.updateAsciiStream(java.lang.String, java.io.InputStream).

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

UpdateAsciiStream(Int32, Stream, Int32)

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

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

Parameters

columnIndex
Int32

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

x
Stream

the new column value

length
Int32

the length of the stream

Attributes

Exceptions

if a database error happens.

Remarks

Updates the designated column with an ascii 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.updateAsciiStream(int, java.io.InputStream, 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

UpdateAsciiStream(Int32, Stream, Int64)

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

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

Parameters

columnIndex
Int32

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

x
Stream

the new column value

length
Int64

the length of the stream

Attributes

Exceptions

Remarks

Updates the designated column with an ascii 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.updateAsciiStream(int, java.io.InputStream, 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

UpdateAsciiStream(String, Stream, Int32)

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

[Android.Runtime.Register("updateAsciiStream", "(Ljava/lang/String;Ljava/io/InputStream;I)V", "GetUpdateAsciiStream_Ljava_lang_String_Ljava_io_InputStream_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateAsciiStream (string? columnLabel, System.IO.Stream? x, int length);
[<Android.Runtime.Register("updateAsciiStream", "(Ljava/lang/String;Ljava/io/InputStream;I)V", "GetUpdateAsciiStream_Ljava_lang_String_Ljava_io_InputStream_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateAsciiStream : string * System.IO.Stream * 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

x
Stream

the new column value

length
Int32

the length of the stream

Attributes

Exceptions

if a database error happens.

Remarks

Updates the designated column with an ascii 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.updateAsciiStream(java.lang.String, java.io.InputStream, 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

UpdateAsciiStream(String, Stream, Int64)

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

[Android.Runtime.Register("updateAsciiStream", "(Ljava/lang/String;Ljava/io/InputStream;J)V", "GetUpdateAsciiStream_Ljava_lang_String_Ljava_io_InputStream_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateAsciiStream (string? columnLabel, System.IO.Stream? x, long length);
[<Android.Runtime.Register("updateAsciiStream", "(Ljava/lang/String;Ljava/io/InputStream;J)V", "GetUpdateAsciiStream_Ljava_lang_String_Ljava_io_InputStream_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateAsciiStream : string * System.IO.Stream * 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

x
Stream

the new column value

length
Int64

the length of the stream

Attributes

Exceptions

Remarks

Updates the designated column with an ascii 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.updateAsciiStream(java.lang.String, java.io.InputStream, 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