|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.common.jdbc.suppliers.AbstractSupplier org.kuali.common.jdbc.suppliers.SqlLocationSupplier
public final class SqlLocationSupplier
Supply SQL from a location containing nothing but SQL statements
Constructor Summary | |
---|---|
SqlLocationSupplier(String location,
SqlLocationContext context)
|
Method Summary | |
---|---|
void |
close()
Close the supplier to free any resources it may have opened |
SqlLocationContext |
getContext()
|
String |
getLocation()
|
SqlMetaData |
getMetaData()
Return SQL count and overall size |
List<String> |
getSql()
Return a list of SQL statements to execute. |
protected List<String> |
getSqlList()
|
void |
open()
Open the supplier so it is ready to provide SQL |
Methods inherited from class org.kuali.common.jdbc.suppliers.AbstractSupplier |
---|
compareTo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
public SqlLocationSupplier(String location, SqlLocationContext context)
Method Detail |
---|
public void open() throws IOException
SqlSupplier
open
in interface SqlSupplier
IOException
public List<String> getSql() throws IOException
SqlSupplier
null
when the SQL supply has been exhausted.
getSql
in interface SqlSupplier
IOException
public void close()
SqlSupplier
close
in interface SqlSupplier
protected List<String> getSqlList() throws IOException
IOException
public SqlMetaData getMetaData()
SqlSupplier
getMetaData
in interface SqlSupplier
public SqlLocationContext getContext()
public String getLocation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |