org.kuali.common.jdbc.supplier
Class SqlLocationSupplier

java.lang.Object
  extended by org.kuali.common.jdbc.supplier.AbstractSupplier
      extended by org.kuali.common.jdbc.supplier.SqlLocationSupplier
All Implemented Interfaces:
Comparable<SqlSupplier>, LocationSupplier, SqlSupplier

Deprecated.

@Deprecated
public class SqlLocationSupplier
extends AbstractSupplier
implements LocationSupplier

Supply SQL from a location containing pre-generated SQL statements


Field Summary
protected  BufferedReader in
          Deprecated.  
 
Fields inherited from class org.kuali.common.jdbc.supplier.AbstractSupplier
metaData
 
Constructor Summary
SqlLocationSupplier()
          Deprecated.  
SqlLocationSupplier(String location)
          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
 String getEncoding()
          Deprecated.  
 String getLocation()
          Deprecated.  
 SqlReader getReader()
          Deprecated.  
 List<String> getSql()
          Deprecated. Return a list of SQL statements to execute.
 void open()
          Deprecated. Open the supplier so it is ready to provide SQL
 void setEncoding(String encoding)
          Deprecated.  
 void setLocation(String location)
          Deprecated.  
 void setReader(SqlReader reader)
          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
 
Methods inherited from interface org.kuali.common.jdbc.supplier.SqlSupplier
getMetaData
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

in

protected BufferedReader in
Deprecated. 
Constructor Detail

SqlLocationSupplier

public SqlLocationSupplier()
Deprecated. 

SqlLocationSupplier

public SqlLocationSupplier(String location)
Deprecated. 
Method Detail

open

public void open()
          throws IOException
Deprecated. 
Description copied from interface: SqlSupplier
Open the supplier so it is ready to provide SQL

Specified by:
open in interface SqlSupplier
Throws:
IOException

getSql

public List<String> getSql()
                    throws IOException
Deprecated. 
Description copied from interface: SqlSupplier
Return a list of SQL statements to execute. Returns null when the SQL supply has been exhausted.

Specified by:
getSql in interface SqlSupplier
Throws:
IOException

close

public void close()
Deprecated. 
Description copied from interface: SqlSupplier
Close the supplier to free any resources it may have opened

Specified by:
close in interface SqlSupplier

fillInMetaData

public void fillInMetaData()
Deprecated. 
Description copied from interface: SqlSupplier
Fill in SQL count + overall size

Specified by:
fillInMetaData in interface SqlSupplier

getLocation

public String getLocation()
Deprecated. 
Specified by:
getLocation in interface LocationSupplier

setLocation

public void setLocation(String location)
Deprecated. 
Specified by:
setLocation in interface LocationSupplier

getEncoding

public String getEncoding()
Deprecated. 

setEncoding

public void setEncoding(String encoding)
Deprecated. 

getReader

public SqlReader getReader()
Deprecated. 

setReader

public void setReader(SqlReader reader)
Deprecated. 


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.