org.springframework.data.gemfire.repository.query
Class GemfireQueryMethod

java.lang.Object
  extended by org.springframework.data.repository.query.QueryMethod
      extended by org.springframework.data.gemfire.repository.query.GemfireQueryMethod

public class GemfireQueryMethod
extends org.springframework.data.repository.query.QueryMethod

Gemfire specific QueryMethod.


Constructor Summary
GemfireQueryMethod(Method method, org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.mapping.context.MappingContext<? extends GemfirePersistentEntity<?>,GemfirePersistentProperty> context)
          Creates a new GemfireQueryMethod from the given Method and RepositoryMetadata.
 
Method Summary
 GemfirePersistentEntity<?> getPersistentEntity()
           
 boolean hasAnnotatedQuery()
          Returns whether the query method contains an annotated, non-empty query.
 
Methods inherited from class org.springframework.data.repository.query.QueryMethod
createParameters, getDomainClass, getEntityInformation, getName, getNamedQueryName, getParameters, getReturnedObjectType, isCollectionQuery, isModifyingQuery, isPageQuery, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GemfireQueryMethod

public GemfireQueryMethod(Method method,
                          org.springframework.data.repository.core.RepositoryMetadata metadata,
                          org.springframework.data.mapping.context.MappingContext<? extends GemfirePersistentEntity<?>,GemfirePersistentProperty> context)
Creates a new GemfireQueryMethod from the given Method and RepositoryMetadata.

Parameters:
method - must not be null.
metadata - must not be null.
context - must not be null.
Method Detail

hasAnnotatedQuery

public boolean hasAnnotatedQuery()
Returns whether the query method contains an annotated, non-empty query.

Returns:

getPersistentEntity

public GemfirePersistentEntity<?> getPersistentEntity()
Returns:
the entity