Package rife.database.queries
Class AbstractWhereGroup<ParentType extends rife.database.queries.WhereQuery>
java.lang.Object
rife.database.queries.AbstractWhereQuery<AbstractWhereGroup<ParentType>>
rife.database.queries.AbstractWhereGroup<ParentType>
- Direct Known Subclasses:
WhereGroup
,WhereGroupAnd
,WhereGroupOr
public abstract class AbstractWhereGroup<ParentType extends rife.database.queries.WhereQuery>
extends AbstractWhereQuery<AbstractWhereGroup<ParentType>>
implements Cloneable
-
Field Summary
Modifier and TypeFieldDescriptionprotected Datasource
protected boolean
protected rife.database.queries.WhereQuery
protected String
Fields inherited from class rife.database.queries.AbstractWhereQuery
where_
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractWhereGroup
(Datasource datasource, rife.database.queries.WhereQuery parent) -
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) protected void
protected void
clone()
end()
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
clear, 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
getCapabilities, setExcludeUnsupportedCapabilities
-
Field Details
-
parent_
protected rife.database.queries.WhereQuery parent_ -
datasource_
-
sql_
-
excludeUnsupportedCapabilities_
protected boolean excludeUnsupportedCapabilities_
-
-
Constructor Details
-
AbstractWhereGroup
-
-
Method Details
-
end
-
getSql
-
clone
- Overrides:
clone
in classAbstractWhereQuery<AbstractWhereGroup<ParentType extends rife.database.queries.WhereQuery>>
-
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
-