public class ClobImpl extends Object implements Clob
It is useful for setting CLOB values in the database.
Note: This implementation does not attempt to implement features of JDBC3 or JDBC4.
Constructor and Description |
---|
ClobImpl(Reader reader,
long length)
Construct an ClobImpl instance.
|
Modifier and Type | Method and Description |
---|---|
void |
free()
Not implemented.
|
InputStream |
getAsciiStream() |
Reader |
getCharacterStream() |
Reader |
getCharacterStream(long pos,
long length)
Not implemented.
|
String |
getSubString(long pos,
int length) |
long |
length() |
long |
position(Clob searchstr,
long start)
Not implemented, I guess it is not needed for writing CLOB.
|
long |
position(String searchstr,
long start)
Not implemented, I guess it is not needed for writing CLOB.
|
OutputStream |
setAsciiStream(long pos)
Not implemented.
|
Writer |
setCharacterStream(long pos)
Not implemented.
|
int |
setString(long pos,
String str)
Not implemented.
|
int |
setString(long pos,
String str,
int offset,
int len)
Not implemented.
|
void |
truncate(long len)
Not implemented.
|
public ClobImpl(Reader reader, long length)
public InputStream getAsciiStream()
getAsciiStream
in interface Clob
public Reader getCharacterStream()
getCharacterStream
in interface Clob
public String getSubString(long pos, int length) throws SQLException
getSubString
in interface Clob
SQLException
public long position(Clob searchstr, long start)
public long position(String searchstr, long start)
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
public Reader getCharacterStream(long pos, long length)
getCharacterStream
in interface Clob
Copyright © 2013. All rights reserved.