|
|
using | key_type = idx_t |
|
using | mapped_type = T |
|
using | fixed_size_map_type = fixed_size_map_t<mapped_type> |
|
using | map_type = typename std::conditional<is_const, const fixed_size_map_type, fixed_size_map_type>::type |
|
using | occupied_mask = typename fixed_size_map_t<mapped_type>::occupied_mask |
|
| bool | operator== (const fixed_size_map_iterator &a, const fixed_size_map_iterator &b) |
| bool | operator!= (const fixed_size_map_iterator &a, const fixed_size_map_iterator &b) |
| bool | operator< (const fixed_size_map_iterator &a, const fixed_size_map_iterator &b) |
◆ fixed_size_map_iterator()
template<class T, bool is_const>
46606 }
Definition duckdb.hpp:46595
◆ operator++() [1/2]
template<class T, bool is_const>
46608 {
46609
46611 NextEntry();
46612 }
46613
46614 auto end = map.end();
46615 while (*
this <
end) {
46616 const auto &
entry = map.occupied.GetValidityEntryUnsafe(entry_idx);
46618
46619 if (entry_idx ==
end.entry_idx) {
46620
46621 idx_in_entry =
end.idx_in_entry;
46622 break;
46623 }
46624 NextEntry();
46625 } else {
46626
46628 for (; idx_in_entry <
idx_to; idx_in_entry++) {
46629 if (map.occupied.RowIsValid(
entry, idx_in_entry)) {
46630
46631 return *this;
46632 }
46633 }
46634
46635 if (*
this !=
end) {
46636 NextEntry();
46637 }
46638 }
46639 }
46640 return *this;
46641 }
◆ operator++() [2/2]
template<class T, bool is_const>
46643 {
46644 fixed_size_map_iterator
tmp = *
this;
46645 ++(*this);
46647 }
◆ GetKey()
template<class T, bool is_const>
◆ GetValue() [1/2]
template<class T, bool is_const>
46653 {
46654 return map.values[GetKey()];
46655 }
◆ GetValue() [2/2]
template<class T, bool is_const>
46657 {
46658 return map.values[GetKey()];
46659 }
◆ NextEntry()
template<class T, bool is_const>
46680 {
46681 entry_idx++;
46682 idx_in_entry = 0;
46683 }
◆ operator==
template<class T, bool is_const>
| bool operator== |
( |
const fixed_size_map_iterator< T, is_const > & | a, |
|
|
const fixed_size_map_iterator< T, is_const > & | b ) |
|
friend |
46661 {
46662 return a.entry_idx ==
b.entry_idx &&
a.idx_in_entry ==
b.idx_in_entry;
46663 }
◆ operator!=
template<class T, bool is_const>
| bool operator!= |
( |
const fixed_size_map_iterator< T, is_const > & | a, |
|
|
const fixed_size_map_iterator< T, is_const > & | b ) |
|
friend |
◆ operator<
template<class T, bool is_const>
| bool operator< |
( |
const fixed_size_map_iterator< T, is_const > & | a, |
|
|
const fixed_size_map_iterator< T, is_const > & | b ) |
|
friend |
46669 {
46670 if (
a.entry_idx <
b.entry_idx) {
46671 return true;
46672 }
46673 if (
a.entry_idx ==
b.entry_idx) {
46674 return a.idx_in_entry <
b.idx_in_entry;
46675 }
46676 return false;
46677 }
The documentation for this class was generated from the following file: