org.springframework.data.couchbase.repository.query
Class CouchbaseQueryMethod
java.lang.Object
org.springframework.data.repository.query.QueryMethod
org.springframework.data.couchbase.repository.query.CouchbaseQueryMethod
public class CouchbaseQueryMethod
- extends QueryMethod
Represents a query method with couchbase extensions.
- Author:
- Michael Nitschinger
| Methods inherited from class org.springframework.data.repository.query.QueryMethod |
createParameters, getDomainClass, getEntityInformation, getName, getNamedQueryName, getParameters, getReturnedObjectType, isCollectionQuery, isModifyingQuery, isPageQuery, isQueryForEntity, isSliceQuery, toString |
CouchbaseQueryMethod
public CouchbaseQueryMethod(Method method,
RepositoryMetadata metadata,
MappingContext<? extends CouchbasePersistentEntity<?>,CouchbasePersistentProperty> mappingContext)
hasViewAnnotation
public boolean hasViewAnnotation()
- If the method has a @View annotation.
- Returns:
- true if it has the annotation, false otherwise.
getViewAnnotation
public View getViewAnnotation()
- Returns the @View annoation if set, null otherwise.
- Returns:
- the view annotation of present.
Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.