FYI... if you are using *Spring Data for Apache Geode* (SDG; spring-data-geode), then there is an SDG Index enum type <https://docs.spring.io/spring-data/geode/docs/current/api/org/springframework/data/gemfire/IndexType.html> [1] wrapping the deprecated Apache Geode Index enum type <https://geode.apache.org/releases/latest/javadoc/org/apache/geode/cache/query/IndexType.html> [2].
[1] https://docs.spring.io/spring-data/geode/docs/current/api/org/springframework/data/gemfire/IndexType.html [2] https://geode.apache.org/releases/latest/javadoc/org/apache/geode/cache/query/IndexType.html On Fri, Nov 29, 2019 at 8:17 AM Joris Melchior <jmelch...@pivotal.io> wrote: > Hi All, > > I notice that the ENUM > > org.apache.geode.cache.query.IndexType has been deprecated but can't > find what to use instead of this ENUM if I wanted to use a > non-deprecated alternative. > > I understand that HASH indexes are no longer recommended but the other > types (PRIMARY_KEY, FUNCTIONAL) are still valid and I believe we > should be able to use them without using deprecated code. > > Can anyone tell me how this is accomplished? > > Thanks, Joris. > > > -- > *Joris Melchior * > CF Engineering > Pivotal Toronto > 416 877 5427 > > “Programs must be written for people to read, and only incidentally for > machines to execute.” – *Hal Abelson* > <https://en.wikipedia.org/wiki/Hal_Abelson> > -- -John john.blum10101 (skype)