public class ClobProxyImpl extends Object implements ClobProxy
Constructor and Description |
---|
ClobProxyImpl(DataSourceProxy dataSource,
ConnectionProxy connection,
Clob clob) |
Modifier and Type | Method and Description |
---|---|
FilterChain |
createChain() |
void |
free() |
InputStream |
getAsciiStream() |
Reader |
getCharacterStream() |
Reader |
getCharacterStream(long pos,
long length) |
ConnectionProxy |
getConnectionWrapper() |
Clob |
getRawClob() |
String |
getSubString(long pos,
int length) |
long |
length() |
long |
position(Clob searchstr,
long start) |
long |
position(String searchstr,
long start) |
OutputStream |
setAsciiStream(long pos) |
Writer |
setCharacterStream(long pos) |
int |
setString(long pos,
String str) |
int |
setString(long pos,
String str,
int offset,
int len) |
String |
toString() |
void |
truncate(long len) |
public ClobProxyImpl(DataSourceProxy dataSource, ConnectionProxy connection, Clob clob)
public FilterChain createChain()
public ConnectionProxy getConnectionWrapper()
getConnectionWrapper
in interface ClobProxy
public Clob getRawClob()
getRawClob
in interface ClobProxy
public void free() throws SQLException
free
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 Reader getCharacterStream(long pos, long length) throws SQLException
getCharacterStream
in interface Clob
SQLException
public String getSubString(long pos, int length) throws SQLException
getSubString
in interface Clob
SQLException
public long length() throws SQLException
length
in interface Clob
SQLException
public long position(String searchstr, long start) throws SQLException
position
in interface Clob
SQLException
public long position(Clob searchstr, long start) throws SQLException
position
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 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 void truncate(long len) throws SQLException
truncate
in interface Clob
SQLException
Copyright © 2013–2021 Alibaba Group. All rights reserved.