K - key typeV - value typepublic class MapPath<K,V,E extends SimpleExpression<? super V>> extends MapExpressionBase<K,V,E> implements Path<Map<K,V>>
hashCode, mixin| Constructor and Description |
|---|
MapPath(Class<? super K> keyType,
Class<? super V> valueType,
Class<E> queryType,
Path<?> parent,
String property) |
MapPath(Class<? super K> keyType,
Class<? super V> valueType,
Class<E> queryType,
PathMetadata<?> metadata) |
MapPath(Class<? super K> keyType,
Class<? super V> valueType,
Class<E> queryType,
String variable) |
| Modifier and Type | Method and Description |
|---|---|
<R,C> R |
accept(Visitor<R,C> v,
C context)
Accept the visitor with the given context
|
protected PathMetadata<K> |
forMapAccess(Expression<K> key) |
protected PathMetadata<K> |
forMapAccess(K key) |
E |
get(Expression<K> key) |
E |
get(K key) |
AnnotatedElement |
getAnnotatedElement()
Return the annotated element related to the given path
|
Class<K> |
getKeyType() |
PathMetadata<?> |
getMetadata()
Get the metadata for this path
|
Class<?> |
getParameter(int index) |
Path<?> |
getRoot()
Get the root for this path
|
Class<V> |
getValueType() |
contains, contains, containsKey, containsKey, containsValue, containsValue, isEmpty, isNotEmpty, sizeas, as, equals, getType, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTypepublic MapPath(Class<? super K> keyType, Class<? super V> valueType, Class<E> queryType, String variable)
public MapPath(Class<? super K> keyType, Class<? super V> valueType, Class<E> queryType, Path<?> parent, String property)
public final <R,C> R accept(Visitor<R,C> v, C context)
Expressionaccept in interface Expression<Map<K,V>>R - return typeC - context typev - visitorcontext - context of visitprotected PathMetadata<K> forMapAccess(K key)
protected PathMetadata<K> forMapAccess(Expression<K> key)
public E get(Expression<K> key)
get in class MapExpressionBase<K,V,E extends SimpleExpression<? super V>>public E get(K key)
get in class MapExpressionBase<K,V,E extends SimpleExpression<? super V>>public PathMetadata<?> getMetadata()
PathgetMetadata in interface Path<Map<K,V>>public AnnotatedElement getAnnotatedElement()
PathFor property paths the annotated element contains the annotations of the related field and/or getter method and for all others paths the annotated element is the expression type.
getAnnotatedElement in interface Path<Map<K,V>>public Class<?> getParameter(int index)
getParameter in interface ParametrizedExpression<Map<K,V>>Copyright © 2007–2015 Querydsl. All rights reserved.