@CompileStatic class CountWhereImplementer extends AbstractWhereImplementer implements AnnotatedServiceImplementer<Where>, SingleResultServiceImplementer<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 Statement |
buildReturnStatement(ClassNode domainClass, MethodNode abstractMethodNode, MethodNode newMethodNode, Expression queryExpression) |
|
boolean |
doesImplement(ClassNode domainClass, MethodNode methodNode) |
|
protected String |
getQueryMethodToExecute(ClassNode domainClass, MethodNode newMethodNode) |
|
protected boolean |
isCompatibleReturnType(ClassNode domainClass, MethodNode methodNode, ClassNode returnType, String prefix) |