PGCopyInputStream
, PGCopyOutputStream
public interface CopyOperation
Modifier and Type | Method | Description |
---|---|---|
void |
cancelCopy() |
Cancels this copy operation, discarding any exchanged data.
|
int |
getFieldCount() |
|
int |
getFieldFormat(int field) |
|
int |
getFormat() |
|
long |
getHandledRowCount() |
After succesful end of copy, returns the number
of database records handled in that operation.
|
boolean |
isActive() |
int getFieldCount()
int getFormat()
int getFieldFormat(int field)
field
- number of field (0..fieldCount()-1)boolean isActive()
void cancelCopy() throws java.sql.SQLException
java.sql.SQLException
- if cancelling failslong getHandledRowCount()