Package com.github.eikecochu.sqlbuilder
Class Delete
- java.lang.Object
-
- com.github.eikecochu.sqlbuilder.QueryPartImpl<Delete>
-
- com.github.eikecochu.sqlbuilder.Delete
-
- All Implemented Interfaces:
BeforeWhere<Delete>,QueryBuilder<Delete>,QueryPart,QueryPartLinked<Delete>,QueryPartSQL<Delete>
public class Delete extends QueryPartImpl<Delete> implements QueryBuilder<Delete>, BeforeWhere<Delete>
The DELETE expression. Start with this expression to prepare a DELETE query to delete elements from the database.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDelete(BeforeDelete<?> parent, java.lang.String table)Delete(Table table)Create a new DELETE statementDelete(java.lang.String table)Create a new DELETE statement
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringstring(QueryOptions options)Transforms this statement into an SQL string-
Methods inherited from class com.github.eikecochu.sqlbuilder.QueryPartImpl
parent, sql
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.eikecochu.sqlbuilder.BeforeWhere
where, where, where, where, whereSQL
-
Methods inherited from interface com.github.eikecochu.sqlbuilder.QueryBuilder
query, query
-
Methods inherited from interface com.github.eikecochu.sqlbuilder.QueryPartLinked
ext, parent, parent
-
Methods inherited from interface com.github.eikecochu.sqlbuilder.QueryPartSQL
sql
-
-
-
-
Constructor Detail
-
Delete
public Delete(java.lang.String table)
Create a new DELETE statement- Parameters:
table- The name of the table to delete from
-
Delete
public Delete(Table table)
Create a new DELETE statement- Parameters:
table- The Table representation of the table to delete from
-
Delete
protected Delete(BeforeDelete<?> parent, java.lang.String table)
-
-
Method Detail
-
string
public java.lang.String string(QueryOptions options)
Description copied from interface:QueryPartTransforms this statement into an SQL string
-
-