com.mysema.query.types.query
Class ComparableSubQuery<A extends Comparable<?>>

java.lang.Object
  extended by com.mysema.query.types.Expr<D>
      extended by com.mysema.query.types.expr.ESimple<D>
          extended by com.mysema.query.types.expr.EComparableBase<D>
              extended by com.mysema.query.types.expr.EComparable<A>
                  extended by com.mysema.query.types.query.ComparableSubQuery<A>
Type Parameters:
A -
All Implemented Interfaces:
SubQuery<A>, Serializable

public final class ComparableSubQuery<A extends Comparable<?>>
extends EComparable<A>
implements SubQuery<A>

Single result subquery

Author:
tiwe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mysema.query.types.Expr
primitive
 
Constructor Summary
ComparableSubQuery(Class<A> type, QueryMetadata md)
           
 
Method Summary
 void accept(Visitor v)
           
 boolean equals(Object o)
           
 EBoolean exists()
          Get an exists(this) expression for the subquery
 QueryMetadata getMetadata()
          Get the query metadata for the subquery
 int hashCode()
           
 EBoolean notExists()
          Get a not exists(this) expression for the subquery
 
Methods inherited from class com.mysema.query.types.expr.EComparable
as, between, between, goe, goe, gt, gt, loe, loe, lt, lt, notBetween, notBetween
 
Methods inherited from class com.mysema.query.types.expr.EComparableBase
asc, castToNum, desc, stringValue
 
Methods inherited from class com.mysema.query.types.expr.ESimple
count, countDistinct, eq, eq, in, in, in, ne, ne, when, when
 
Methods inherited from class com.mysema.query.types.Expr
asExpr, getType, notIn, notIn, notIn, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.mysema.query.types.SubQuery
asExpr
 

Constructor Detail

ComparableSubQuery

public ComparableSubQuery(Class<A> type,
                          QueryMetadata md)
Method Detail

accept

public void accept(Visitor v)
Specified by:
accept in class Expr<A extends Comparable<?>>

equals

public boolean equals(Object o)
Specified by:
equals in class Expr<A extends Comparable<?>>

exists

public EBoolean exists()
Description copied from interface: SubQuery
Get an exists(this) expression for the subquery

Specified by:
exists in interface SubQuery<A extends Comparable<?>>
Returns:

getMetadata

public QueryMetadata getMetadata()
Description copied from interface: SubQuery
Get the query metadata for the subquery

Specified by:
getMetadata in interface SubQuery<A extends Comparable<?>>
Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class Expr<A extends Comparable<?>>

notExists

public EBoolean notExists()
Description copied from interface: SubQuery
Get a not exists(this) expression for the subquery

Specified by:
notExists in interface SubQuery<A extends Comparable<?>>
Returns:


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