|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.intermine.sql.writebatch.FlushJobPostgresCopyImpl
public class FlushJobPostgresCopyImpl
An implementation of the FlushJob interface that represents a batch created in a Statement.
| Constructor Summary | |
|---|---|
FlushJobPostgresCopyImpl(org.postgresql.copy.CopyManager copyManager,
java.lang.String sql,
byte[] data,
int size)
Constructor for this class |
|
| Method Summary | |
|---|---|
void |
flush()
Performs the flush of all data represented by this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlushJobPostgresCopyImpl(org.postgresql.copy.CopyManager copyManager,
java.lang.String sql,
byte[] data,
int size)
copyManager - the CopyManager to usesql - the SQL String containing the COPY commanddata - a byte array of COPY datasize - the size of data| Method Detail |
|---|
public void flush()
throws java.sql.SQLException
flush in interface FlushJobjava.sql.SQLException - if there is a problem performing the flush
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||