@groovy.transform.CompileStatic abstract class AbstractStringQueryImplementer extends AbstractReadOperationImplementer implements AnnotatedServiceImplementer<Query>
Abstract support for String-based queries
Constructor and description |
---|
AbstractStringQueryImplementer
() |
Type Params | Return Type | Name and description |
---|---|---|
|
protected abstract org.codehaus.groovy.ast.stmt.Statement |
buildQueryReturnStatement(org.codehaus.groovy.ast.ClassNode domainClassNode, org.codehaus.groovy.ast.MethodNode abstractMethodNode, org.codehaus.groovy.ast.MethodNode newMethodNode, org.codehaus.groovy.ast.expr.Expression args) Builds the query return statement |
|
protected QueryStringTransformer |
createQueryStringTransformer(org.codehaus.groovy.control.SourceUnit sourceUnit, org.codehaus.groovy.ast.VariableScope scope) Creates the query string transformer |
|
void |
doImplement(org.codehaus.groovy.ast.ClassNode domainClassNode, org.codehaus.groovy.ast.MethodNode abstractMethodNode, org.codehaus.groovy.ast.MethodNode newMethodNode, org.codehaus.groovy.ast.ClassNode targetClassNode) |
|
boolean |
doesImplement(org.codehaus.groovy.ast.ClassNode domainClass, org.codehaus.groovy.ast.MethodNode methodNode) |
|
protected java.lang.Class<? extends java.lang.annotation.Annotation> |
getAnnotationType() |
|
java.lang.Iterable<java.lang.String> |
getHandledPrefixes() |
|
int |
getOrder() |
|
boolean |
isAnnotated(org.codehaus.groovy.ast.ClassNode domainClass, org.codehaus.groovy.ast.MethodNode methodNode) |
Builds the query return statement
domainClassNode
- The domain classargs
- The argumentsCreates the query string transformer
sourceUnit
- The source unitscope
- the variable scope