CopyOperation
CopyDual
CopyDualImpl
, CopyOutImpl
, PGCopyInputStream
public interface CopyOut extends CopyOperation
Modifier and Type | Method | 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 java.sql.SQLException
java.sql.SQLException
- if something goes wrong for example socket timeoutbyte[] readFromCopy(boolean block) throws java.sql.SQLException
block
- true
if need wait data from server otherwise false
and will read
pending message from serverjava.sql.SQLException
- if something goes wrong for example socket timeoutCopyright © 2019 PostgreSQL Global Development Group. All rights reserved.