MapJoin
- Type Parameters:
<Z>
- the source type of the join<K>
- the type of the target Map key<V>
- the type of the target Map value
- Super Interfaces:
Expression<V>
,FetchParent<Z,V>
,From<Z,V>
,Join<Z,V>
,Path<V>
,PluralJoin<Z,Map<K,V>,V>
,Selection<V>
,TupleElement<V>
The
MapJoin
interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.Map
. - Since:
- JPA 2.0
Public Methods
- Return:
- expression corresponding to the map entry
- Since:
- JPA 2.0
- Return:
- metamodel type representing the
Map
that is the target of the join
- Since:
- JPA 2.0
Path<K> key()
- Return:
- path corresponding to map key
- Since:
- JPA 2.0
Replaces the previous ON condition, if any.
- Parameters:
restriction
- a simple or compound boolean expression
- Return:
- the modified join object
- Since:
- JPA 2.1
Replaces the previous ON condition, if any.
- Parameters:
restrictions
- zero or more restriction predicates
- Return:
- the modified join object
- Since:
- JPA 2.1
Path<V> value()
This method is for stylistic use only: it just returns this.
- Return:
- path corresponding to the map value
- Since:
- JPA 2.0