@CompileStatic class CountImplementer extends AbstractDetachedCriteriaServiceImplementor implements SingleResultServiceImplementer<Number>
Implementation for counting
| Fields inherited from class | Fields |
|---|---|
class AbstractDetachedCriteriaServiceImplementor |
DETACHED_CRITERIA |
| Type | Name and description |
|---|---|
static List<String> |
HANDLED_PREFIXES |
| Constructor and description |
|---|
CountImplementer() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
boolean |
doesImplement(ClassNode domainClass, MethodNode methodNode) |
|
Iterable<String> |
getHandledPrefixes() |
|
void |
implementById(ClassNode domainClassNode, MethodNode abstractMethodNode, MethodNode newMethodNode, ClassNode targetClassNode, BlockStatement body, Expression byIdLookup) |
|
void |
implementWithQuery(ClassNode domainClassNode, MethodNode abstractMethodNode, MethodNode newMethodNode, ClassNode targetClassNode, BlockStatement body, VariableExpression detachedCriteriaVar, Expression queryArgs) |
|
protected boolean |
isCompatibleReturnType(ClassNode domainClass, MethodNode methodNode, ClassNode returnType, String prefix) |
|
protected boolean |
lookupById() |
Groovy Documentation