Package com.querydsl.core.types.dsl
Class ListPath<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<List<E>,E,Q>
com.querydsl.core.types.dsl.ListPath<E,Q>
- Type Parameters:
E- component typeQ- result type forget(int)andany()results
- All Implemented Interfaces:
CollectionExpression<List<E>,,E> ListExpression<E,,Q> Expression<List<E>>,ParameterizedExpression<List<E>>,Path<List<E>>,Serializable
public class ListPath<E,Q extends SimpleExpression<? super E>>
extends CollectionPathBase<List<E>,E,Q>
implements ListExpression<E,Q>
ListPath represents list paths- Author:
- tiwe
- See Also:
-
Field Summary
Fields inherited from class com.querydsl.core.types.dsl.DslExpression
hashCode, mixin -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedprotectedprotected -
Method Summary
Modifier and TypeMethodDescriptionfinal <R,C> R Accept the visitor with the given contextany()Create a path that matches any element in this collectionprotected PathMetadataforListAccess(int index) protected PathMetadataforListAccess(Expression<Integer> index) get(int index) Indexed access, gets the element at the given indexget(Expression<Integer> index) Indexed access, gets the element at the given indexReturn 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
-
ListPath
-
ListPath
-
ListPath
-
ListPath
-
-
Method Details
-
accept
Description copied from interface:ExpressionAccept the visitor with the given context- Specified by:
acceptin interfaceExpression<E>- 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<List<E>,E, Q extends SimpleExpression<? super E>> - Returns:
- path expression
-
forListAccess
-
forListAccess
-
get
Description copied from interface:ListExpressionIndexed access, gets the element at the given index- Specified by:
getin interfaceListExpression<E,Q extends SimpleExpression<? super E>> - Parameters:
index- zero based index- Returns:
- this.get(index)
- See Also:
-
get
Description copied from interface:ListExpressionIndexed access, gets the element at the given index- Specified by:
getin interfaceListExpression<E,Q extends SimpleExpression<? super E>> - Parameters:
index- zero based index- Returns:
- this.get(index)
- See Also:
-
getElementType
Description copied from class:CollectionExpressionBaseGet the element type- Specified by:
getElementTypein classCollectionExpressionBase<List<E>,E> - Returns:
- element type
-
getMetadata
Description copied from interface:PathGet the metadata for this path- Specified by:
getMetadatain interfacePath<E>- Returns:
- path metadata
-
getRoot
Description copied from interface:PathGet the root for this 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.
- Specified by:
getAnnotatedElementin interfacePath<E>- Returns:
- annotated element
-
getParameter
Description copied from interface:ParameterizedExpressionGet the type parameter at the given index- Specified by:
getParameterin interfaceParameterizedExpression<E>- Parameters:
index- zero based index of type parameter- Returns:
- type parameter at index
-