public class SQLDeleteBuilder extends java.lang.Object
| Constructor and Description |
|---|
SQLDeleteBuilder(java.lang.String table) |
| Modifier and Type | Method and Description |
|---|---|
void |
addWhereClause(WhereClause clause) |
void |
clearWhereClauses()
clear the currently set list of where clauses
|
int |
execute(org.springframework.jdbc.core.JdbcTemplate template)
execute the statement on the given template
|
int |
execute(org.springframework.jdbc.core.JdbcTemplate template,
java.lang.String type)
execute the statement on the given template
|
java.lang.Object[] |
getValues() |
int[] |
getValueTypes() |
int |
getWhereClauseCount() |
void |
setLimits(Limits limits) |
void |
setMaxItems(int maxItems) |
void |
setStartItem(int startItem) |
java.lang.String |
toSQLString() |
java.lang.String |
toSQLString(java.lang.String type) |
public SQLDeleteBuilder(java.lang.String table)
table - public void clearWhereClauses()
public int getWhereClauseCount()
public void setStartItem(int startItem)
startItem - the startItem to set, negative value disables limitpublic void setMaxItems(int maxItems)
maxItems - the maxItems to set, negative value disables limitpublic void addWhereClause(WhereClause clause)
clause - public int execute(org.springframework.jdbc.core.JdbcTemplate template)
template - public int execute(org.springframework.jdbc.core.JdbcTemplate template, java.lang.String type)
template - type - public java.lang.Object[] getValues()
public int[] getValueTypes()
public java.lang.String toSQLString()
public java.lang.String toSQLString(java.lang.String type)
type - LimitsCopyright © 2015 Tampere University of Technology, Pori Department.