I also think that mixing indexed types and cache type metadata in same example is bad idea. Having two separate examples is better.
We could add in examples javadocs cross references and give a short description indexed types vs cache type metadata. On Wed, Jul 29, 2015 at 4:00 PM, Vasiliy Sisko <[email protected]> wrote: > Hello Igniters. I am working on issue IGNITE-755. > > We have example for indexed types > (org.apache.ignite.examples.datagrid.CacheQueryExample.java) and need to > add example for type metadata. > Following variants are possible: > 1). We could change existing example and mix indexed types and cache > metadata approaches, > 2). Add as new example that will implement functional of indexed type > approach but with using of type metadata approach. > > I personally prefer second variant because mixing of different approaches > can confuse of users. Let's discuss that variants and select better. > > -- > Vasiliy Sisko > GridGain Systems > www.gridgain.com > -- Alexey Kuznetsov GridGain Systems www.gridgain.com
