org.kuali.common.jdbc.supplier
Interface SqlSupplier

All Superinterfaces:
Comparable<SqlSupplier>
All Known Subinterfaces:
LocationSupplier
All Known Implementing Classes:
AbstractSupplier, ComplexStringSupplier, SimpleStringSupplier, SqlLocationSupplier

public interface SqlSupplier
extends Comparable<SqlSupplier>


Method Summary
 void close()
          Close the supplier to free any resources it may have opened
 void fillInMetaData()
          Fill in SQL count + overall size
 SqlMetaData getMetaData()
          Return SQL count and overall size
 List<String> getSql()
          Return a list of SQL statements to execute.
 void open()
          Open the supplier so it is ready to provide SQL
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

open

void open()
          throws IOException
Open the supplier so it is ready to provide SQL

Throws:
IOException

getSql

List<String> getSql()
                    throws IOException
Return a list of SQL statements to execute. Returns null when the SQL supply has been exhausted.

Throws:
IOException

close

void close()
Close the supplier to free any resources it may have opened


fillInMetaData

void fillInMetaData()
Fill in SQL count + overall size


getMetaData

SqlMetaData getMetaData()
Return SQL count and overall size



Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.