public class JdbcClob extends TraceObject implements NClob
ARRAY, BLOB, CALLABLE_STATEMENT, CLOB, CONNECTION, DATA_SOURCE, DATABASE_META_DATA, PARAMETER_META_DATA, PREPARED_STATEMENT, RESULT_SET, RESULT_SET_META_DATA, SAVEPOINT, STATEMENT, trace, XA_DATA_SOURCE, XID| 构造器和说明 |
|---|
JdbcClob(JdbcConnection conn,
Value value,
int id)
INTERNAL
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
free()
Release all resources of this object.
|
InputStream |
getAsciiStream()
Returns the input stream.
|
Reader |
getCharacterStream()
Returns the reader.
|
Reader |
getCharacterStream(long pos,
long length)
[Not supported] 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)
[Not supported] Sets a substring.
|
String |
toString()
INTERNAL
|
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, int id)
public 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
getCharacterStream 在接口中 ClobSQLExceptionpublic 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 addSQLExceptionpublic int setString(long pos,
String str,
int offset,
int len)
throws SQLException
setString 在接口中 ClobSQLExceptionpublic 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 在接口中 ClobSQLExceptionCopyright © 2017. All rights reserved.