Package cz.encircled.joiner.util
Class JoinerUtils
java.lang.Object
cz.encircled.joiner.util.JoinerUtils
- Author:
- Vlad on 29-Dec-16.
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<com.querydsl.core.types.Path<?>>collectPredicatePaths(com.querydsl.core.types.Expression<?> expression) static <T extends com.querydsl.core.types.EntityPath<?>>
TgetDefaultPath(com.querydsl.core.types.dsl.CollectionPathBase<?, ?, ?> path) Find default path of an entity (e.g.static <T extends com.querydsl.core.types.EntityPath<?>>
TgetDefaultPath(Class<T> entityPath) Find default path of an entity (e.g.
-
Method Details
-
collectPredicatePaths
public static List<com.querydsl.core.types.Path<?>> collectPredicatePaths(com.querydsl.core.types.Expression<?> expression) -
getDefaultPath
public static <T extends com.querydsl.core.types.EntityPath<?>> T getDefaultPath(Class<T> entityPath) Find default path of an entity (e.g. QUser.user for QUser class) -
getDefaultPath
public static <T extends com.querydsl.core.types.EntityPath<?>> T getDefaultPath(com.querydsl.core.types.dsl.CollectionPathBase<?, ?, ?> path) Find default path of an entity (e.g. QUser.user for QUser class)
-