public class CountByFinder extends DynamicFinder
Supports counting objects. For example Book.countByTitle("The Stand")
Fields inherited from class | Fields |
---|---|
class DynamicFinder |
ARGUMENT_CACHE, ARGUMENT_FETCH, ARGUMENT_FETCH_SIZE, ARGUMENT_FLUSH_MODE, ARGUMENT_IGNORE_CASE, ARGUMENT_LOCK, ARGUMENT_MAX, ARGUMENT_OFFSET, ARGUMENT_ORDER, ARGUMENT_READ_ONLY, ARGUMENT_SORT, ARGUMENT_TIMEOUT, ORDER_ASC, ORDER_DESC, mappingContext, pattern |
class AbstractFinder |
datastore |
Constructor and description |
---|
CountByFinder
(Datastore datastore) |
CountByFinder
(MappingContext mappingContext) |
Type Params | Return Type | Name and description |
---|---|---|
|
Query |
buildQuery(DynamicFinderInvocation invocation, Session session) |
|
protected Query |
buildQuery(DynamicFinderInvocation invocation, java.lang.Class<?> clazz, Query q) |
|
protected java.lang.Object |
doInvokeInternal(DynamicFinderInvocation invocation) |
|
protected java.lang.Object |
invokeQuery(Query q) |
Methods inherited from class | Name |
---|---|
class DynamicFinder |
applyDetachedCriteria, applySortForMap, configureQueryWithArguments, createFinderInvocation, doInvokeInternal, findMethodExpression, getFetchMode, invoke, invoke, invoke, isMethodMatch, populateArgumentsForCriteria, populateArgumentsForCriteria, registerNewMethodExpression, setPattern |
class AbstractFinder |
applyAdditionalCriteria, execute, execute |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |