[
https://issues.apache.org/jira/browse/IGNITE-2210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15096147#comment-15096147
]
Denis Magda commented on IGNITE-2210:
-------------------------------------
I'm not sure that it makes sense to consider [2] since indexed methods are
usually created for cases when we want to get a particular value at particular
point of time and a value returned by the method at time A can differ from a
value returned at time B.
As one more solution we can try to deserialize and object on the server side
and execute a method. Yes it will require to have a class on the servers
classpath. If we are not able to deserialize the value then we can throw
exception from [1].
> Cannot query annotated methods when BinaryMarshaller is set.
> ------------------------------------------------------------
>
> Key: IGNITE-2210
> URL: https://issues.apache.org/jira/browse/IGNITE-2210
> Project: Ignite
> Issue Type: Task
> Components: general
> Affects Versions: ignite-1.4
> Reporter: Vladimir Ozerov
> Priority: Critical
> Fix For: 1.6
>
>
> Because it is impossible to call method from object in binary form. Several
> solutions could be applied here:
> 1) Throw exception when method annotation is found and BinaryMarshaller is
> set.
> 2) Or call this method and record it as a field to the object.
> Sample test:
> IgniteCacheAbstractFieldsQuerySelfTest.testMethodAnnotationWithoutGet
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)