Class SQL
java.lang.Object
uk.ac.manchester.spinnaker.alloc.db.SQL
Some sort of SQL that can be executed as part of a query or an update.
- 
Constructor SummaryConstructorsConstructorDescriptionCreate a new SQL string.Create a new SQL string with parameters that can be replaced.Create a new SQL string from a resource.Create a new SQL string with parameters that can be replaced.
- 
Method Summary
- 
Constructor Details- 
SQLCreate a new SQL string.- Parameters:
- sql- The String containing SQL
 
- 
SQLCreate a new SQL string from a resource.- Parameters:
- resource- The resource containing
 
- 
SQLCreate a new SQL string with parameters that can be replaced.- Parameters:
- sql- The String containing SQL with replaceable parts
- parameters- The parameters that are to be replaced
- values- The values that the parameters are to be replaced with
 
- 
SQLCreate a new SQL string with parameters that can be replaced.- Parameters:
- resource- The resource containing SQL with replaceable parts
- parameters- The parameters that are to be replaced
- values- The values that the parameters are to be replaced with
 
 
- 
- 
Method Details- 
getSQLGet the SQL to be executed.- Returns:
- The SQL.
 
 
-