com.mysema.query.collections
Interface ColQuery

All Superinterfaces:
FilteredClause<ColQuery>, Projectable, SimpleQuery<ColQuery>
All Known Implementing Classes:
ColQueryImpl

public interface ColQuery
extends SimpleQuery<ColQuery>, Projectable

Query interface for Collection queries

Author:
tiwe

Method Summary
<A> ColQuery
bind(Path<A> entity, Iterable<? extends A> col)
          Bind the given collection to an already existing query source
 ColQuery clone()
          Clone this ColQuery instance and return the clone
<A> ColQuery
from(Path<A> entity, Iterable<? extends A> col)
          Add a query source
<P> ColQuery
innerJoin(CollectionExpression<?,P> collectionPath, Path<P> alias)
          Define an inner join from the Collection typed path to the alias
<P> ColQuery
innerJoin(MapExpression<?,P> mapPath, Path<P> alias)
          Define an inner join from the Map typed path to the alias
 
Methods inherited from interface com.mysema.query.SimpleQuery
distinct, limit, offset, orderBy, restrict, set
 
Methods inherited from interface com.mysema.query.FilteredClause
where
 
Methods inherited from interface com.mysema.query.Projectable
count, countDistinct, exists, iterate, iterate, iterate, iterateDistinct, iterateDistinct, iterateDistinct, list, list, list, listDistinct, listDistinct, listDistinct, listDistinctResults, listResults, map, notExists, singleResult, singleResult, singleResult, transform, uniqueResult, uniqueResult, uniqueResult
 

Method Detail

clone

ColQuery clone()
Clone this ColQuery instance and return the clone

Returns:

bind

<A> ColQuery bind(Path<A> entity,
                  Iterable<? extends A> col)
Bind the given collection to an already existing query source

Type Parameters:
A -
Parameters:
entity - Path for the source
col - content of the source
Returns:

from

<A> ColQuery from(Path<A> entity,
                  Iterable<? extends A> col)
Add a query source

Type Parameters:
A -
Parameters:
entity - Path for the source
col - content of the source
Returns:

innerJoin

<P> ColQuery innerJoin(CollectionExpression<?,P> collectionPath,
                       Path<P> alias)
Define an inner join from the Collection typed path to the alias

Type Parameters:
P -
Parameters:
collectionPath -
alias -
Returns:

innerJoin

<P> ColQuery innerJoin(MapExpression<?,P> mapPath,
                       Path<P> alias)
Define an inner join from the Map typed path to the alias

Type Parameters:
P -
Parameters:
mapPath -
alias -
Returns:


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