geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joris Melchior <jmelch...@pivotal.io>
Subject Re: IndexType deprecation question
Date Fri, 29 Nov 2019 20:18:40 GMT
Thanks John.

I'm trying to use it on the server side for the management API so
unfortunately the Spring wrapper is not an option. Hopefully someone can
provide some insight into the deprecation background once all the turkey
and stuffing has been digested.

On Fri, Nov 29, 2019 at 2:16 PM John Blum <jblum@pivotal.io> wrote:

> 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 <jmelchior@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)
>


-- 
*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>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message