Package rife.database.queries
Class Delete
Object representation of a SQL "DELETE" query.
This object may be used to dynamically construct a SQL statement in a
database-independent fashion. After it is finished, it may be executed using
DbQueryManager.executeUpdate()
.
- Since:
- 1.0
-
Field Summary
Fields inherited from class rife.database.queries.AbstractWhereQuery
where_
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
_fieldSubselect
(Select query) protected void
_tableSubselect
(Select query) protected void
_unionSubselect
(Select query) protected void
_whereSubselect
(Select query) protected void
addFieldParameter
(String field) protected void
addWhereParameter
(String field) void
addWhereParameters
(List<String> parameters) void
addWhereParameters
(List<String> parameters) void
clear()
protected void
protected void
clone()
rife.database.capabilities.Capabilities
getFrom()
getHint()
getSql()
protected boolean
void
setExcludeUnsupportedCapabilities
(boolean flag) protected void
setLimitParameter
(String limitParameter) protected void
setOffsetParameter
(String offsetParameter) toString()
Methods inherited from class rife.database.queries.AbstractWhereQuery
getWhere, startWhere, startWhereAnd, startWhereOr, where, where, where, where, where, whereAnd, whereAnd, whereAnd, whereAnd, whereExcluded, whereFiltered, whereIncluded, whereOr, whereOr, whereOr, whereOr, whereParameter, whereParameter, whereParameterAnd, whereParameterAnd, whereParameterOr, whereParameterOr, whereParameters, whereParametersExcluded, whereSubselect
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface rife.database.queries.Query
setExcludeUnsupportedCapabilities
-
Field Details
-
datasource_
-
sql_
-
excludeUnsupportedCapabilities_
protected boolean excludeUnsupportedCapabilities_
-
-
Constructor Details
-
Delete
-
-
Method Details
-
getHint
-
clear
public void clear()- Specified by:
clear
in interfaceQuery
- Overrides:
clear
in classAbstractWhereQuery<Delete>
-
getFrom
-
getCapabilities
public rife.database.capabilities.Capabilities getCapabilities()- Specified by:
getCapabilities
in interfaceQuery
-
getSql
-
hint
-
from
-
clone
- Overrides:
clone
in classAbstractWhereQuery<Delete>
-
addWhereParameters
-
_fieldSubselect
-
_tableSubselect
-
_whereSubselect
-
_unionSubselect
-
getParameters
- Specified by:
getParameters
in interfaceQuery
-
addFieldParameter
-
clearWhereParameters
protected void clearWhereParameters() -
addWhereParameter
-
getWhereParameters
-
addWhereParameters
-
setLimitParameter
-
getLimitParameter
-
setOffsetParameter
-
getOffsetParameter
-
isLimitBeforeOffset
protected boolean isLimitBeforeOffset() -
getDatasource
-
setExcludeUnsupportedCapabilities
public void setExcludeUnsupportedCapabilities(boolean flag) - Specified by:
setExcludeUnsupportedCapabilities
in interfaceQuery
-
clearGenerated
protected void clearGenerated() -
toString
-