Hi,

As it said in JavaDoc, you can use @QueryTextField as annotation on fields

Evgenii

2017-07-19 11:46 GMT+03:00 iostream <[email protected]>:

> Hi,
>
> Instead of performing a text query on the entire cache object as mentioned
> here (https://apacheignite.readme.io/v2.0/docs/cache-queries#text-queries
> ),
> can I perform a text query on a single attribute in my cache value object?
>
> Example -
>
> public class my_object {
>         @QuerySqlField(index = true)
>         @QueryTextField
>         private String a;
>         @QuerySqlField
>         @QueryTextField
>         private String b;
>         @QuerySqlField
>         private String c;
> }
>
> I want to perform a text query only on "a" on not on the "my_object"
>
> Thanks!
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Question-about-QueryTextField-tp15111.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>

Reply via email to