Package com.querydsl.core.types.dsl
Class CollectionPath<E,Q extends SimpleExpression<? super E>>
java.lang.Object
com.querydsl.core.types.dsl.DslExpression<T>
com.querydsl.core.types.dsl.CollectionExpressionBase<C,E>
com.querydsl.core.types.dsl.CollectionPathBase<Collection<E>,E,Q>
com.querydsl.core.types.dsl.CollectionPath<E,Q>
- Type Parameters:
E- component typeQ- component query type
- All Implemented Interfaces:
CollectionExpression<Collection<E>,,E> Expression<Collection<E>>,ParameterizedExpression<Collection<E>>,Path<Collection<E>>,Serializable
public class CollectionPath<E,Q extends SimpleExpression<? super E>>
extends CollectionPathBase<Collection<E>,E,Q>
CollectionPath represents collection paths- Author:
- tiwe
- See Also:
-
Field Summary
Fields inherited from class com.querydsl.core.types.dsl.DslExpression
hashCode, mixin -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedCollectionPath(Class<? super E> type, Class<Q> queryType, PathMetadata metadata) protectedCollectionPath(Class<? super E> type, Class<Q> queryType, PathMetadata metadata, PathInits inits) protected -
Method Summary
Modifier and TypeMethodDescriptionfinal <R,C> R Accept the visitor with the given contextany()Create a path that matches any element in this collectionReturn the annotated element related to the given pathGet the element typeGet the metadata for this pathClass<?>getParameter(int index) Get the type parameter at the given indexPath<?>getRoot()Get the root for this pathMethods inherited from class com.querydsl.core.types.dsl.CollectionPathBase
newInstanceMethods inherited from class com.querydsl.core.types.dsl.CollectionExpressionBase
as, contains, contains, 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
-
CollectionPath
-
CollectionPath
-
CollectionPath
-
CollectionPath
-
-
Method Details
-
accept
Description copied from interface:ExpressionAccept the visitor with the given context- Type Parameters:
R- return typeC- context type- Parameters:
v- visitorcontext- context of visit- Returns:
- result of visit
-
any
Description copied from class:CollectionPathBaseCreate a path that matches any element in this collection- Specified by:
anyin classCollectionPathBase<Collection<E>,E, Q extends SimpleExpression<? super E>> - Returns:
- path expression
-
getElementType
Description copied from class:CollectionExpressionBaseGet the element type- Specified by:
getElementTypein classCollectionExpressionBase<Collection<E>,E> - Returns:
- element type
-
getMetadata
Description copied from interface:PathGet the metadata for this path- Returns:
- path metadata
-
getRoot
Description copied from interface:PathGet the root for this path- Returns:
- root of path
-
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.
- Returns:
- annotated element
-
getParameter
Description copied from interface:ParameterizedExpressionGet the type parameter at the given index- Parameters:
index- zero based index of type parameter- Returns:
- type parameter at index
-