org.intermine.sql.writebatch
Class FlushJobStatementBatchImpl

java.lang.Object
  extended by org.intermine.sql.writebatch.FlushJobStatementBatchImpl
All Implemented Interfaces:
FlushJob

public class FlushJobStatementBatchImpl
extends java.lang.Object
implements FlushJob

An implementation of the FlushJob interface that represents a batch created in a Statement.


Constructor Summary
FlushJobStatementBatchImpl(java.sql.Statement batch)
          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

FlushJobStatementBatchImpl

public FlushJobStatementBatchImpl(java.sql.Statement batch)
Constructor for this class

Parameters:
batch - the Statement containing the batch
Method Detail

flush

public void flush()
           throws java.sql.SQLException
Performs the flush of all data represented by this object.

Specified by:
flush in interface FlushJob
Throws:
java.sql.SQLException - if there is a problem performing the flush