Class Delete
- java.lang.Object
-
- org.dashbuilder.dataprovider.sql.model.SQLStatement<Delete>
-
- org.dashbuilder.dataprovider.sql.model.Delete
-
public class Delete extends SQLStatement<Delete>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Condition>wheres-
Fields inherited from class org.dashbuilder.dataprovider.sql.model.SQLStatement
_columnsRefs, connection, dialect, table
-
-
Constructor Summary
Constructors Constructor Description Delete(Connection connection, Dialect dialect)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()Deletefrom(Table table)TablegetFromTable()StringgetSQL()List<Condition>getWheres()StringtoString()Deletewhere(Condition condition)-
Methods inherited from class org.dashbuilder.dataprovider.sql.model.SQLStatement
fix, fix, fix, fixCase, fixColumns, getConnection, getDialect, getTable, table
-
-
-
-
Constructor Detail
-
Delete
public Delete(Connection connection, Dialect dialect)
-
-
Method Detail
-
getFromTable
public Table getFromTable()
-
getSQL
public String getSQL()
-
execute
public void execute() throws SQLException- Throws:
SQLException
-
-