Interface QueryDslTarget<T>
-
- Type Parameters:
T- Entity path type
- All Superinterfaces:
com.holonplatform.core.DataMappable,com.holonplatform.core.datastore.DataTarget<T>,com.holonplatform.core.Expression,com.holonplatform.core.Path<T>,com.holonplatform.core.Path.FinalPath<T>,Serializable,com.holonplatform.core.TypedExpression<T>
- All Known Implementing Classes:
DefaultQueryDslTarget
public interface QueryDslTarget<T> extends com.holonplatform.core.datastore.DataTarget<T>ADataTargetusing QueryDSLEntityPathto identify target data structure.- Since:
- 5.0.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.holonplatform.core.datastore.DataTarget
com.holonplatform.core.datastore.DataTarget.DataTargetResolver<T extends com.holonplatform.core.datastore.DataTarget>, com.holonplatform.core.datastore.DataTarget.DataTargetSupport<C extends com.holonplatform.core.datastore.DataTarget.DataTargetSupport<C>>
-
Nested classes/interfaces inherited from interface com.holonplatform.core.Expression
com.holonplatform.core.Expression.ExpressionResolverFunction<E extends com.holonplatform.core.Expression,R extends com.holonplatform.core.Expression>, com.holonplatform.core.Expression.InvalidExpressionException
-
Nested classes/interfaces inherited from interface com.holonplatform.core.Path
com.holonplatform.core.Path.Builder<T extends Object,B extends com.holonplatform.core.Path.Builder<T,B>>, com.holonplatform.core.Path.FinalPath<T extends Object>, com.holonplatform.core.Path.PathBuilder<T extends Object>
-
Nested classes/interfaces inherited from interface com.holonplatform.core.Path.FinalPath
com.holonplatform.core.Path.FinalPath.FinalPathBuilder<T extends Object>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Optional<String>getDataPath()com.querydsl.core.types.EntityPath<T>getEntityPath()Get the EntityPath to be used as query targetstatic <T> QueryDslTarget<T>of(com.querydsl.core.types.EntityPath<T> entityPath)Create a QueryDslTarget using givenentityPath.-
Methods inherited from interface com.holonplatform.core.datastore.DataTarget
property, property, property, property, property, property, property
-
-
-
-
Method Detail
-
getEntityPath
com.querydsl.core.types.EntityPath<T> getEntityPath()
Get the EntityPath to be used as query target- Returns:
- Target EntityPath
-
getDataPath
default Optional<String> getDataPath()
- Specified by:
getDataPathin interfacecom.holonplatform.core.DataMappable
-
of
static <T> QueryDslTarget<T> of(com.querydsl.core.types.EntityPath<T> entityPath)
Create a QueryDslTarget using givenentityPath.- Type Parameters:
T- Entity path type- Parameters:
entityPath- Target EntityPath- Returns:
- DataTarget on given entity path
-
-