Class DeleteCriteriaMethodMatch
java.lang.Object
io.micronaut.data.processor.visitors.finders.AbstractCriteriaMethodMatch
io.micronaut.data.processor.visitors.finders.criteria.DeleteCriteriaMethodMatch
- All Implemented Interfaces:
MethodMatcher.MethodMatch
Delete criteria method match.
- Since:
- 3.2
- Author:
- Denis Stepanov
-
Field Summary
Fields inherited from class io.micronaut.data.processor.visitors.finders.AbstractCriteriaMethodMatch
matcher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected <T> void
apply
(MethodMatchContext matchContext, PersistentEntityRoot<T> root, PersistentEntityCriteriaDelete<T> query, SourcePersistentEntityCriteriaBuilder cb) Apply query match.protected MethodMatchInfo
build
(MethodMatchContext matchContext) protected DataMethod.OperationType
Methods inherited from class io.micronaut.data.processor.visitors.finders.AbstractCriteriaMethodMatch
applyForUpdate, applyJoinSpecs, applyPredicates, applyPredicates, applyPredicates, applyPredicates, applyPredicates, applyPredicates, buildMatchInfo, findProperty, getEntitiesParameter, getEntityParameter, getInterceptorElement, getProperty, hasNoWhereAndJoinDeclaration, joinSpecsAtMatchContext, resolveReturnTypeAndInterceptor, supportedByImplicitQueries
-
Constructor Details
-
DeleteCriteriaMethodMatch
Default constructor.- Parameters:
matcher
- The matcher
-
-
Method Details
-
apply
protected <T> void apply(MethodMatchContext matchContext, PersistentEntityRoot<T> root, PersistentEntityCriteriaDelete<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
-
build
- Specified by:
build
in classAbstractCriteriaMethodMatch
-
getOperationType
- Specified by:
getOperationType
in classAbstractCriteriaMethodMatch
- Returns:
- The operation type
-