@groovy.transform.CompileStatic class CountWhereImplementer extends AbstractWhereImplementer implements AnnotatedServiceImplementer<Where>, SingleResultServiceImplementer<java.lang.Number>
Implements support for the Where annotation on Service instances that return a multiple results
Fields inherited from class | Fields |
---|---|
class AbstractWhereImplementer |
POSITION |
Constructor and description |
---|
CountWhereImplementer() |
Type Params | Return Type | Name and description |
---|---|---|
|
protected org.codehaus.groovy.ast.stmt.Statement |
buildReturnStatement(org.codehaus.groovy.ast.ClassNode domainClass, org.codehaus.groovy.ast.MethodNode abstractMethodNode, org.codehaus.groovy.ast.MethodNode newMethodNode, org.codehaus.groovy.ast.expr.Expression queryExpression) |
|
boolean |
doesImplement(org.codehaus.groovy.ast.ClassNode domainClass, org.codehaus.groovy.ast.MethodNode methodNode) |
|
protected java.lang.String |
getQueryMethodToExecute(org.codehaus.groovy.ast.ClassNode domainClass, org.codehaus.groovy.ast.MethodNode newMethodNode) |
|
protected boolean |
isCompatibleReturnType(org.codehaus.groovy.ast.ClassNode domainClass, org.codehaus.groovy.ast.MethodNode methodNode, org.codehaus.groovy.ast.ClassNode returnType, java.lang.String prefix) |