Package com.querydsl.core.types.dsl
Class MapPath<K,V,E extends SimpleExpression<? super V>>
java.lang.Object
com.querydsl.core.types.dsl.DslExpression<Map<K,V>>
com.querydsl.core.types.dsl.MapExpressionBase<K,V,E>
com.querydsl.core.types.dsl.MapPath<K,V,E>
- Type Parameters:
K- key typeV- value typeE- result type forget(K)results
- All Implemented Interfaces:
Expression<Map<K,,V>> MapExpression<K,,V> ParameterizedExpression<Map<K,,V>> Path<Map<K,,V>> Serializable
public class MapPath<K,V,E extends SimpleExpression<? super V>>
extends MapExpressionBase<K,V,E>
implements Path<Map<K,V>>
MapPath represents map paths- Author:
- tiwe
- See Also:
-
Field Summary
Fields inherited from class com.querydsl.core.types.dsl.DslExpression
hashCode, mixin -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal <R,C> R Accept the visitor with the given contextprotected PathMetadataforMapAccess(Expression<K> key) protected PathMetadataforMapAccess(K key) get(Expression<K> key) Create athis.get(key)expressionCreate athis.get(key)expressionReturn the annotated element related to the given pathGet the key typeGet the metadata for this pathClass<?>getParameter(int index) Get the type parameter at the given indexPath<?>getRoot()Get the root for this pathGet the value typeMethods inherited from class com.querydsl.core.types.dsl.MapExpressionBase
contains, contains, containsKey, containsKey, containsValue, containsValue, isEmpty, isNotEmpty, sizeMethods inherited from class com.querydsl.core.types.dsl.DslExpression
as, as, equals, getType, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.querydsl.core.types.Expression
getType
-
Constructor Details
-
MapPath
-
MapPath
-
MapPath
-
-
Method Details
-
accept
Description copied from interface:ExpressionAccept the visitor with the given context- Specified by:
acceptin interfaceExpression<K>- Type Parameters:
R- return typeC- context type- Parameters:
v- visitorcontext- context of visit- Returns:
- result of visit
-
forMapAccess
-
forMapAccess
-
get
Description copied from class:MapExpressionBaseCreate athis.get(key)expression- Specified by:
getin classMapExpressionBase<K,V, E extends SimpleExpression<? super V>> - Parameters:
key- key- Returns:
- this.get(key)
-
get
Description copied from class:MapExpressionBaseCreate athis.get(key)expression- Specified by:
getin classMapExpressionBase<K,V, E extends SimpleExpression<? super V>> - Parameters:
key- key- Returns:
- this.get(key)
-
getKeyType
Get the key type- Returns:
- key type
-
getMetadata
Description copied from interface:PathGet the metadata for this path- Specified by:
getMetadatain interfacePath<K>- Returns:
- path metadata
-
getRoot
Description copied from interface:PathGet the root for this path -
getValueType
Get the value type- Returns:
- value type
-
getAnnotatedElement
Description copied from interface:PathReturn the annotated element related to the given 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.
- Specified by:
getAnnotatedElementin interfacePath<K>- Returns:
- annotated element
-
getParameter
Description copied from interface:ParameterizedExpressionGet the type parameter at the given index- Specified by:
getParameterin interfaceParameterizedExpression<K>- Parameters:
index- zero based index of type parameter- Returns:
- type parameter at index
-