com.mysema.query.types
Interface SubQuery<T>

Type Parameters:
T -
All Known Implementing Classes:
BooleanSubQuery, ComparableSubQuery, DateSubQuery, DateTimeSubQuery, ListSubQuery, NumberSubQuery, ObjectSubQuery, StringSubQuery, SubQueryMixin, TimeSubQuery

public interface SubQuery<T>

SubQuery represents a sub query. The actual construction of a subquery is done via an Detachable instance.

Version:
$Id$
Author:
tiwe

Method Summary
 Expr<T> asExpr()
          Cast to Expr
 EBoolean exists()
          Get an exists(this) expression for the subquery
 QueryMetadata getMetadata()
          Get the query metadata for the subquery
 EBoolean notExists()
          Get a not exists(this) expression for the subquery
 

Method Detail

exists

EBoolean exists()
Get an exists(this) expression for the subquery

Returns:

getMetadata

QueryMetadata getMetadata()
Get the query metadata for the subquery

Returns:

notExists

EBoolean notExists()
Get a not exists(this) expression for the subquery

Returns:

asExpr

Expr<T> asExpr()
Cast to Expr

Returns:


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