Package com.querydsl.core.types
Class PathMetadataFactory
java.lang.Object
com.querydsl.core.types.PathMetadataFactory
PathMetadataFactory is a factory class for Path construction- Author:
- tiwe
-
Method Summary
Modifier and TypeMethodDescriptionstatic PathMetadataforArrayAccess(Path<?> parent, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int index) Create a new PathMetadata instance for indexed array accessstatic PathMetadataforArrayAccess(Path<?> parent, Expression<Integer> index) Create a new PathMetadata instance for indexed array accessstatic PathMetadataforCollectionAny(Path<?> parent) Create a new PathMetadata instance for collection any accessstatic <T> PathMetadataforDelegate(Path<T> delegate) Create a new PathMetadata instance for delegate accessstatic PathMetadataforListAccess(Path<?> parent, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int index) Create a new PathMetadata instance for indexed list accessstatic PathMetadataforListAccess(Path<?> parent, Expression<Integer> index) Create a new PathMetadata instance for indexed list accessstatic <KT> PathMetadataforMapAccess(Path<?> parent, Expression<KT> key) Create a new PathMetadata instance for key based map accessstatic <KT> PathMetadataforMapAccess(Path<?> parent, KT key) Create a new PathMetadata instance for for key based map accessstatic PathMetadataforProperty(Path<?> parent, String property) Create a new PathMetadata instance for property accessstatic PathMetadataforVariable(String variable) Create a new PathMetadata instance for a variable
-
Method Details
-
forArrayAccess
Create a new PathMetadata instance for indexed array access- Parameters:
parent- parent pathindex- index of element- Returns:
- array access path
-
forArrayAccess
public static PathMetadata forArrayAccess(Path<?> parent, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int index) Create a new PathMetadata instance for indexed array access- Parameters:
parent- parent pathindex- index of element- Returns:
- array access path
-
forCollectionAny
Create a new PathMetadata instance for collection any access- Parameters:
parent- parent path- Returns:
- collection any path
-
forDelegate
Create a new PathMetadata instance for delegate access- Parameters:
delegate- delegate path- Returns:
- wrapped path
-
forListAccess
Create a new PathMetadata instance for indexed list access- Parameters:
parent- parent pathindex- index of element- Returns:
- list access path
-
forListAccess
public static PathMetadata forListAccess(Path<?> parent, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int index) Create a new PathMetadata instance for indexed list access- Parameters:
parent- parent pathindex- index of element- Returns:
- list access path
-
forMapAccess
Create a new PathMetadata instance for key based map access- Parameters:
parent- parent pathkey- key for map access- Returns:
- map access path
-
forMapAccess
Create a new PathMetadata instance for for key based map access- Parameters:
parent- parent pathkey- key for map access- Returns:
- map access path
-
forProperty
Create a new PathMetadata instance for property access- Parameters:
parent- parent pathproperty- property name- Returns:
- property path
-
forVariable
Create a new PathMetadata instance for a variable- Parameters:
variable- variable name- Returns:
- variable path
-