@CompileStatic class CountImplementer extends AbstractDetachedCriteriaServiceImplementor implements SingleResultServiceImplementer<java.lang.Number>
Implementation for counting
| Fields inherited from class | Fields |
|---|---|
class AbstractDetachedCriteriaServiceImplementor |
DETACHED_CRITERIA |
| Type | Name and description |
|---|---|
static java.util.List<java.lang.String> |
HANDLED_PREFIXES |
| Constructor and description |
|---|
CountImplementer() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
boolean |
doesImplement(ClassNode domainClass, MethodNode methodNode) |
|
java.lang.Iterable<java.lang.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, java.lang.String prefix) |
|
protected boolean |
lookupById() |