Hazelcast C++ Client
EntryArray.h
1 /*
2  * Copyright (c) 2008-2019, Hazelcast, Inc. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #ifndef HAZELCAST_CLIENT_ENTRYARRAY_H_
17 #define HAZELCAST_CLIENT_ENTRYARRAY_H_
18 
19 #include "hazelcast/util/Comparator.h"
20 #include "hazelcast/client/query/PagingPredicate.h"
21 #include "hazelcast/client/LazyEntryArray.h"
22 
23 namespace hazelcast {
24  namespace client {
25  template<typename K, typename V>
26  class EntryArray : virtual public LazyEntryArray<K, V> {
27  public:
34  virtual void sort(query::IterationType iterationType, const util::Comparator<std::pair<const K *, const V *> > *comparator = 0) = 0;
35  };
36  }
37 }
38 
39 #endif //HAZELCAST_CLIENT_ENTRYARRAY_H_
40 
Definition: EntryArray.h:26
virtual void sort(query::IterationType iterationType, const util::Comparator< std::pair< const K *, const V *> > *comparator=0)=0
Sorts the entries using the comparator if comparator is not null.
Definition: LazyEntryArray.h:24
PN (Positive-Negative) CRDT counter.
Definition: MapEntryView.h:32