Constructor and Description |
---|
StringBasedGemfireRepositoryQuery(GemfireQueryMethod queryMethod,
GemfireTemplate template)
Creates a new
StringBasedGemfireRepositoryQuery using the given GemfireQueryMethod and
GemfireTemplate . |
StringBasedGemfireRepositoryQuery(String query,
GemfireQueryMethod queryMethod,
GemfireTemplate template)
Creates a new
StringBasedGemfireRepositoryQuery using the given query String ,
GemfireQueryMethod and GemfireTemplate . |
Modifier and Type | Method and Description |
---|---|
StringBasedGemfireRepositoryQuery |
asUserDefinedQuery() |
Object |
execute(Object[] parameters) |
org.springframework.data.repository.query.QueryMethod |
getQueryMethod() |
boolean |
isUserDefinedQuery() |
public StringBasedGemfireRepositoryQuery(GemfireQueryMethod queryMethod, GemfireTemplate template)
StringBasedGemfireRepositoryQuery
using the given GemfireQueryMethod
and
GemfireTemplate
. The actual query String
will be looked up from the query method.queryMethod
- must not be null.template
- must not be null.public StringBasedGemfireRepositoryQuery(String query, GemfireQueryMethod queryMethod, GemfireTemplate template)
StringBasedGemfireRepositoryQuery
using the given query String
,
GemfireQueryMethod
and GemfireTemplate
.query
- will fall back to the query annotated to the given GemfireQueryMethod
if null.queryMethod
- must not be null.template
- must not be null.public StringBasedGemfireRepositoryQuery asUserDefinedQuery()
public boolean isUserDefinedQuery()
public org.springframework.data.repository.query.QueryMethod getQueryMethod()
getQueryMethod
in interface org.springframework.data.repository.query.RepositoryQuery