NClob (Java SE 26 & JDK 26)
- All Superinterfaces:
AutoCloseable, Clob
-
Method Summary
Methods declared in interface Clob
close, free, getAsciiStream, getCharacterStream, getCharacterStream, getSubString, length, position, position, setAsciiStream, setCharacterStream, setString, setString, truncatedefault voidCloses and releases the resources held by this
Clobobject.voidCloses and releases the resources held by this
Clobobject.Retrieves the
CLOBvalue designated by thisClobobject as an ascii stream.Retrieves the
CLOBvalue designated by thisClobobject as ajava.io.Readerobject (or as a stream of characters).Returns a
Readerobject that contains a partialClobvalue, starting with the character specified by pos, which is length characters in length.Retrieves a copy of the specified substring in the
CLOBvalue designated by thisClobobject.longRetrieves the number of characters in the
CLOBvalue designated by thisClobobject.longRetrieves the character position at which the specified substring
searchstrappears in the SQLCLOBvalue represented by thisClobobject.longRetrieves the character position at which the specified
Clobobjectsearchstrappears in thisClobobject.Retrieves a stream to be used to write Ascii characters to the
CLOBvalue that thisClobobject represents, starting at positionpos.Retrieves a stream to be used to write a stream of Unicode characters to the
CLOBvalue that thisClobobject represents, at positionpos.intWrites the given Java
Stringto theCLOBvalue that thisClobobject designates at the positionpos.intWrites
lencharacters ofstr, starting at characteroffset, to theCLOBvalue that thisClobrepresents.voidTruncates the
CLOBvalue that thisClobdesignates to have a length oflencharacters.