You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergey Kalashnikov (JIRA)" <ji...@apache.org> on 2017/04/03 10:13:41 UTC

[jira] [Commented] (IGNITE-3585) CPP: Rework methods that accept containers so any container could be used with them.

    [ https://issues.apache.org/jira/browse/IGNITE-3585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15953220#comment-15953220 ] 

Sergey Kalashnikov commented on IGNITE-3585:
--------------------------------------------

[~isapego], I'm fine with the changes as well.

> CPP: Rework methods that accept containers so any container could be used with them.
> ------------------------------------------------------------------------------------
>
>                 Key: IGNITE-3585
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3585
>             Project: Ignite
>          Issue Type: Task
>          Components: platforms
>    Affects Versions: 1.6
>            Reporter: Igor Sapego
>            Assignee: Igor Sapego
>              Labels: cpp
>             Fix For: 2.0
>
>
> There are methods that could possibly be used with any container but by some reason they only accept arguments of a single specific container type. It can be non convenient for user and bad from the performance point of view if user uses other container type to store values. Consider using iterators (preferably) or template type for the container.
> Methods of interest:
> - {{QueryCursor::GetAll}}
> - {{Cache::ContainsKeys}}
> - {{Cache::GetAll}}
> - {{Cache::PutAll}}
> - {{Cache::LocalEvict}}
> - {{Cache::ClearAll}}
> - {{Cache::LocalClearAll}}
> - {{Cache::RemoveAll}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)