com.mysema.query.support
Class QueryBase<Q extends QueryBase<Q>>

java.lang.Object
  extended by com.mysema.query.support.QueryBase<Q>
Direct Known Subclasses:
DetachableQuery, ProjectableQuery

public abstract class QueryBase<Q extends QueryBase<Q>>
extends Object

QueryBase provides a stub for Query implementations

Author:
tiwe

Field Summary
protected  QueryMixin<Q> queryMixin
           
 
Constructor Summary
QueryBase(QueryMixin<Q> queryMixin)
           
 
Method Summary
 Q distinct()
           
 boolean equals(Object o)
           
 Q groupBy(Expression<?>... o)
           
 int hashCode()
           
 Q having(Predicate... o)
           
 Q limit(long limit)
           
 Q offset(long offset)
           
 Q orderBy(OrderSpecifier<?>... o)
           
 Q restrict(QueryModifiers modifiers)
           
<P> Q
set(ParamExpression<P> param, P value)
           
 String toString()
           
 Q where(Predicate... o)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

queryMixin

protected final QueryMixin<Q extends QueryBase<Q>> queryMixin
Constructor Detail

QueryBase

public QueryBase(QueryMixin<Q> queryMixin)
Method Detail

distinct

public Q distinct()

groupBy

public Q groupBy(Expression<?>... o)

having

public Q having(Predicate... o)

orderBy

public Q orderBy(OrderSpecifier<?>... o)

where

public Q where(Predicate... o)

limit

public Q limit(long limit)

offset

public Q offset(long offset)

restrict

public Q restrict(QueryModifiers modifiers)

set

public <P> Q set(ParamExpression<P> param,
                 P value)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.