ISQLOutput Interface
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.
The output stream for writing the attributes of a user-defined type back to the database.
[Android.Runtime.Register("java/sql/SQLOutput", "", "Java.Sql.ISQLOutputInvoker")]
public interface ISQLOutput : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("java/sql/SQLOutput", "", "Java.Sql.ISQLOutputInvoker")>]
type ISQLOutput = interface
interface IJavaObject
interface IDisposable
interface IJavaPeerable
- Attributes
- Implements
Remarks
The output stream for writing the attributes of a user-defined type back to the database. This interface, used only for custom mapping, is used by the driver, and its methods are never directly invoked by a programmer.
When an object of a class implementing the interface SQLData
is passed as an argument to an SQL statement, the JDBC driver calls the method SQLData.getSQLType
to determine the kind of SQL datum being passed to the database. The driver then creates an instance of SQLOutput
and passes it to the method SQLData.writeSQL
. The method writeSQL
in turn calls the appropriate SQLOutput
writer methods writeBoolean
, writeCharacterStream
, and so on) to write data from the SQLData
object to the SQLOutput
output stream as the representation of an SQL user-defined type.
Added in 1.2.
Java documentation for java.sql.SQLOutput
.
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.
Properties
Handle |
Gets the JNI value of the underlying Android object. (Inherited from IJavaObject) |
JniIdentityHashCode |
Returns the value of |
JniManagedPeerState |
State of the managed peer. (Inherited from IJavaPeerable) |
JniPeerMembers |
Member access and invocation support. (Inherited from IJavaPeerable) |
PeerReference |
Returns a JniObjectReference of the wrapped Java object instance. (Inherited from IJavaPeerable) |
Methods
Disposed() |
Called when the instance has been disposed. (Inherited from IJavaPeerable) |
DisposeUnlessReferenced() |
If there are no outstanding references to this instance, then
calls |
Finalized() |
Called when the instance has been finalized. (Inherited from IJavaPeerable) |
SetJniIdentityHashCode(Int32) |
Set the value returned by |
SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from IJavaPeerable) |
SetPeerReference(JniObjectReference) |
Set the value returned by |
UnregisterFromRuntime() |
Unregister this instance so that the runtime will not return it from future Java.Interop.JniRuntime+JniValueManager.PeekValue invocations. (Inherited from IJavaPeerable) |
WriteArray(IArray) |
Writes an SQL |
WriteAsciiStream(Stream) |
Writes the next attribute to the stream as a stream of ASCII characters. |
WriteBigDecimal(BigDecimal) |
Writes the next attribute to the stream as a java. |
WriteBinaryStream(Stream) |
Writes the next attribute to the stream as a stream of uninterpreted bytes. |
WriteBlob(IBlob) |
Writes an SQL |
WriteBoolean(Boolean) |
Writes the next attribute to the stream as a Java boolean. |
WriteByte(SByte) |
Writes the next attribute to the stream as a Java byte. |
WriteBytes(Byte[]) |
Writes the next attribute to the stream as an array of bytes. |
WriteCharacterStream(Reader) |
Writes the next attribute to the stream as a stream of Unicode characters. |
WriteClob(IClob) |
Writes an SQL |
WriteDate(Date) |
Writes the next attribute to the stream as a java. |
WriteDouble(Double) |
Writes the next attribute to the stream as a Java double. |
WriteFloat(Single) |
Writes the next attribute to the stream as a Java float. |
WriteInt(Int32) |
Writes the next attribute to the stream as a Java int. |
WriteLong(Int64) |
Writes the next attribute to the stream as a Java long. |
WriteNClob(INClob) |
Writes an SQL |
WriteNString(String) |
Writes the next attribute to the stream as a |
WriteObject(ISQLData) |
Writes to the stream the data contained in the given
|
WriteRef(IRef) |
Writes an SQL |
WriteRowId(IRowId) |
Writes an SQL |
WriteShort(Int16) |
Writes the next attribute to the stream as a Java short. |
WriteSQLXML(ISQLXML) |
Writes an SQL |
WriteString(String) |
Writes the next attribute to the stream as a |
WriteStruct(IStruct) |
Writes an SQL structured type value to the stream. |
WriteTime(Time) |
Writes the next attribute to the stream as a java. |
WriteTimestamp(Timestamp) |
Writes the next attribute to the stream as a java. |
WriteURL(URL) |
Writes a SQL |
Extension Methods
JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
JavaCast<TResult>(IJavaObject) | |
GetJniTypeName(IJavaPeerable) |