public class PgClob extends AbstractBlobClob implements Clob
conn| Constructor and Description |
|---|
PgClob(BaseConnection conn,
long oid) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getAsciiStream() |
Reader |
getCharacterStream() |
Reader |
getCharacterStream(long pos,
long length) |
String |
getSubString(long i,
int j) |
long |
position(Clob pattern,
long start)
This should be simply passing the byte value of the pattern Blob.
|
long |
position(String pattern,
long start)
For now, this is not implemented.
|
OutputStream |
setAsciiStream(long pos) |
Writer |
setCharacterStream(long pos) |
int |
setString(long pos,
String str) |
int |
setString(long pos,
String str,
int offset,
int len) |
addSubLO, assertPosition, assertPosition, checkFreed, free, getBinaryStream, getBytes, getLo, length, position, position, setBinaryStream, truncatepublic PgClob(BaseConnection conn, long oid) throws SQLException
SQLExceptionpublic Reader getCharacterStream(long pos, long length) throws SQLException
getCharacterStream in interface ClobSQLExceptionpublic int setString(long pos,
String str)
throws SQLException
setString in interface ClobSQLExceptionpublic int setString(long pos,
String str,
int offset,
int len)
throws SQLException
setString in interface ClobSQLExceptionpublic OutputStream setAsciiStream(long pos) throws SQLException
setAsciiStream in interface ClobSQLExceptionpublic Writer setCharacterStream(long pos) throws SQLException
setCharacterStream in interface ClobSQLExceptionpublic InputStream getAsciiStream() throws SQLException
getAsciiStream in interface ClobSQLExceptionpublic Reader getCharacterStream() throws SQLException
getCharacterStream in interface ClobSQLExceptionpublic String getSubString(long i, int j) throws SQLException
getSubString in interface ClobSQLExceptionpublic long position(String pattern, long start) throws SQLException
position in interface ClobSQLExceptionpublic long position(Clob pattern, long start) throws SQLException
position in interface ClobSQLExceptionCopyright © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.