Partager via


INClob Interface

Definition

The mapping in the Java<sup><font size=-2>TM</font></sup> programming language for the SQL NCLOB type.

[Android.Runtime.Register("java/sql/NClob", "", "Java.Sql.INClobInvoker")]
public interface INClob : IDisposable, Java.Interop.IJavaPeerable, Java.Sql.IClob
[<Android.Runtime.Register("java/sql/NClob", "", "Java.Sql.INClobInvoker")>]
type INClob = interface
    interface IClob
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Attributes
Implements

Remarks

The mapping in the Java<sup><font size=-2>TM</font></sup> programming language for the SQL NCLOB type. An SQL NCLOB is a built-in type that stores a Character Large Object using the National Character Set as a column value in a row of a database table.

The NClob interface extends the Clob interface which provides provides methods for getting the length of an SQL NCLOB value, for materializing a NCLOB value on the client, and for searching for a substring or NCLOB object within a NCLOB value. A NClob object, just like a Clob object, is valid for the duration of the transaction in which it was created. Methods in the interfaces ResultSet, CallableStatement, and PreparedStatement, such as getNClob and setNClob allow a programmer to access an SQL NCLOB value. In addition, this interface has methods for updating a NCLOB value.

All methods on the NClob interface must be fully implemented if the JDBC driver supports the data type.

Added in 1.6.

Java documentation for java.sql.NClob.

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

AsciiStream

Gets the value of this Clob object as an ASCII stream.

(Inherited from IClob)
CharacterStream

Gets the data of this Clob object in a java.io.Reader.

(Inherited from IClob)
Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
JniIdentityHashCode

Returns the value of java.lang.System.identityHashCode() for the wrapped instance.

(Inherited from IJavaPeerable)
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 Dispose(); otherwise, does nothing.

(Inherited from IJavaPeerable)
Finalized()

Called when the instance has been finalized.

(Inherited from IJavaPeerable)
Free()

This method frees the Clob object and releases the resources the resources that it holds.

(Inherited from IClob)
GetCharacterStream(Int64, Int64)

Returns a Reader object that contains a partial Clob value, starting with the character specified by pos, which is length characters in length.

(Inherited from IClob)
GetSubString(Int64, Int32)

Retrieves a copy of the specified substring in the CLOB value designated by this Clob object.

(Inherited from IClob)
Length()

Retrieves the number of characters in the CLOB value designated by this Clob object.

(Inherited from IClob)
Position(IClob, Int64)

Retrieves the character position at which the specified Clob object searchstr appears in this Clob object.

(Inherited from IClob)
Position(String, Int64)

Retrieves the character position at which the specified substring searchstr appears in the SQL CLOB value represented by this Clob object.

(Inherited from IClob)
SetAsciiStream(Int64)

Retrieves a stream to be used to write Ascii characters to the CLOB value that this Clob object represents, starting at position pos.

(Inherited from IClob)
SetCharacterStream(Int64)

Retrieves a stream to be used to write a stream of Unicode characters to the CLOB value that this Clob object represents, at position pos.

(Inherited from IClob)
SetJniIdentityHashCode(Int32)

Set the value returned by JniIdentityHashCode.

(Inherited from IJavaPeerable)
SetJniManagedPeerState(JniManagedPeerStates) (Inherited from IJavaPeerable)
SetPeerReference(JniObjectReference)

Set the value returned by PeerReference.

(Inherited from IJavaPeerable)
SetString(Int64, String, Int32, Int32)

Writes len characters of str, starting at character offset, to the CLOB value that this Clob represents.

(Inherited from IClob)
SetString(Int64, String)

Writes the given Java String to the CLOB value that this Clob object designates at the position pos.

(Inherited from IClob)
Truncate(Int64)

Truncates the CLOB value that this Clob designates to have a length of len characters.

(Inherited from IClob)
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)

Applies to