HazelcastPartTreeQuery is a required modification to that provided by Spring-Data-Keyvalue (class
KeyValuePartTreeQuery) to implement queries correctly for Hazelcast.See: Description
| Class | Description |
|---|---|
| HazelcastQueryLookupStrategy |
Ensures
HazelcastPartTreeQuery is used for query preparation rather than KeyValuePartTreeQuery or
other alternatives. |
| HazelcastQueryMethod |
Hazelcast
QueryMethod Implementation |
| HazelcastRepositoryFactory |
Hazelcast version of
KeyValueRepositoryFactory, a factory to build HazelcastRepository instances. |
| HazelcastRepositoryFactoryBean<T extends org.springframework.data.repository.Repository<S,ID>,S,ID extends Serializable> |
Extend
KeyValueRepositoryFactoryBean purely to be able to return HazelcastRepositoryFactory from
HazelcastRepositoryFactoryBean.createRepositoryFactory(KeyValueOperations, Class, Class) method. |
| SimpleHazelcastRepository<T extends Serializable,ID extends Serializable> |
A concrete implementation to instantiate directly rather than allow
Spring to generate.
|
| StringBasedHazelcastRepositoryQuery |
RepositoryQuery using String based SqlPredicate to query Hazelcast Cluster. |
HazelcastPartTreeQuery is a required modification to that provided by Spring-Data-Keyvalue (class
KeyValuePartTreeQuery) to implement queries correctly for Hazelcast.
As this is embedded, need to provide HazelcastRepositoryFactoryBean to create
HazelcastRepositoryFactory which provide a HazelcastQueryLookupStrategy. There largely extend their
Spring-Data-KeyValue counterparts, copying where necessary, and overriding where possible.
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.