com.mysema.query.types.query
Class TimeSubQuery<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<D>
                  extended by com.mysema.query.types.expr.EDateOrTime<D>
                      extended by com.mysema.query.types.expr.ETime<A>
                          extended by com.mysema.query.types.query.TimeSubQuery<A>
Type Parameters:
A -
All Implemented Interfaces:
SubQuery<A>, Serializable

public final class TimeSubQuery<A extends Comparable<?>>
extends ETime<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
TimeSubQuery(Class<A> type, QueryMetadata md)
           
 
Method Summary
 void accept(Visitor v)
           
 ETime<A> as(Path<A> alias)
          Create an alias for the operation
 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.ETime
currentTime, currentTime, hour, milliSecond, minute, second
 
Methods inherited from class com.mysema.query.types.expr.EDateOrTime
after, after, before, before
 
Methods inherited from class com.mysema.query.types.expr.EComparable
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

TimeSubQuery

public TimeSubQuery(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:

as

public ETime<A> as(Path<A> alias)
Description copied from class: ESimple
Create an alias for the operation

Overrides:
as in class ETime<A extends Comparable<?>>
Returns:


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