CLOB
value. An SQL CLOB
is a built-in type that stores a Character Large Object as a column value in a row of a database table. By default drivers implement Clob
using an SQL locator(CLOB)
, which means that a Clob
object contains a logical pointer to the SQL CLOB
data rather than the data itself. A Clob
object is valid for the duration of the transaction in which is was created.
Methods in the interfaces DriverResultSet,CallableStatement, and PreparedStatement, such as getClob
and setClob
allow a programmer to access an SQL CLOB
value. The Clob
interface provides methods for getting the length of an SQL CLOB
(Character Large Object) value, for materializing a CLOB
value on the client, and for determining the position of a pattern of bytes within a CLOB
value. In addition, this interface has methods for updating a CLOB
value.
Public メソッド | |
Clob (String data) | |
long | length () throws SQLException |
java.io.InputStream | getAsciiStream () throws SQLException |
java.io.Reader | getCharacterStream () throws SQLException |
String | getSubString (long pos, int length) throws SQLException |
long | position (String searchstr, long start) throws SQLException |
long | position (java.sql.Clob searchstr, long start) throws SQLException |
OutputStream | setAsciiStream (long pos) throws SQLException |
Writer | setCharacterStream (long pos) throws SQLException |
int | setString (long pos, String str) throws SQLException |
int | setString (long pos, String str, int offset, int len) throws SQLException |
void | truncate (long len) throws SQLException |
Private 変数 | |
String | stringData = null |
|
Creates a new
参照先 org.objectweb.cjdbc.driver.Clob.stringData.
|
|
Retrieves the
参照先 org.objectweb.cjdbc.driver.Clob.stringData.
|
|
Materializes the
参照先 org.objectweb.cjdbc.driver.Clob.stringData.
|
|
Returns a copy of the portion of the
参照先 org.objectweb.cjdbc.driver.Clob.length(), と org.objectweb.cjdbc.driver.Clob.stringData.
|
|
Returns the size of the
参照先 org.objectweb.cjdbc.driver.Clob.stringData. 参照元 org.objectweb.cjdbc.driver.Clob.getSubString().
|
|
Retrieves the character position at which the specified
参照先 org.objectweb.cjdbc.driver.Clob.position().
|
|
Retrieves the character position at which the specified string
参照先 org.objectweb.cjdbc.driver.Clob.stringData. 参照元 org.objectweb.cjdbc.driver.Clob.position().
|
|
Retrieves a stream to be used to write Ascii characters to the CLOB value that this Clob object represents, starting at position pos.
|
|
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.
|
|
Writes len characters of str, starting at character offset, to the CLOB value that this Clob represents.
|
|
Writes the given Java String to the CLOB value that this Clob object designates at the position pos.
|
|
Truncates the CLOB value that this Clob designates to have a length of len characters.
|
|
The data represented as a string of this 参照元 org.objectweb.cjdbc.driver.Clob.Clob(), org.objectweb.cjdbc.driver.Clob.getAsciiStream(), org.objectweb.cjdbc.driver.Clob.getCharacterStream(), org.objectweb.cjdbc.driver.Clob.getSubString(), org.objectweb.cjdbc.driver.Clob.length(), と org.objectweb.cjdbc.driver.Clob.position(). |