Package io.micronaut.data.model.query
Class AssociationQuery
java.lang.Object
io.micronaut.data.model.query.DefaultQuery
io.micronaut.data.model.query.AssociationQuery
- All Implemented Interfaces:
Criteria
,QueryModel
,QueryModel.Criterion
@Deprecated(forRemoval=true,
since="4.9")
public class AssociationQuery
extends DefaultQuery
implements QueryModel.Criterion
Deprecated, for removal: This API element is subject to removal in a future version.
Replaced by JPA criteria
Extends a query and allows querying an association.
- Since:
- 1.0
- Author:
- graemerocher
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.data.model.query.QueryModel
QueryModel.ArrayContains, QueryModel.AvgProjection, QueryModel.Between, QueryModel.Conjunction, QueryModel.Contains, QueryModel.CountDistinctProjection, QueryModel.CountDistinctRootProjection, QueryModel.CountProjection, QueryModel.Criterion, QueryModel.Disjunction, QueryModel.DistinctProjection, QueryModel.EndsWith, QueryModel.Equals, QueryModel.EqualsAll, QueryModel.EqualsProperty, QueryModel.Exists, QueryModel.GreaterThan, QueryModel.GreaterThanAll, QueryModel.GreaterThanEquals, QueryModel.GreaterThanEqualsAll, QueryModel.GreaterThanEqualsProperty, QueryModel.GreaterThanEqualsSome, QueryModel.GreaterThanProperty, QueryModel.GreaterThanSome, QueryModel.GroupPropertyProjection, QueryModel.IdEquals, QueryModel.IdProjection, QueryModel.ILike, QueryModel.In, QueryModel.IsEmpty, QueryModel.IsFalse, QueryModel.IsNotEmpty, QueryModel.IsNotNull, QueryModel.IsNull, QueryModel.IsTrue, QueryModel.Junction, QueryModel.LessThan, QueryModel.LessThanAll, QueryModel.LessThanEquals, QueryModel.LessThanEqualsAll, QueryModel.LessThanEqualsProperty, QueryModel.LessThanEqualsSome, QueryModel.LessThanProperty, QueryModel.LessThanSome, QueryModel.Like, QueryModel.LiteralProjection, QueryModel.MaxProjection, QueryModel.MinProjection, QueryModel.Negation, QueryModel.NotEquals, QueryModel.NotEqualsAll, QueryModel.NotEqualsProperty, QueryModel.NotExists, QueryModel.NotIn, QueryModel.Projection, QueryModel.PropertyComparisonCriterion, QueryModel.PropertyCriterion, QueryModel.PropertyNameCriterion, QueryModel.PropertyProjection, QueryModel.Regex, QueryModel.RLike, QueryModel.RootEntityProjection, QueryModel.SizeEquals, QueryModel.SizeGreaterThan, QueryModel.SizeGreaterThanEquals, QueryModel.SizeLessThan, QueryModel.SizeLessThanEquals, QueryModel.SizeNotEquals, QueryModel.StartsWith, QueryModel.SubqueryCriterion, QueryModel.SumProjection, QueryModel.VersionEquals
-
Constructor Summary
ConstructorDescriptionAssociationQuery
(String path, @NonNull Association association) Deprecated, for removal: This API element is subject to removal in a future version.Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.getPath()
Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class io.micronaut.data.model.query.DefaultQuery
add, allEq, and, and, between, conjunction, contains, createQuery, disjunction, endsWith, eq, eqAll, eqProperty, forUpdate, ge, geAll, geProperty, geSome, getCriteria, getEntity, getJoinPath, getJoinPaths, getMax, getOffset, getPersistentEntity, getProjections, getSort, gt, gtAll, gte, gtProperty, gtSome, idEq, ilike, inList, inList, isEmpty, isFalse, isForUpdate, isNotEmpty, isNotNull, isNull, isTrue, join, le, leAll, leProperty, leSome, like, lt, ltAll, lte, ltProperty, ltSome, max, ne, negation, neProperty, not, notIn, offset, or, or, projections, rlike, sizeEq, sizeGe, sizeGt, sizeLe, sizeLt, sizeNe, sort, startsWith, versionEq
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.data.model.query.QueryModel
join, join
-
Constructor Details
-
AssociationQuery
Deprecated, for removal: This API element is subject to removal in a future version.Default constructor.- Parameters:
path
- The association pathassociation
- The association.
-
-
Method Details
-
getPath
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The path to the association
-
getAssociation
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The association to be queried.
-