This approach makes sense. I don't see any downside except a case when you put some data in a cache after execution of the SqlFieldsQuery and before ContinuousQuery.
2018-03-22 18:40 GMT+03:00 au.fp2018 <au.fp2...@gmail.com>: > Thanks Pavel > > I was able to get a Java version of the query client implemented using your > suggestions. But I am having a hard time convincing the scala compiler to > type check. Even if I get it to work the amount of type coercing I would > need to get it to work is extremely hairy. > > Before your reply I had given up on the possibility of using SqlFieldsQuery > as the initialQuery and ended up making the snapshot query as a regular > SqlFieldsQuery and then issue a ContinuousQuery (with no initial query) to > receive updates. > > Is there any downside to this approach? > > Thanks, > Andre > > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ > -- Regards Pavel Vinokurov