org.kuali.common.jdbc.supplier
Class SimpleStringSupplier
java.lang.Object
org.kuali.common.jdbc.supplier.AbstractSupplier
org.kuali.common.jdbc.supplier.SimpleStringSupplier
- All Implemented Interfaces:
- Comparable<SqlSupplier>, SqlSupplier
public class SimpleStringSupplier
- extends AbstractSupplier
Supply SQL from strings that have one SQL statement each
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleStringSupplier
public SimpleStringSupplier()
SimpleStringSupplier
public SimpleStringSupplier(String sql)
SimpleStringSupplier
public SimpleStringSupplier(List<String> strings)
open
public void open()
- Description copied from interface:
SqlSupplier
- Open the supplier so it is ready to provide SQL
getSql
public List<String> getSql()
- Description copied from interface:
SqlSupplier
- Return a list of SQL statements to execute. Returns
null
when the SQL supply has been exhausted.
close
public void close()
- Description copied from interface:
SqlSupplier
- Close the supplier to free any resources it may have opened
fillInMetaData
public void fillInMetaData()
- Description copied from interface:
SqlSupplier
- Fill in SQL count + overall size
getStrings
public List<String> getStrings()
setStrings
public void setStrings(List<String> strings)
Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.