| Modifier and Type | Method and Description |
|---|---|
| public long | Returns: number of updated rows for server 8.2 or newer (see getHandledRowCount())Finishes copy operation successfully. |
| public void | |
| public void | writeToCopy(byte[]
array of bytes to write buf, int offset of first byte to write (normally zero) off, int number of bytes to write (normally buf.length) siz)Writes specified part of given byte array to an open and writable copy operation. |
| public void | writeToCopy(ByteStreamWriter
the source of bytes, e.g. a ByteBufferByteStreamWriter from)Writes a ByteStreamWriter to an open and writable copy operation. |
| endCopy | back to summary |
|---|---|
| public long endCopy() throws SQLException Finishes copy operation successfully.
| |
| flushCopy | back to summary |
|---|---|
| public void flushCopy() throws SQLException Force any buffered output to be sent over the network to the backend. In general this is a useless operation as it will get pushed over in due time or when endCopy is called. Some specific modified server versions (Truviso) want this data sooner. If you are unsure if you need to use this method, don't.
| |
| writeToCopy | back to summary |
|---|---|
| public void writeToCopy(byte[] buf, int off, int siz) throws SQLException Writes specified part of given byte array to an open and writable copy operation.
| |
| writeToCopy | back to summary |
|---|---|
| public void writeToCopy(ByteStreamWriter from) throws SQLException Writes a ByteStreamWriter to an open and writable copy operation.
| |