Wilhelm, First of all, your code doesn't make much sense, it won't compile.
But in any case, Ignite stores data in binary format [1] that allows to not deserialize values when running SQL queries. Internally, it works only with fields and would never call a getter. Therefore, you can put annotation on field only. [1] https://apacheignite.readme.io/docs/binary-marshaller -Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/
