com.mysema.query.types.query
Class NumberSubQuery<A extends Number & 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.ENumber<A>
                  extended by com.mysema.query.types.query.NumberSubQuery<A>
Type Parameters:
JM -
A -
All Implemented Interfaces:
SubQuery<A>, Serializable

public final class NumberSubQuery<A extends Number & Comparable<?>>
extends ENumber<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
NumberSubQuery(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.ENumber
abs, add, add, as, avg, between, between, byteValue, castToNum, ceil, divide, divide, doubleValue, floatValue, floor, goe, goe, gt, gt, in, intValue, loe, loe, longValue, lt, lt, max, max, min, min, multiply, multiply, negate, notBetween, notBetween, notIn, random, round, shortValue, sqrt, subtract, subtract, sum
 
Methods inherited from class com.mysema.query.types.expr.EComparableBase
asc, desc, stringValue
 
Methods inherited from class com.mysema.query.types.expr.ESimple
count, countDistinct, eq, eq, in, in, ne, ne, when, when
 
Methods inherited from class com.mysema.query.types.Expr
asExpr, getType, 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

NumberSubQuery

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

accept

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

equals

public boolean equals(Object o)
Specified by:
equals in class Expr<A extends Number & 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 Number & 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 Number & Comparable<?>>
Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class Expr<A extends Number & 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 Number & Comparable<?>>
Returns:


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