Class QueryCriteriaMethodMatch
java.lang.Object
io.micronaut.data.processor.visitors.finders.AbstractCriteriaMethodMatch
io.micronaut.data.processor.visitors.finders.criteria.QueryCriteriaMethodMatch
- All Implemented Interfaces:
 MethodMatcher.MethodMatch
Query criteria method match.
- Since:
 - 3.2
 - Author:
 - Denis Stepanov
 
- 
Nested Class Summary
Nested classes/interfaces inherited from class io.micronaut.data.processor.visitors.finders.AbstractCriteriaMethodMatch
AbstractCriteriaMethodMatch.MethodResult - 
Field Summary
Fields inherited from class io.micronaut.data.processor.visitors.finders.AbstractCriteriaMethodMatch
matches - 
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor. - 
Method Summary
Modifier and TypeMethodDescriptionprotected <T> voidapply(MethodMatchContext matchContext, PersistentEntityRoot<T> root, PersistentEntityCriteriaQuery<T> query, SourcePersistentEntityCriteriaBuilder cb) Apply query match.protected <T> voidapplyDistinct(PersistentEntityCriteriaQuery<T> query) Apply the distinct valu.protected <T> voidapplyProjections(String projectionPart, PersistentEntityRoot<T> root, PersistentEntityCriteriaQuery<T> query, PersistentEntityCriteriaBuilder cb, String returnTypeName) Apply projections.protected MethodMatchInfobuild(MethodMatchContext matchContext) protected DataMethod.OperationTypeMethods inherited from class io.micronaut.data.processor.visitors.finders.AbstractCriteriaMethodMatch
analyzeMethodResult, analyzeMethodResult, applyJoinSpecs, applyPredicates, applyPredicates, applyPredicates, applyPredicates, applyPredicates, applyPredicates, applyPredicates, buildMatchInfo, findProperty, findSelections, getDtoProjectionProperties, getEntitiesParameter, getEntityParameter, getProperty, hasNoWhereAndJoinDeclaration, joinSpecsAtMatchContext, resolveReturnTypeAndInterceptor, supportedByImplicitQueries 
- 
Constructor Details
- 
QueryCriteriaMethodMatch
Default constructor.- Parameters:
 matches- The matches
 
 - 
 - 
Method Details
- 
apply
protected <T> void apply(MethodMatchContext matchContext, PersistentEntityRoot<T> root, PersistentEntityCriteriaQuery<T> query, SourcePersistentEntityCriteriaBuilder cb) Apply query match.- Type Parameters:
 T- The entity type- Parameters:
 matchContext- The match contextroot- The rootquery- The querycb- The criteria builder
 - 
applyDistinct
Apply the distinct valu.- Type Parameters:
 T- The query type- Parameters:
 query- The query
 - 
build
- Specified by:
 buildin classAbstractCriteriaMethodMatch
 - 
applyProjections
protected <T> void applyProjections(String projectionPart, PersistentEntityRoot<T> root, PersistentEntityCriteriaQuery<T> query, PersistentEntityCriteriaBuilder cb, String returnTypeName) Apply projections.- Type Parameters:
 T- The entity type- Parameters:
 projectionPart- The projectionroot- The rootquery- The querycb- The criteria builderreturnTypeName- The returnTypeName
 - 
getOperationType
- Specified by:
 getOperationTypein classAbstractCriteriaMethodMatch- Returns:
 - The operation type
 
 
 -