|
||||||||||
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.SimpleStringSupplier
public final class SimpleStringSupplier
Supply SQL from strings that have one SQL statement each
Constructor Summary | |
---|---|
SimpleStringSupplier(List<String> strings)
|
|
SimpleStringSupplier(String sql)
|
Method Summary | |
---|---|
void |
close()
Close the supplier to free any resources it may have opened |
SqlMetaData |
getMetaData()
Return SQL count and overall size |
List<String> |
getSql()
Return a list of SQL statements to execute. |
List<String> |
getStrings()
|
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 |
Constructor Detail |
---|
public SimpleStringSupplier(String sql)
public SimpleStringSupplier(List<String> strings)
Method Detail |
---|
public void open()
SqlSupplier
public List<String> getSql()
SqlSupplier
null
when the SQL supply has been exhausted.
public void close()
SqlSupplier
public SqlMetaData getMetaData()
SqlSupplier
public List<String> getStrings()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |