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,QueryBuilder,QueryPart
public class Delete extends QueryPartImpl<Delete> implements QueryBuilder, BeforeWhere
-
-
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
ext, 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, whereSQL
-
Methods inherited from interface com.github.eikecochu.sqlbuilder.QueryBuilder
query
-
-
-
-
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
-
-