public interface CopyOut extends CopyOperation
Modifier and Type | Method and Description |
---|---|
byte[] |
readFromCopy()
Blocks wait for a row of data to be received from server on an active copy operation.
|
byte[] |
readFromCopy(boolean block)
Wait for a row of data to be received from server on an active copy operation.
|
cancelCopy, getFieldCount, getFieldFormat, getFormat, getHandledRowCount, isActive
byte[] readFromCopy() throws SQLException
SQLException
- if something goes wrong for example socket timeoutbyte[] readFromCopy(boolean block) throws SQLException
block
- true
if need wait data from server otherwise false
and will read
pending message from serverSQLException
- if something goes wrong for example socket timeoutCopyright © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.