org.kuali.common.jdbc.supplier
Class ComplexStringSupplier

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

Deprecated.

@Deprecated
public class ComplexStringSupplier
extends AbstractSupplier

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

index

protected int index
Deprecated. 

in

protected BufferedReader in
Deprecated. 
Constructor Detail

ComplexStringSupplier

public ComplexStringSupplier()
Deprecated. 

ComplexStringSupplier

public ComplexStringSupplier(String sql)
Deprecated. 

ComplexStringSupplier

public ComplexStringSupplier(List<String> strings)
Deprecated. 
Method Detail

open

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


getSql

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


getBufferedReader

protected BufferedReader getBufferedReader(List<String> strings,
                                           int index)
Deprecated. 
Extract a String from the list and open a BufferedReader that can read from it


close

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


fillInMetaData

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


getMetaData

protected SqlMetaData getMetaData(String sql)
Deprecated. 

getStrings

public List<String> getStrings()
Deprecated. 

setStrings

public void setStrings(List<String> strings)
Deprecated. 

getReader

public SqlReader getReader()
Deprecated. 

setReader

public void setReader(SqlReader reader)
Deprecated. 


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