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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
Igor Sapego created IGNITE-3585:
-----------------------------------

             Summary: 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
             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.4#6332)