IRowSet.SetCharacterStream Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetCharacterStream(String, Reader, Int32) |
Sets the designated parameter to the given |
SetCharacterStream(Int32, Reader, Int32) |
Sets the designated parameter in this |
SetCharacterStream(String, Reader) |
Sets the designated parameter to the given |
SetCharacterStream(Int32, Reader) |
Sets the designated parameter in this |
SetCharacterStream(String, Reader, Int32)
Sets the designated parameter to the given Reader
object, which is the given number of characters long.
[Android.Runtime.Register("setCharacterStream", "(Ljava/lang/String;Ljava/io/Reader;I)V", "GetSetCharacterStream_Ljava_lang_String_Ljava_io_Reader_IHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetCharacterStream (string? parameterName, Java.IO.Reader? reader, int length);
[<Android.Runtime.Register("setCharacterStream", "(Ljava/lang/String;Ljava/io/Reader;I)V", "GetSetCharacterStream_Ljava_lang_String_Ljava_io_Reader_IHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetCharacterStream : string * Java.IO.Reader * int -> unit
Parameters
- parameterName
- String
the name of the parameter
- reader
- Reader
the java.io.Reader
object that
contains the UNICODE data used as the designated parameter
- length
- Int32
the number of characters in the stream
- Attributes
Exceptions
if an error occurs accessing the database.
Remarks
Sets the designated parameter to the given Reader
object, which is the given number of characters long. When a very large UNICODE value is input to a LONGVARCHAR
parameter, it may be more practical to send it via a java.io.Reader
object. The data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from UNICODE to the database char format.
<B>Note:</B> This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.
Added in 1.4.
Java documentation for javax.sql.RowSet.setCharacterStream(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
SetCharacterStream(Int32, Reader, Int32)
Sets the designated parameter in this RowSet
object's command
to the given java.io.Reader
value.
[Android.Runtime.Register("setCharacterStream", "(ILjava/io/Reader;I)V", "GetSetCharacterStream_ILjava_io_Reader_IHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetCharacterStream (int parameterIndex, Java.IO.Reader? reader, int length);
[<Android.Runtime.Register("setCharacterStream", "(ILjava/io/Reader;I)V", "GetSetCharacterStream_ILjava_io_Reader_IHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetCharacterStream : int * Java.IO.Reader * int -> unit
Parameters
- parameterIndex
- Int32
the first parameter is 1, the second is 2, ...
- reader
- Reader
the Reader
object that contains the UNICODE data
to be set
- length
- Int32
the number of characters in the stream
- Attributes
Exceptions
if an error occurs accessing the database.
Remarks
Sets the designated parameter in this RowSet
object's command to the given java.io.Reader
value. It may be more practical to send a very large UNICODE value via a java.io.Reader
rather than as a LONGVARCHAR
parameter. The driver will read the data from the stream as needed until it reaches end-of-file.
<B>Note:</B> This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.
Java documentation for javax.sql.RowSet.setCharacterStream(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
SetCharacterStream(String, Reader)
Sets the designated parameter to the given Reader
object.
[Android.Runtime.Register("setCharacterStream", "(Ljava/lang/String;Ljava/io/Reader;)V", "GetSetCharacterStream_Ljava_lang_String_Ljava_io_Reader_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetCharacterStream (string? parameterName, Java.IO.Reader? reader);
[<Android.Runtime.Register("setCharacterStream", "(Ljava/lang/String;Ljava/io/Reader;)V", "GetSetCharacterStream_Ljava_lang_String_Ljava_io_Reader_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetCharacterStream : string * Java.IO.Reader -> unit
Parameters
- parameterName
- String
the name of the parameter
- reader
- Reader
the java.io.Reader
object that contains the
Unicode data
- Attributes
Exceptions
if an error occurs accessing the database.
Remarks
Sets the designated parameter to the given Reader
object. When a very large UNICODE value is input to a LONGVARCHAR
parameter, it may be more practical to send it via a java.io.Reader
object. The data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from UNICODE to the database char format.
<B>Note:</B> This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.
<B>Note:</B> Consult your JDBC driver documentation to determine if it might be more efficient to use a version of setCharacterStream
which takes a length parameter.
Added in 1.6.
Java documentation for javax.sql.RowSet.setCharacterStream(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
SetCharacterStream(Int32, Reader)
Sets the designated parameter in this RowSet
object's command
to the given Reader
object.
[Android.Runtime.Register("setCharacterStream", "(ILjava/io/Reader;)V", "GetSetCharacterStream_ILjava_io_Reader_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetCharacterStream (int parameterIndex, Java.IO.Reader? reader);
[<Android.Runtime.Register("setCharacterStream", "(ILjava/io/Reader;)V", "GetSetCharacterStream_ILjava_io_Reader_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetCharacterStream : int * Java.IO.Reader -> unit
Parameters
- parameterIndex
- Int32
the first parameter is 1, the second is 2, ...
- reader
- Reader
the java.io.Reader
object that contains the
Unicode data
- Attributes
Exceptions
if an error occurs accessing the database.
Remarks
Sets the designated parameter in this RowSet
object's command to the given Reader
object. When a very large UNICODE value is input to a LONGVARCHAR
parameter, it may be more practical to send it via a java.io.Reader
object. The data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from UNICODE to the database char format.
<B>Note:</B> This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.
<B>Note:</B> Consult your JDBC driver documentation to determine if it might be more efficient to use a version of setCharacterStream
which takes a length parameter.
Added in 1.6.
Java documentation for javax.sql.RowSet.setCharacterStream(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.