public final class PathMetadataFactory
extends java.lang.Object
PathMetadataFactory
is a factory class for Path
constructionModifier and Type | Method and Description |
---|---|
static PathMetadata |
forArrayAccess(Path<?> parent,
Expression<java.lang.Integer> index)
Create a new PathMetadata instance for indexed array access
|
static PathMetadata |
forArrayAccess(Path<?> parent,
@Range(from=0L,to=2147483647L) int index)
Create a new PathMetadata instance for indexed array access
|
static PathMetadata |
forCollectionAny(Path<?> parent)
Create a new PathMetadata instance for collection any access
|
static <T> PathMetadata |
forDelegate(Path<T> delegate)
Create a new PathMetadata instance for delegate access
|
static PathMetadata |
forListAccess(Path<?> parent,
Expression<java.lang.Integer> index)
Create a new PathMetadata instance for indexed list access
|
static PathMetadata |
forListAccess(Path<?> parent,
@Range(from=0L,to=2147483647L) int index)
Create a new PathMetadata instance for indexed list access
|
static <KT> PathMetadata |
forMapAccess(Path<?> parent,
Expression<KT> key)
Create a new PathMetadata instance for key based map access
|
static <KT> PathMetadata |
forMapAccess(Path<?> parent,
KT key)
Create a new PathMetadata instance for for key based map access
|
static PathMetadata |
forProperty(Path<?> parent,
java.lang.String property)
Create a new PathMetadata instance for property access
|
static PathMetadata |
forVariable(java.lang.String variable)
Create a new PathMetadata instance for a variable
|
public static PathMetadata forArrayAccess(Path<?> parent, Expression<java.lang.Integer> index)
parent
- parent pathindex
- index of elementpublic static PathMetadata forArrayAccess(Path<?> parent, @Range(from=0L,to=2147483647L) int index)
parent
- parent pathindex
- index of elementpublic static PathMetadata forCollectionAny(Path<?> parent)
parent
- parent pathpublic static <T> PathMetadata forDelegate(Path<T> delegate)
delegate
- delegate pathpublic static PathMetadata forListAccess(Path<?> parent, Expression<java.lang.Integer> index)
parent
- parent pathindex
- index of elementpublic static PathMetadata forListAccess(Path<?> parent, @Range(from=0L,to=2147483647L) int index)
parent
- parent pathindex
- index of elementpublic static <KT> PathMetadata forMapAccess(Path<?> parent, Expression<KT> key)
parent
- parent pathkey
- key for map accesspublic static <KT> PathMetadata forMapAccess(Path<?> parent, KT key)
parent
- parent pathkey
- key for map accesspublic static PathMetadata forProperty(Path<?> parent, java.lang.String property)
parent
- parent pathproperty
- property namepublic static PathMetadata forVariable(java.lang.String variable)
variable
- variable nameCopyright © 2007–2021 Querydsl. All rights reserved.