public class UpdateSensitiveClobLocatorReader extends Reader
| Modifier | Constructor and Description |
|---|---|
protected |
UpdateSensitiveClobLocatorReader(Connection con,
Clob clob)
Initializes the Reader, updateCount, currentPos
and the connection to the appropriate values.
|
protected |
UpdateSensitiveClobLocatorReader(Connection con,
Clob clob,
long pos,
long len)
Initializes the Reader, updateCount, currentPos,
length and the connection to the appropriate values.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(char[] c,
int off,
int len) |
protected Reader |
reCreateStream()
Re-creates the underlying Locator stream
with the current position and the length
values if specified.
|
protected UpdateSensitiveClobLocatorReader(Connection con, Clob clob) throws SqlException
con - connection to be used to read the
Clob value from the serverclob - the Clob object associated with
this stream.SqlExceptionprotected UpdateSensitiveClobLocatorReader(Connection con, Clob clob, long pos, long len) throws SqlException
con - connection to be used to read the
Clob value from the serverclob - the Clob object associated with
this reader.pos - the position from which the first read begins.len - the length in bytes of the partial value to be
retrieved.SqlExceptionpublic int read()
throws IOException
read in class ReaderIOExceptionReader.read()public int read(char[] c,
int off,
int len)
throws IOException
read in class ReaderIOExceptionReader.read(char[], int, int)public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ReaderIOExceptionReader.close()protected Reader reCreateStream() throws SqlException
SqlExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.