Cache query with type metadata example.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Cache query with type metadata example.

Vasiliy Sisko
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
Reply | Threaded
Open this post in threaded view
|

Re: Cache query with type metadata example.

Alexey Kuznetsov-2
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 <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: Cache query with type metadata example.

yzhdanov
Let's have the missing example first of all. Then we will see how to
properly incorporate it.

--Yakov

2015-07-29 13:46 GMT+03:00 Alexey Kuznetsov <[hidden email]>:

> 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 <[hidden email]>
> 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
>