public final class Delete extends Object implements QueryObject
Constructor and Description |
---|
Delete(String name)
Construct a SQL delete statement that deletes records of the table with given name.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor)
Accept method to handle incoming visitors.
|
Condition |
getCondition()
Get condition that specifies which records to delete.
|
Qualifier |
getQualifier()
Get method returning
Qualifier currently set. |
void |
setCondition(Condition condition)
Set condition that specifies which records to delete.
|
String |
toString()
Method constructing query string.
|
public Delete(String name)
name
- Name of the table to delete records of.public Condition getCondition()
public void setCondition(Condition condition)
condition
- Condition that specifies which records to delete.public Qualifier getQualifier()
Qualifier
currently set.public void accept(Visitor visitor)
accept
in interface QueryObject
visitor
- Visitor to be handled.Copyright © 2016. All rights reserved.