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, truncate
public PgClob(BaseConnection conn, long oid) throws SQLException
SQLException
public Reader getCharacterStream(long pos, long length) throws SQLException
getCharacterStream
in interface Clob
SQLException
public int setString(long pos, String str) throws SQLException
setString
in interface Clob
SQLException
public int setString(long pos, String str, int offset, int len) throws SQLException
setString
in interface Clob
SQLException
public OutputStream setAsciiStream(long pos) throws SQLException
setAsciiStream
in interface Clob
SQLException
public Writer setCharacterStream(long pos) throws SQLException
setCharacterStream
in interface Clob
SQLException
public InputStream getAsciiStream() throws SQLException
getAsciiStream
in interface Clob
SQLException
public Reader getCharacterStream() throws SQLException
getCharacterStream
in interface Clob
SQLException
public String getSubString(long i, int j) throws SQLException
getSubString
in interface Clob
SQLException
public long position(String pattern, long start) throws SQLException
position
in interface Clob
SQLException
public long position(Clob pattern, long start) throws SQLException
position
in interface Clob
SQLException
Copyright © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.