|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
org.apache.derby.client.am.UpdateSensitiveLOBLocatorInputStream
org.apache.derby.client.am.UpdateSensitiveClobLocatorInputStream
public class UpdateSensitiveClobLocatorInputStream
This class extends from the UpdateSensitiveLOBLocatorInputStream and creates and returns an implementation of the Clob specific locator InputStream. It also over-rides the reCreateStream method which re-creates the underlying Clob locator stream whenever a update happens on the Clob object associated with this stream.
Field Summary | |
---|---|
private Clob |
clob
|
Fields inherited from class org.apache.derby.client.am.UpdateSensitiveLOBLocatorInputStream |
---|
con, currentPos, length |
Constructor Summary | |
---|---|
UpdateSensitiveClobLocatorInputStream(Connection con,
Clob clob)
Creates an instance of the ClobLocatorInputStream wrapped in a BufferedInputStream and and calls the super class constructor with appropriate initializers. |
Method Summary | |
---|---|
protected java.io.InputStream |
reCreateStream()
Re-creates the underlying Locator stream with the current position and the length values if specified. |
Methods inherited from class org.apache.derby.client.am.UpdateSensitiveLOBLocatorInputStream |
---|
close, read, read |
Methods inherited from class java.io.InputStream |
---|
available, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Clob clob
Constructor Detail |
---|
public UpdateSensitiveClobLocatorInputStream(Connection con, Clob clob) throws SqlException
con
- connection to be used to read the
Clob
value from the serverclob
- Clob
object that contains locator for
the Clob
value on the server.
SqlException
- If any exception occurs during stream
creation.Method Detail |
---|
protected java.io.InputStream reCreateStream() throws SqlException
reCreateStream
in class UpdateSensitiveLOBLocatorInputStream
SqlException
|
Built on Thu 2010-12-23 20:49:13+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |