All Packages Class Hierarchy This Package Previous Next Index
Class Zql.ZDelete
java.lang.Object
|
+----Zql.ZDelete
- public class ZDelete
- extends Object
- implements ZStatement
ZDelete: an SQL DELETE statement.
SQL Syntax: DELETE [from] table [where Expression];
-
ZDelete(String)
- Create a DELETE statement on a given table
-
addWhere(ZExp)
- Add a WHERE clause to the DELETE statement
-
getTable()
-
-
getWhere()
-
-
toString()
-
ZDelete
public ZDelete(String tab)
- Create a DELETE statement on a given table
- Parameters:
- tab - the table name
addWhere
public void addWhere(ZExp w)
- Add a WHERE clause to the DELETE statement
- Parameters:
- w - An SQL expression compatible with a WHERE clause
getTable
public String getTable()
- Returns:
- The table concerned by the DELETE statement.
getWhere
public ZExp getWhere()
- Returns:
- The SQL Where clause of the DELETE statement (an SQL Expression
or Subquery, compatible with an SQL WHERE clause).
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index