Top Description Methods
org.hibernate.query.criteria.internal

public Interface MapJoinImplementor<Z, K, V>

extends JoinImplementor<Z, V>, MapJoin<Z, K, V>
Known Direct Implementers
org.hibernate.query.criteria.internal.path.MapAttributeJoin
Imports
javax.persistence.criteria.Expression, .MapJoin, .Predicate

Specialization of JoinImplementor for java.util.Map typed attribute joins
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public MapJoinImplementor<Z, K, V>
public MapJoinImplementor<Z, K, V>
on(Expression<Boolean>
a simple or compound boolean expression
restriction
)

Redeclares org.hibernate.query.criteria.internal.JoinImplementor.on, javax.persistence.criteria.MapJoin.on.

Coordinate return type between Join#on(Expression) and Fetch#on(Expression)
public MapJoinImplementor<Z, K, V>
on(Predicate...
zero or more restriction predicates
restrictions
)

Redeclares org.hibernate.query.criteria.internal.JoinImplementor.on, javax.persistence.criteria.MapJoin.on.

Coordinate return type between Join#on(Predicate...) and Fetch#on(Predicate...)
public <T extends V> MapJoinImplementor<Z, K, T>
treatAs(Class<T>
The type to treat the path as.
treatAsType
)

Redeclares org.hibernate.query.criteria.internal.JoinImplementor.treatAs.

Defines handling for the JPA 2.1 TREAT down-casting feature.
Inherited from javax.persistence.criteria.MapJoin:
entrygetModelkeyvalue

Method Detail

correlateToback to summary
public MapJoinImplementor<Z, K, V> correlateTo(CriteriaSubqueryImpl<T> subquery)

Redeclares org.hibernate.query.criteria.internal.JoinImplementor.correlateTo.

Doc from org.hibernate.query.criteria.internal.JoinImplementor.correlateTo.

Refined return type

Annotations
@Override
onback to summary
public MapJoinImplementor<Z, K, V> on(Expression<Boolean> restriction)

Redeclares org.hibernate.query.criteria.internal.JoinImplementor.on, javax.persistence.criteria.MapJoin.on.

Doc from org.hibernate.query.criteria.internal.JoinImplementor.on.

Coordinate return type between Join#on(Expression) and Fetch#on(Expression)

Parameters
restriction:Expression<Boolean>

Doc from javax.persistence.criteria.MapJoin.on.

a simple or compound boolean expression

Returns:MapJoinImplementor<Z, K, V>

Doc from javax.persistence.criteria.MapJoin.on.

the modified join object

Annotations
@Override
onback to summary
public MapJoinImplementor<Z, K, V> on(Predicate... restrictions)

Redeclares org.hibernate.query.criteria.internal.JoinImplementor.on, javax.persistence.criteria.MapJoin.on.

Doc from org.hibernate.query.criteria.internal.JoinImplementor.on.

Coordinate return type between Join#on(Predicate...) and Fetch#on(Predicate...)

Parameters
restrictions:Predicate[]

Doc from javax.persistence.criteria.MapJoin.on.

zero or more restriction predicates

Returns:MapJoinImplementor<Z, K, V>

Doc from javax.persistence.criteria.MapJoin.on.

the modified join object

Annotations
@Override
treatAsback to summary
public <T extends V> MapJoinImplementor<Z, K, T> treatAs(Class<T> treatAsType)

Redeclares org.hibernate.query.criteria.internal.JoinImplementor.treatAs.

Doc from org.hibernate.query.criteria.internal.PathImplementor.treatAs.

Defines handling for the JPA 2.1 TREAT down-casting feature.

Parameters
<T>
The parameterized type representation of treatAsType.
treatAsType:Class<T>

The type to treat the path as.

Returns:MapJoinImplementor<Z, K, T>

The properly typed view of this path.

Annotations
@Override