| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| public static enum | JdbcLob.
State of the object. |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final JdbcConnection | conn
JDBC connection. |
| pack-priv JdbcLob. | state
State. |
| pack-priv Value | value
Value. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | checkClosed()
Check that connection and LOB is not closed, otherwise throws exception with
error code |
| pack-priv void | checkEditable()
Check the state of the LOB and throws the exception when check failed (set is supported only for a new LOB). |
| pack-priv void | checkReadable()
Check the state of the LOB and throws the exception when check failed (the LOB must be set completely before read). |
| pack-priv void | completeWrite(Value
LOB value. blob)Change the state LOB state (LOB value is set completely and available to read). |
| public void | |
| pack-priv InputStream | |
| pack-priv Reader | |
| pack-priv Writer | |
| pack-priv JdbcLob. | |
| public String |
| conn | back to summary |
|---|---|
| pack-priv final JdbcConnection conn JDBC connection. | |
| state | back to summary |
|---|---|
| pack-priv JdbcLob. State. | |
| value | back to summary |
|---|---|
| pack-priv Value value Value. | |
| JdbcLob | back to summary |
|---|---|
| pack-priv JdbcLob(JdbcConnection conn, Value value, JdbcLob. | |
| checkClosed | back to summary |
|---|---|
| pack-priv void checkClosed() Check that connection and LOB is not closed, otherwise throws exception with
error code | |
| checkEditable | back to summary |
|---|---|
| pack-priv void checkEditable() Check the state of the LOB and throws the exception when check failed (set is supported only for a new LOB). | |
| checkReadable | back to summary |
|---|---|
| pack-priv void checkReadable() throws SQLException, IOException Check the state of the LOB and throws the exception when check failed (the LOB must be set completely before read).
| |
| completeWrite | back to summary |
|---|---|
| pack-priv void completeWrite(Value blob) Change the state LOB state (LOB value is set completely and available to read).
| |
| free | back to summary |
|---|---|
| public void free() Release all resources of this object. | |
| getBinaryStream | back to summary |
|---|---|
| pack-priv InputStream getBinaryStream() throws SQLException Returns the input stream.
| |
| getCharacterStream | back to summary |
|---|---|
| pack-priv Reader getCharacterStream() throws SQLException Returns the reader.
| |
| setCharacterStreamImpl | back to summary |
|---|---|
| pack-priv Writer setCharacterStreamImpl() throws IOException Returns the writer.
| |
| setClobOutputStreamImpl | back to summary |
|---|---|
| pack-priv JdbcLob. Returns the writer stream.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. INTERNAL
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides java. Implements java. Closes this piped output stream and releases any system resources associated with this stream. |
| task | back to summary |
|---|---|
| private final Task task | |
| LobPipedOutputStream | back to summary |
|---|---|
| pack-priv LobPipedOutputStream(PipedInputStream snk, Task task) throws IOException | |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this piped output stream and releases any system resources associated with this stream. This stream may no longer be used for writing bytes.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final JdbcLob. | CLOSED
Object is closed. |
| public static final JdbcLob. | NEW
New object without a value. |
| public static final JdbcLob. | SET_CALLED
One of setter methods is invoked, but stream is not closed yet. |
| public static final JdbcLob. | WITH_VALUE
A value is set. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static JdbcLob. | |
| public static JdbcLob. |
| CLOSED | back to summary |
|---|---|
| public static final JdbcLob. Object is closed. | |
| NEW | back to summary |
|---|---|
| public static final JdbcLob. New object without a value. | |
| SET_CALLED | back to summary |
|---|---|
| public static final JdbcLob. One of setter methods is invoked, but stream is not closed yet. | |
| WITH_VALUE | back to summary |
|---|---|
| public static final JdbcLob. A value is set. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static JdbcLob. | |
| values | back to summary |
|---|---|
| public static JdbcLob. | |