|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.common.jdbc.suppliers.AbstractSupplier
org.kuali.common.jdbc.suppliers.ComplexStringSupplier
public final class ComplexStringSupplier
Supply SQL from strings that may have more than one SQL statement each
| Constructor Summary | |
|---|---|
ComplexStringSupplier(List<String> strings,
SqlReader reader)
|
|
ComplexStringSupplier(String sql,
SqlReader reader)
|
|
| Method Summary | |
|---|---|
void |
close()
Close the supplier to free any resources it may have opened |
protected BufferedReader |
getBufferedReader(List<String> strings,
int index)
Extract a String from the list and open a BufferedReader that can read from it |
SqlMetaData |
getMetaData()
Return SQL count and overall size |
SqlReader |
getReader()
|
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 ComplexStringSupplier(String sql,
SqlReader reader)
public ComplexStringSupplier(List<String> strings,
SqlReader reader)
| Method Detail |
|---|
public void open()
SqlSupplier
public List<String> getSql()
SqlSuppliernull when the SQL supply has been exhausted.
public void close()
SqlSupplier
protected BufferedReader getBufferedReader(List<String> strings,
int index)
public SqlMetaData getMetaData()
SqlSupplier
public List<String> getStrings()
public SqlReader getReader()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||