|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.common.jdbc.supplier.AbstractSupplier org.kuali.common.jdbc.supplier.ComplexStringSupplier
@Deprecated public class ComplexStringSupplier
Supply SQL from strings that may have more than one SQL statement each
Field Summary | |
---|---|
protected BufferedReader |
in
Deprecated. |
protected int |
index
Deprecated. |
Fields inherited from class org.kuali.common.jdbc.supplier.AbstractSupplier |
---|
metaData |
Constructor Summary | |
---|---|
ComplexStringSupplier()
Deprecated. |
|
ComplexStringSupplier(List<String> strings)
Deprecated. |
|
ComplexStringSupplier(String sql)
Deprecated. |
Method Summary | |
---|---|
void |
close()
Deprecated. Close the supplier to free any resources it may have opened |
void |
fillInMetaData()
Deprecated. Fill in SQL count + overall size |
protected BufferedReader |
getBufferedReader(List<String> strings,
int index)
Deprecated. Extract a String from the list and open a BufferedReader that can read from it |
protected SqlMetaData |
getMetaData(String sql)
Deprecated. |
SqlReader |
getReader()
Deprecated. |
List<String> |
getSql()
Deprecated. Return a list of SQL statements to execute. |
List<String> |
getStrings()
Deprecated. |
void |
open()
Deprecated. Open the supplier so it is ready to provide SQL |
void |
setReader(SqlReader reader)
Deprecated. |
void |
setStrings(List<String> strings)
Deprecated. |
Methods inherited from class org.kuali.common.jdbc.supplier.AbstractSupplier |
---|
compareTo, getMetaData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int index
protected BufferedReader in
Constructor Detail |
---|
public ComplexStringSupplier()
public ComplexStringSupplier(String sql)
public ComplexStringSupplier(List<String> strings)
Method Detail |
---|
public void open()
SqlSupplier
public List<String> getSql()
SqlSupplier
null
when the SQL supply has been exhausted.
protected BufferedReader getBufferedReader(List<String> strings, int index)
public void close()
SqlSupplier
public void fillInMetaData()
SqlSupplier
protected SqlMetaData getMetaData(String sql)
public List<String> getStrings()
public void setStrings(List<String> strings)
public SqlReader getReader()
public void setReader(SqlReader reader)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |