public abstract class AbstractCriteriaMethodMatch extends java.lang.Object implements MethodMatcher.MethodMatch
| Modifier and Type | Field and Description | 
|---|---|
protected java.util.regex.Matcher | 
matcher  | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
AbstractCriteriaMethodMatch(java.util.regex.Matcher matcher)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected <T> java.lang.String | 
applyForUpdate(java.lang.String querySequence,
              PersistentEntityCriteriaQuery<T> query)
Matches for update definitions in the query sequence. 
 | 
protected void | 
applyJoinSpecs(PersistentEntityRoot<?> root,
              java.util.List<io.micronaut.core.annotation.AnnotationValue<Join>> joinSpecs)  | 
protected <T> void | 
applyPredicates(java.util.List<io.micronaut.inject.ast.ParameterElement> parameters,
               PersistentEntityRoot<T> root,
               PersistentEntityCriteriaDelete<T> query,
               SourcePersistentEntityCriteriaBuilder cb)
Apply predicates based on parameters. 
 | 
protected <T> void | 
applyPredicates(java.util.List<io.micronaut.inject.ast.ParameterElement> parameters,
               PersistentEntityRoot<T> root,
               PersistentEntityCriteriaQuery<T> query,
               SourcePersistentEntityCriteriaBuilder cb)
Apply predicates based on parameters. 
 | 
protected <T> void | 
applyPredicates(java.util.List<io.micronaut.inject.ast.ParameterElement> parameters,
               PersistentEntityRoot<T> root,
               PersistentEntityCriteriaUpdate<T> query,
               SourcePersistentEntityCriteriaBuilder cb)
Apply predicates based on parameters. 
 | 
protected <T> void | 
applyPredicates(java.lang.String querySequence,
               io.micronaut.inject.ast.ParameterElement[] parameters,
               PersistentEntityRoot<T> root,
               PersistentEntityCriteriaDelete<T> query,
               SourcePersistentEntityCriteriaBuilder cb)
Apply predicates. 
 | 
protected <T> void | 
applyPredicates(java.lang.String querySequence,
               io.micronaut.inject.ast.ParameterElement[] parameters,
               PersistentEntityRoot<T> root,
               PersistentEntityCriteriaQuery<T> query,
               SourcePersistentEntityCriteriaBuilder cb)
Apply predicates. 
 | 
protected <T> void | 
applyPredicates(java.lang.String querySequence,
               io.micronaut.inject.ast.ParameterElement[] parameters,
               PersistentEntityRoot<T> root,
               PersistentEntityCriteriaUpdate<T> query,
               SourcePersistentEntityCriteriaBuilder cb)
Apply predicates. 
 | 
protected abstract MethodMatchInfo | 
build(MethodMatchContext matchContext)  | 
MethodMatchInfo | 
buildMatchInfo(MethodMatchContext matchContext)
Match info builder. 
 | 
protected <T> PersistentPropertyPath<java.lang.Object> | 
findProperty(PersistentEntityRoot<T> root,
            java.lang.String propertyName)  | 
protected io.micronaut.inject.ast.ParameterElement | 
getEntitiesParameter()  | 
protected io.micronaut.inject.ast.ParameterElement | 
getEntityParameter()  | 
protected io.micronaut.inject.ast.ClassElement | 
getInterceptorElement(MethodMatchContext matchContext,
                     java.lang.Class<? extends DataInterceptor> interceptorType)  | 
protected abstract DataMethod.OperationType | 
getOperationType()  | 
protected <T> jakarta.persistence.criteria.Expression<?> | 
getProperty(PersistentEntityRoot<T> root,
           java.lang.String propertyName)  | 
protected boolean | 
hasNoWhereAndJoinDeclaration(MethodMatchContext matchContext)  | 
protected java.util.List<io.micronaut.core.annotation.AnnotationValue<Join>> | 
joinSpecsAtMatchContext(MethodMatchContext matchContext,
                       boolean isQuery)  | 
protected java.util.Map.Entry<io.micronaut.inject.ast.ClassElement,java.lang.Class<? extends DataInterceptor>> | 
resolveReturnTypeAndInterceptor(MethodMatchContext matchContext)  | 
protected boolean | 
supportedByImplicitQueries()  | 
protected AbstractCriteriaMethodMatch(java.util.regex.Matcher matcher)
@Nullable protected io.micronaut.inject.ast.ParameterElement getEntityParameter()
@Nullable protected io.micronaut.inject.ast.ParameterElement getEntitiesParameter()
@NonNull protected abstract DataMethod.OperationType getOperationType()
protected boolean supportedByImplicitQueries()
public final MethodMatchInfo buildMatchInfo(MethodMatchContext matchContext)
MethodMatcher.MethodMatchbuildMatchInfo in interface MethodMatcher.MethodMatchmatchContext - The match contextprotected abstract MethodMatchInfo build(MethodMatchContext matchContext)
protected final io.micronaut.inject.ast.ClassElement getInterceptorElement(MethodMatchContext matchContext, java.lang.Class<? extends DataInterceptor> interceptorType)
matchContext - The match contextinterceptorType - The interceptor typeprotected java.util.Map.Entry<io.micronaut.inject.ast.ClassElement,java.lang.Class<? extends DataInterceptor>> resolveReturnTypeAndInterceptor(MethodMatchContext matchContext)
matchContext - The match contextprotected <T> void applyPredicates(java.lang.String querySequence,
                                   io.micronaut.inject.ast.ParameterElement[] parameters,
                                   PersistentEntityRoot<T> root,
                                   PersistentEntityCriteriaQuery<T> query,
                                   SourcePersistentEntityCriteriaBuilder cb)
T - The entity typequerySequence - The query sequenceparameters - The parametersroot - The rootquery - The querycb - The criteria builderprotected <T> void applyPredicates(java.lang.String querySequence,
                                   io.micronaut.inject.ast.ParameterElement[] parameters,
                                   PersistentEntityRoot<T> root,
                                   PersistentEntityCriteriaDelete<T> query,
                                   SourcePersistentEntityCriteriaBuilder cb)
T - The entity typequerySequence - The query sequenceparameters - The parametersroot - The rootquery - The querycb - The criteria builderprotected <T> void applyPredicates(java.lang.String querySequence,
                                   io.micronaut.inject.ast.ParameterElement[] parameters,
                                   PersistentEntityRoot<T> root,
                                   PersistentEntityCriteriaUpdate<T> query,
                                   SourcePersistentEntityCriteriaBuilder cb)
T - The entity typequerySequence - The query sequenceparameters - The parametersroot - The rootquery - The querycb - The criteria builderprotected <T> void applyPredicates(java.util.List<io.micronaut.inject.ast.ParameterElement> parameters,
                                   PersistentEntityRoot<T> root,
                                   PersistentEntityCriteriaQuery<T> query,
                                   SourcePersistentEntityCriteriaBuilder cb)
T - The entity typeparameters - The parametersroot - The rootquery - The querycb - The criteria builderprotected <T> void applyPredicates(java.util.List<io.micronaut.inject.ast.ParameterElement> parameters,
                                   PersistentEntityRoot<T> root,
                                   PersistentEntityCriteriaUpdate<T> query,
                                   SourcePersistentEntityCriteriaBuilder cb)
T - The entity typeparameters - The parametersroot - The rootquery - The querycb - The criteria builderprotected <T> void applyPredicates(java.util.List<io.micronaut.inject.ast.ParameterElement> parameters,
                                   PersistentEntityRoot<T> root,
                                   PersistentEntityCriteriaDelete<T> query,
                                   SourcePersistentEntityCriteriaBuilder cb)
T - The entity typeparameters - The parametersroot - The rootquery - The querycb - The criteria builderprotected <T> java.lang.String applyForUpdate(java.lang.String querySequence,
                                              PersistentEntityCriteriaQuery<T> query)
T - The entity typequerySequence - The query sequencequery - The query@NonNull protected final <T> jakarta.persistence.criteria.Expression<?> getProperty(PersistentEntityRoot<T> root, java.lang.String propertyName)
@Nullable protected final <T> PersistentPropertyPath<java.lang.Object> findProperty(PersistentEntityRoot<T> root, java.lang.String propertyName)
protected final void applyJoinSpecs(PersistentEntityRoot<?> root, @NonNull java.util.List<io.micronaut.core.annotation.AnnotationValue<Join>> joinSpecs)
@NonNull protected final java.util.List<io.micronaut.core.annotation.AnnotationValue<Join>> joinSpecsAtMatchContext(@NonNull MethodMatchContext matchContext, boolean isQuery)
matchContext - The match contextisQuery - true if is a query criteriaprotected final boolean hasNoWhereAndJoinDeclaration(@NonNull
                                                     MethodMatchContext matchContext)