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
public class DeleteCriteriaMethodMatch extends AbstractCriteriaMethodMatch
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
Constructors Constructor Description DeleteCriteriaMethodMatch(java.util.regex.Matcher matcher)Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> voidapply(MethodMatchContext matchContext, PersistentEntityRoot<T> root, PersistentEntityCriteriaDelete<T> query, SourcePersistentEntityCriteriaBuilder cb)Apply query match.protected MethodMatchInfobuild(MethodMatchContext matchContext)protected DataMethod.OperationTypegetOperationType()-
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
-
-
-
-
Method Detail
-
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
protected MethodMatchInfo build(MethodMatchContext matchContext)
- Specified by:
buildin classAbstractCriteriaMethodMatch
-
getOperationType
protected DataMethod.OperationType getOperationType()
- Specified by:
getOperationTypein classAbstractCriteriaMethodMatch- Returns:
- The operation type
-
-