## Uses of Interface
javax.persistence.criteria.CollectionJoin

- Packages that use CollectionJoin
  Package | Description
  --- | ---
  javax.persistence.criteria | Java Persistence Criteria API

- - ### Uses of CollectionJoin in javax.persistence.criteria

    Methods in javax.persistence.criteria that return CollectionJoin
    Modifier and Type | Method and Description
    --- | ---
    `<X,Y> CollectionJoin<X,Y>` | Subquery.`correlate(CollectionJoin<X,Y> parentCollection)` Create a subquery collection join object correlated to a collection join object of the enclosing query.
    `<Y> CollectionJoin<X,Y>` | From.`join(CollectionAttribute<? super X,Y> collection)` Create an inner join to the specified Collection-valued attribute.
    `<Y> CollectionJoin<X,Y>` | From.`join(CollectionAttribute<? super X,Y> collection, JoinType jt)` Create a join to the specified Collection-valued attribute using the given join type.
    `<X,Y> CollectionJoin<X,Y>` | From.`joinCollection(String attributeName)` Create an inner join to the specified Collection-valued attribute.
    `<X,Y> CollectionJoin<X,Y>` | From.`joinCollection(String attributeName, JoinType jt)` Create a join to the specified Collection-valued attribute using the given join type.
    `CollectionJoin<Z,E>` | CollectionJoin.`on(Expression<Boolean> restriction)` Modify the join to restrict the result according to the specified ON condition and return the join object.
    `CollectionJoin<Z,E>` | CollectionJoin.`on(Predicate... restrictions)` Modify the join to restrict the result according to the specified ON condition and return the join object.
    `<X,T,E extends T> CollectionJoin<X,E>` | CriteriaBuilder.`treat(CollectionJoin<X,T> join, Class<E> type)` Downcast CollectionJoin object to the specified type.

    Methods in javax.persistence.criteria with parameters of type CollectionJoin
    Modifier and Type | Method and Description
    --- | ---
    `<X,Y> CollectionJoin<X,Y>` | Subquery.`correlate(CollectionJoin<X,Y> parentCollection)` Create a subquery collection join object correlated to a collection join object of the enclosing query.
    `<X,T,E extends T> CollectionJoin<X,E>` | CriteriaBuilder.`treat(CollectionJoin<X,T> join, Class<E> type)` Downcast CollectionJoin object to the specified type.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.