CopyOperationCopyDualCopyDualImpl, CopyInImpl, PGCopyOutputStreampublic interface CopyIn extends CopyOperation
| Modifier and Type | Method | Description |
|---|---|---|
long |
endCopy() |
Finishes copy operation successfully.
|
void |
flushCopy() |
Force any buffered output to be sent over the network to the backend.
|
void |
writeToCopy(byte[] buf,
int off,
int siz) |
Writes specified part of given byte array to an open and writable copy operation.
|
cancelCopy, getFieldCount, getFieldFormat, getFormat, getHandledRowCount, isActivevoid writeToCopy(byte[] buf,
int off,
int siz)
throws java.sql.SQLException
buf - array of bytes to writeoff - offset of first byte to write (normally zero)siz - number of bytes to write (normally buf.length)java.sql.SQLException - if the operation failsvoid flushCopy()
throws java.sql.SQLException
java.sql.SQLException - if the operation fails.long endCopy()
throws java.sql.SQLException
java.sql.SQLException - if the operation fails.Copyright © 2018 PostgreSQL Global Development Group. All rights reserved.