[
https://issues.apache.org/jira/browse/IGNITE-6244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16164556#comment-16164556
]
Vladimir Ozerov commented on IGNITE-6244:
-----------------------------------------
[~ptupitsyn], my comments:
1) I did some cosmetics in Java.
2) {{ClientCacheScanQueryRequest}} - if partition is irelevant, just write -1.
No need for separate boolean flag.
3) {{ClientCacheScanQueryRequest}} - let's do not mix filter null flag and
platform code. If filter is null, we should write (102), if it is not null, we
should write (filter), (platformCode)
4) ClientCacheRequest#cacheWithBinaryFlag is used incorrectly. When platform is
not Java, you should always return cache in binary mode. The only exclusion to
this rule is when you have Java filter and "binary=false".
5) I do not see "last page" flag.
6) Cursor should be closed automatically when last piece of data is read.
> .NET: Thin client: ScanQuery
> ----------------------------
>
> Key: IGNITE-6244
> URL: https://issues.apache.org/jira/browse/IGNITE-6244
> Project: Ignite
> Issue Type: Improvement
> Components: platforms
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Labels: .NET
> Fix For: 2.3
>
>
> Implement ScanQuery in thin client.
> Challenges:
> * Query cursor. This will require some kind of HandleRegistry on Java side,
> so we can pass an ID back to client (see {{OdbcRequestHandler.qryCursors}} as
> an example).
> * Predicate. Thin client is not .NET-specific. We need a way to support
> predicates in (at least) Java and .NET, there should be some platform id.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)