JdbcLob.StateARRAY, BLOB, CALLABLE_STATEMENT, CLOB, CONNECTION, DATA_SOURCE, DATABASE_META_DATA, PARAMETER_META_DATA, PREPARED_STATEMENT, RESULT_SET, RESULT_SET_META_DATA, SAVEPOINT, SQLXML, STATEMENT, trace, XA_DATA_SOURCE, XID| 构造器和说明 |
|---|
JdbcClob(JdbcConnection conn,
Value value,
JdbcLob.State state,
int id)
INTERNAL
|
| 限定符和类型 | 方法和说明 |
|---|---|
InputStream |
getAsciiStream()
Returns the input stream.
|
Reader |
getCharacterStream()
Returns the reader.
|
Reader |
getCharacterStream(long pos,
long length)
Returns the reader, starting from an offset.
|
String |
getSubString(long pos,
int length)
Returns a substring.
|
long |
length()
Returns the length.
|
long |
position(Clob clobPattern,
long start)
[Not supported] Searches a pattern and return the position.
|
long |
position(String pattern,
long start)
[Not supported] Searches a pattern and return the position.
|
OutputStream |
setAsciiStream(long pos)
[Not supported] Returns an output stream.
|
Writer |
setCharacterStream(long pos)
Get a writer to update the Clob.
|
int |
setString(long pos,
String str)
Fills the Clob.
|
int |
setString(long pos,
String str,
int offset,
int len)
Fills the Clob.
|
void |
truncate(long len)
[Not supported] Truncates the object.
|
debugCode, debugCodeAssign, debugCodeCall, debugCodeCall, debugCodeCall, getNextId, getTraceId, getTraceObjectName, isDebugEnabled, isInfoEnabled, logAndConvert, quote, quoteArray, quoteBigDecimal, quoteBytes, quoteDate, quoteIntArray, quoteMap, quoteTime, quoteTimestamp, setTrace, unsupportedpublic JdbcClob(JdbcConnection conn, Value value, JdbcLob.State state, int id)
conn - it belongs tovalue - ofstate - of the LOBid - of the trace objectpublic long length()
throws SQLException
length 在接口中 ClobSQLExceptionpublic void truncate(long len)
throws SQLException
truncate 在接口中 ClobSQLExceptionpublic InputStream getAsciiStream() throws SQLException
getAsciiStream 在接口中 ClobSQLExceptionpublic OutputStream setAsciiStream(long pos) throws SQLException
setAsciiStream 在接口中 ClobSQLExceptionpublic Reader getCharacterStream() throws SQLException
JdbcLobgetCharacterStream 在接口中 ClobSQLException - on failurepublic Writer setCharacterStream(long pos) throws SQLException
setCharacterStream 在接口中 Clobpos - where to start writing (the first character is at position 1)SQLExceptionpublic String getSubString(long pos, int length) throws SQLException
getSubString 在接口中 Clobpos - the position (the first character is at position 1)length - the number of charactersSQLExceptionpublic int setString(long pos,
String str)
throws SQLException
setString 在接口中 Clobpos - where to start writing (the first character is at position 1)str - the string to addSQLException - on failurepublic int setString(long pos,
String str,
int offset,
int len)
throws SQLException
setString 在接口中 Clobpos - where to start writing (the first character is at position 1)str - the string to addoffset - the string offsetlen - the number of characters to readSQLExceptionpublic long position(String pattern, long start) throws SQLException
position 在接口中 ClobSQLExceptionpublic long position(Clob clobPattern, long start) throws SQLException
position 在接口中 ClobSQLExceptionpublic Reader getCharacterStream(long pos, long length) throws SQLException
getCharacterStream 在接口中 Clobpos - 1-based offsetlength - length of requested areaSQLExceptionCopyright © 2022. All rights reserved.