You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by Vladimir Ozerov <vo...@gridgain.com> on 2017/04/19 20:24:43 UTC

Restrict @QuerySqlField annotation to fields

Folks,

Currently @QuerySqlField and @QueryTextField annotations can be applied to
both fields and methods. The latter is not supported well by
BinaryMarshaller.

I propose to make these annotations applicable only to fields. We already
dud that for @AffinityKeyMapped.

Any objections?

Vladimir.

Re: Restrict @QuerySqlField annotation to fields

Posted by Dmitriy Setrakyan <ds...@apache.org>.
+1

On Wed, Apr 19, 2017 at 4:10 PM, Denis Magda <dm...@apache.org> wrote:

> +1
>
> > On Apr 19, 2017, at 1:24 PM, Vladimir Ozerov <vo...@gridgain.com>
> wrote:
> >
> > Folks,
> >
> > Currently @QuerySqlField and @QueryTextField annotations can be applied
> to
> > both fields and methods. The latter is not supported well by
> > BinaryMarshaller.
> >
> > I propose to make these annotations applicable only to fields. We already
> > dud that for @AffinityKeyMapped.
> >
> > Any objections?
> >
> > Vladimir.
>
>

Re: Restrict @QuerySqlField annotation to fields

Posted by Denis Magda <dm...@apache.org>.
+1

> On Apr 19, 2017, at 1:24 PM, Vladimir Ozerov <vo...@gridgain.com> wrote:
> 
> Folks,
> 
> Currently @QuerySqlField and @QueryTextField annotations can be applied to
> both fields and methods. The latter is not supported well by
> BinaryMarshaller.
> 
> I propose to make these annotations applicable only to fields. We already
> dud that for @AffinityKeyMapped.
> 
> Any objections?
> 
> Vladimir.