| Modifier and Type | Field and Description |
|---|---|
| private ClientClob | |
| private ClientConnection | |
| private long | |
| private long | |
| private BufferedReader | |
| private long |
| Access | Constructor and Description |
|---|---|
| protected | UpdateSensitiveClobLocatorReader(ClientConnection
connection to be used to read the
con, ClientClob Clob value from the serverthe clob)Clob object associated with
this stream.Initializes the Reader, updateCount, currentPos and the connection to the appropriate values. |
| protected | UpdateSensitiveClobLocatorReader(ClientConnection
connection to be used to read the
con, ClientClob Clob value from the serverthe clob, long Clob object associated with
this reader.the position from which the first read begins. pos, long the length in bytes of the partial value to be
retrieved. len)Initializes the Reader, updateCount, currentPos, length and the connection to the appropriate values. |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements abstract java. Implements java. |
| private void | identifyAndReplaceObseleteStream()
Verifies whether the current updateCount matches the updateCount of the Clob object and if it does not it recreates the stream. |
| public int | |
| public int | read(char[]
Destination buffer c, int Offset at which to start storing characters off, int Maximum number of characters to read len)Implements abstract java. |
| private Reader | reCreateStream()
Re-creates the underlying Locator stream with the current position and the length values if specified. |
| clob | back to summary |
|---|---|
| private ClientClob clob | |
| con | back to summary |
|---|---|
| private ClientConnection con | |
| currentPos | back to summary |
|---|---|
| private long currentPos | |
| length | back to summary |
|---|---|
| private long length | |
| r | back to summary |
|---|---|
| private BufferedReader r | |
| updateCount | back to summary |
|---|---|
| private long updateCount | |
| UpdateSensitiveClobLocatorReader | back to summary |
|---|---|
| protected UpdateSensitiveClobLocatorReader(ClientConnection con, ClientClob clob) throws SqlException Initializes the Reader, updateCount, currentPos and the connection to the appropriate values.
| |
| UpdateSensitiveClobLocatorReader | back to summary |
|---|---|
| protected UpdateSensitiveClobLocatorReader(ClientConnection con, ClientClob clob, long pos, long len) throws SqlException Initializes the Reader, updateCount, currentPos, length and the connection to the appropriate values.
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements abstract java. Implements java. Doc from java. Closes the stream and releases any system resources associated with it. Once the stream has been closed, further read(), ready(), mark(), reset(), or skip() invocations will throw an IOException. Closing a previously closed stream has no effect.
| |
| identifyAndReplaceObseleteStream | back to summary |
|---|---|
| private void identifyAndReplaceObseleteStream() throws IOException Verifies whether the current updateCount matches the updateCount of the Clob object and if it does not it recreates the stream.
| |
| read | back to summary |
|---|---|
| public int read() throws IOException Overrides java. Doc from java. Reads a single character. This method will block until a character is available, an I/O error occurs, or the end of the stream is reached. Subclasses that intend to support efficient single-character input should override this method.
| |
| read | back to summary |
|---|---|
| public int read(char[] c, int off, int len) throws IOException Implements abstract java. Doc from java. Reads characters into a portion of an array. This method will block until some input is available, an I/O error occurs, or the end of the stream is reached. If
| |
| reCreateStream | back to summary |
|---|---|
| private Reader reCreateStream() throws SqlException Re-creates the underlying Locator stream with the current position and the length values if specified. | |