com.uwyn.rife.database.querymanagers.generic
Class CountQuery

java.lang.Object
  extended by com.uwyn.rife.database.queries.AbstractWhereDelegateQuery<CountQuery,Select>
      extended by com.uwyn.rife.database.querymanagers.generic.CountQuery
All Implemented Interfaces:
Query, ReadQuery, Cloneable

public class CountQuery
extends AbstractWhereDelegateQuery<CountQuery,Select>
implements ReadQuery, Cloneable


Field Summary
 
Fields inherited from class com.uwyn.rife.database.queries.AbstractWhereDelegateQuery
mDelegate
 
Constructor Summary
CountQuery(Select query)
           
 
Method Summary
 void clear()
           
 CountQuery clone()
           
 com.uwyn.rife.database.capabilities.Capabilities getCapabilities()
           
 Select getDelegate()
           
 String getFrom()
           
 QueryParameters getParameters()
           
 String getSql()
           
 CountQuery join(String table)
           
 CountQuery joinCross(String table)
           
 CountQuery joinCustom(String customJoin)
           
 CountQuery joinInner(String table, Select.JoinCondition condition, String conditionExpression)
           
 CountQuery joinOuter(String table, Select.JoinType type, Select.JoinCondition condition, String conditionExpression)
           
 void setExcludeUnsupportedCapabilities(boolean flag)
           
 String toString()
           
 CountQuery union(Select union)
           
 CountQuery union(String union)
           
 
Methods inherited from class com.uwyn.rife.database.queries.AbstractWhereDelegateQuery
addWhereParameters, getDatasource, startWhere, startWhereAnd, startWhereOr, where, where, where, where, where, where, where, where, where, where, where, where, whereAnd, whereAnd, whereAnd, whereAnd, whereAnd, whereAnd, whereAnd, whereAnd, whereAnd, whereAnd, whereAnd, whereExcluded, whereFiltered, whereIncluded, whereOr, whereOr, whereOr, whereOr, whereOr, whereOr, whereOr, whereOr, whereOr, whereOr, whereOr, whereSubselect
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CountQuery

public CountQuery(Select query)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

clone

public CountQuery clone()
Overrides:
clone in class Object

clear

public void clear()
Specified by:
clear in interface Query

getFrom

public String getFrom()

getParameters

public QueryParameters getParameters()
Specified by:
getParameters in interface Query

getSql

public String getSql()
Specified by:
getSql in interface Query

getCapabilities

public com.uwyn.rife.database.capabilities.Capabilities getCapabilities()
Specified by:
getCapabilities in interface Query

setExcludeUnsupportedCapabilities

public void setExcludeUnsupportedCapabilities(boolean flag)
Specified by:
setExcludeUnsupportedCapabilities in interface Query

join

public CountQuery join(String table)

joinCross

public CountQuery joinCross(String table)

joinCustom

public CountQuery joinCustom(String customJoin)

joinInner

public CountQuery joinInner(String table,
                            Select.JoinCondition condition,
                            String conditionExpression)

joinOuter

public CountQuery joinOuter(String table,
                            Select.JoinType type,
                            Select.JoinCondition condition,
                            String conditionExpression)

union

public CountQuery union(Select union)

union

public CountQuery union(String union)

getDelegate

public Select getDelegate()
Overrides:
getDelegate in class AbstractWhereDelegateQuery<CountQuery,Select>


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.