public class PgClob extends AbstractBlobClob implements java.sql.Clob
conn, lock| Constructor and Description |
|---|
PgClob(BaseConnection conn,
long oid) |
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getAsciiStream() |
java.io.Reader |
getCharacterStream() |
java.io.Reader |
getCharacterStream(long pos,
long length) |
java.lang.String |
getSubString(long i,
int j) |
long |
position(java.sql.Clob pattern,
long start)
This should be simply passing the byte value of the pattern Blob.
|
long |
position(java.lang.String pattern,
long start)
For now, this is not implemented.
|
java.io.OutputStream |
setAsciiStream(long pos) |
java.io.Writer |
setCharacterStream(long pos) |
int |
setString(long pos,
java.lang.String str) |
int |
setString(long pos,
java.lang.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 java.sql.SQLException
java.sql.SQLExceptionpublic java.io.Reader getCharacterStream(long pos,
long length)
throws java.sql.SQLException
getCharacterStream in interface java.sql.Clobjava.sql.SQLExceptionpublic int setString(long pos,
java.lang.String str)
throws java.sql.SQLException
setString in interface java.sql.Clobjava.sql.SQLExceptionpublic int setString(long pos,
java.lang.String str,
int offset,
int len)
throws java.sql.SQLException
setString in interface java.sql.Clobjava.sql.SQLExceptionpublic java.io.OutputStream setAsciiStream(long pos)
throws java.sql.SQLException
setAsciiStream in interface java.sql.Clobjava.sql.SQLExceptionpublic java.io.Writer setCharacterStream(long pos)
throws java.sql.SQLException
setCharacterStream in interface java.sql.Clobjava.sql.SQLExceptionpublic java.io.InputStream getAsciiStream()
throws java.sql.SQLException
getAsciiStream in interface java.sql.Clobjava.sql.SQLExceptionpublic java.io.Reader getCharacterStream()
throws java.sql.SQLException
getCharacterStream in interface java.sql.Clobjava.sql.SQLExceptionpublic java.lang.String getSubString(long i,
int j)
throws java.sql.SQLException
getSubString in interface java.sql.Clobjava.sql.SQLExceptionpublic long position(java.lang.String pattern,
long start)
throws java.sql.SQLException
position in interface java.sql.Clobjava.sql.SQLExceptionpublic long position(java.sql.Clob pattern,
long start)
throws java.sql.SQLException
position in interface java.sql.Clobjava.sql.SQLExceptionCopyright © 2025 PostgreSQL Global Development Group. All rights reserved.