IBlob 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 representation (mapping) in
the Java<sup><font size=-2>TM</font></sup> programming
language of an SQL
BLOB
value.
[Android.Runtime.Register("java/sql/Blob", "", "Java.Sql.IBlobInvoker")]
public interface IBlob : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("java/sql/Blob", "", "Java.Sql.IBlobInvoker")>]
type IBlob = interface
interface IJavaObject
interface IDisposable
interface IJavaPeerable
- Attributes
- Implements
Remarks
The representation (mapping) in the Java<sup><font size=-2>TM</font></sup> programming language of an SQL BLOB
value. An SQL BLOB
is a built-in type that stores a Binary Large Object as a column value in a row of a database table. By default drivers implement Blob
using an SQL locator(BLOB)
, which means that a Blob
object contains a logical pointer to the SQL BLOB
data rather than the data itself. A Blob
object is valid for the duration of the transaction in which is was created.
Methods in the interfaces ResultSet
, CallableStatement
, and PreparedStatement
, such as getBlob
and setBlob
allow a programmer to access an SQL BLOB
value. The Blob
interface provides methods for getting the length of an SQL BLOB
(Binary Large Object) value, for materializing a BLOB
value on the client, and for determining the position of a pattern of bytes within a BLOB
value. In addition, this interface has methods for updating a BLOB
value.
All methods on the Blob
interface must be fully implemented if the JDBC driver supports the data type.
Added in 1.2.
Java documentation for java.sql.Blob
.
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
BinaryStream |
Retrieves this |
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) |
Free() |
This method frees the |
GetBinaryStream(Int64, Int64) |
Returns an |
GetBytes(Int64, Int32) |
Retrieves all or part of the |
Length() |
Returns the number of bytes in the |
Position(Byte[], Int64) |
Retrieves the byte position at which the specified byte array
|
Position(IBlob, Int64) |
Retrieves the byte position in the |
SetBinaryStream(Int64) |
Retrieves a stream that can be used to write to the |
SetBytes(Int64, Byte[], Int32, Int32) |
Writes all or part of the given |
SetBytes(Int64, Byte[]) |
Writes the given array of bytes to the |
SetJniIdentityHashCode(Int32) |
Set the value returned by |
SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from IJavaPeerable) |
SetPeerReference(JniObjectReference) |
Set the value returned by |
Truncate(Int64) |
Truncates the |
UnregisterFromRuntime() |
Unregister this instance so that the runtime will not return it from future Java.Interop.JniRuntime+JniValueManager.PeekValue invocations. (Inherited from IJavaPeerable) |
Extension Methods
JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
JavaCast<TResult>(IJavaObject) | |
GetJniTypeName(IJavaPeerable) |