ISQLInput 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.
An input stream that contains a stream of values representing an instance of an SQL structured type or an SQL distinct type.
[Android.Runtime.Register("java/sql/SQLInput", "", "Java.Sql.ISQLInputInvoker")]
public interface ISQLInput : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("java/sql/SQLInput", "", "Java.Sql.ISQLInputInvoker")>]
type ISQLInput = interface
interface IJavaObject
interface IDisposable
interface IJavaPeerable
- Attributes
- Implements
Remarks
An input stream that contains a stream of values representing an instance of an SQL structured type or an SQL distinct type. This interface, used only for custom mapping, is used by the driver behind the scenes, and a programmer never directly invokes SQLInput
methods. The reader methods (readLong
, readBytes
, and so on) provide a way for an implementation of the SQLData
interface to read the values in an SQLInput
object. And as described in SQLData
, calls to reader methods must be made in the order that their corresponding attributes appear in the SQL definition of the type. The method wasNull
is used to determine whether the last value read was SQL NULL
.
When the method getObject
is called with an object of a class implementing the interface SQLData
, the JDBC driver calls the method SQLData.getSQLType
to determine the SQL type of the user-defined type (UDT) being custom mapped. The driver creates an instance of SQLInput
, populating it with the attributes of the UDT. The driver then passes the input stream to the method SQLData.readSQL
, which in turn calls the SQLInput
reader methods in its implementation for reading the attributes from the input stream.
Added in 1.2.
Java documentation for java.sql.SQLInput
.
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) |
ReadArray() |
Reads an SQL |
ReadAsciiStream() |
Reads the next attribute in the stream and returns it as a stream of ASCII characters. |
ReadBigDecimal() |
Reads the next attribute in the stream and returns it as a |
ReadBinaryStream() |
Reads the next attribute in the stream and returns it as a stream of uninterpreted bytes. |
ReadBlob() |
Reads an SQL |
ReadBoolean() |
Reads the next attribute in the stream and returns it as a |
ReadByte() |
Reads the next attribute in the stream and returns it as a |
ReadBytes() |
Reads the next attribute in the stream and returns it as an array of bytes in the Java programming language. |
ReadCharacterStream() |
Reads the next attribute in the stream and returns it as a stream of Unicode characters. |
ReadClob() |
Reads an SQL |
ReadDate() |
Reads the next attribute in the stream and returns it as a |
ReadDouble() |
Reads the next attribute in the stream and returns it as a |
ReadFloat() |
Reads the next attribute in the stream and returns it as a |
ReadInt() |
Reads the next attribute in the stream and returns it as an |
ReadLong() |
Reads the next attribute in the stream and returns it as a |
ReadNClob() |
Reads an SQL |
ReadNString() |
Reads the next attribute in the stream and returns it as a |
ReadObject() |
Reads the datum at the head of the stream and returns it as an
|
ReadRef() |
Reads an SQL |
ReadRowId() |
Reads an SQL |
ReadShort() |
Reads the next attribute in the stream and returns it as a |
ReadSQLXML() |
Reads an SQL |
ReadString() |
Reads the next attribute in the stream and returns it as a |
ReadTime() |
Reads the next attribute in the stream and returns it as a |
ReadTimestamp() |
Reads the next attribute in the stream and returns it as a |
ReadURL() |
Reads an SQL |
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) |
WasNull() |
Retrieves whether the last value read was SQL |
Extension Methods
JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
JavaCast<TResult>(IJavaObject) | |
GetJniTypeName(IJavaPeerable) |