com.mysema.query.types.query
Class ListSubQuery<A>

java.lang.Object
  extended by com.mysema.query.types.Expr<D>
      extended by com.mysema.query.types.expr.ESimple<C>
          extended by com.mysema.query.types.expr.ECollectionBase<List<A>,A>
              extended by com.mysema.query.types.query.ListSubQuery<A>
Type Parameters:
A -
All Implemented Interfaces:
ECollection<List<A>,A>, SubQuery<List<A>>, Serializable

public final class ListSubQuery<A>
extends ECollectionBase<List<A>,A>
implements SubQuery<List<A>>

List result subquery

Author:
tiwe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mysema.query.types.Expr
primitive
 
Constructor Summary
ListSubQuery(Class<A> elementType, QueryMetadata md)
           
 
Method Summary
 void accept(Visitor v)
           
 Expr<?> as(Expr<?> alias)
           
 boolean equals(Object o)
           
 EBoolean exists()
          Get an exists(this) expression for the subquery
 Class<A> getElementType()
          Get the element type of this path
 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.ECollectionBase
contains, contains, isEmpty, isNotEmpty, size
 
Methods inherited from class com.mysema.query.types.expr.ESimple
as, asExpr, count, countDistinct, eq, eq, in, in, in, ne, ne, when, when
 
Methods inherited from class com.mysema.query.types.Expr
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

ListSubQuery

public ListSubQuery(Class<A> elementType,
                    QueryMetadata md)
Method Detail

accept

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

equals

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

exists

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

Specified by:
exists in interface SubQuery<List<A>>
Returns:

getElementType

public Class<A> getElementType()
Description copied from interface: ECollection
Get the element type of this path

Specified by:
getElementType in interface ECollection<List<A>,A>

getMetadata

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

Specified by:
getMetadata in interface SubQuery<List<A>>
Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class Expr<List<A>>

notExists

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

Specified by:
notExists in interface SubQuery<List<A>>
Returns:

as

public Expr<?> as(Expr<?> alias)


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