[ https://issues.apache.org/jira/browse/IGNITE-22567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Tupitsyn updated IGNITE-22567: ------------------------------------ Description: Ignite 2.x has *containsKeys*, and there is nothing similar in Ignite 3 - we are missing a method to check if all specified keys exist in a table. Add *containsAll* method to *RecordView* and *KeyValueView*. {code:java} public interface RecordView<R> { boolean containsAll(@Nullable Transaction tx, Collection<R> keyRecs); } {code} {code:java} public interface KeyValueView<K, V> { boolean containsAll(@Nullable Transaction tx, Collection<K> keys); } {code} was: Ignite 2.x has *containsKeys*, and there is nothing similar in Ignite 3 - we are missing a method to check if all specified keys exist in a table. Add *containsAll* method to *RecordView* and *KeyValueView*. > Add containsAll to RecordView and KeyValueView > ---------------------------------------------- > > Key: IGNITE-22567 > URL: https://issues.apache.org/jira/browse/IGNITE-22567 > Project: Ignite > Issue Type: Improvement > Affects Versions: 3.0.0-beta1 > Reporter: Pavel Tupitsyn > Priority: Major > Labels: ignite-3 > Fix For: 3.0.0-beta2 > > > Ignite 2.x has *containsKeys*, and there is nothing similar in Ignite 3 - we > are missing a method to check if all specified keys exist in a table. > Add *containsAll* method to *RecordView* and *KeyValueView*. > {code:java} > public interface RecordView<R> { > boolean containsAll(@Nullable Transaction tx, Collection<R> keyRecs); > } > {code} > {code:java} > public interface KeyValueView<K, V> { > boolean containsAll(@Nullable Transaction tx, Collection<K> keys); > } > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)