Class PartTreeGemfireRepositoryQuery
java.lang.Object
org.springframework.data.gemfire.repository.query.GemfireRepositoryQuery
org.springframework.data.gemfire.repository.query.PartTreeGemfireRepositoryQuery
- All Implemented Interfaces:
org.springframework.data.repository.query.RepositoryQuery
GemfireRepositoryQuery
backed by a PartTree
, deriving an OQL query
from the backing QueryMethod's
name/signature.- See Also:
-
GemfireTemplate
GemfireRepositoryQuery
QueryMethod
RepositoryQuery
Part
PartTree
-
Constructor Summary
ConstructorDescriptionPartTreeGemfireRepositoryQuery
(GemfireQueryMethod queryMethod, GemfireTemplate template) Constructs a new instance ofPartTreeGemfireRepositoryQuery
initialized with the givenGemfireQueryMethod
andGemfireTemplate
. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.data.repository.query.parser.PartTree
Returns aPartTree
object consisting of the parts of the (OQL) query.protected GemfireTemplate
Returns a reference to theGemfireTemplate
used to perform all data access and query operations.Methods inherited from class org.springframework.data.gemfire.repository.query.GemfireRepositoryQuery
getGemfireQueryMethod, getLogger, getQueryMethod, getQueryPostProcessor, register
-
Constructor Details
-
PartTreeGemfireRepositoryQuery
Constructs a new instance ofPartTreeGemfireRepositoryQuery
initialized with the givenGemfireQueryMethod
andGemfireTemplate
.- Parameters:
queryMethod
-GemfireQueryMethod
implementing theRepositoryQuery
; must not be null.template
-GemfireTemplate
used to execute QOL queries; must not be null.- Throws:
IllegalArgumentException
- ifGemfireQueryMethod
orGemfireTemplate
are null.- See Also:
-
-
Method Details
-
getPartTree
@NonNull protected org.springframework.data.repository.query.parser.PartTree getPartTree()Returns aPartTree
object consisting of the parts of the (OQL) query.- Returns:
- a
PartTree
object consisting of the parts of the (OQL) query. - See Also:
-
PartTree
-
getTemplate
Returns a reference to theGemfireTemplate
used to perform all data access and query operations.- Returns:
- a reference to the
GemfireTemplate
used to perform all data access and query operations. - See Also:
-
execute
-