| 42 | }; |
| 43 | |
| 44 | RYWIterator::SEGMENT_TYPE RYWIterator::type() const { |
| 45 | if (is_unreadable() && !bypassUnreadable) |
| 46 | throw accessed_unreadable(); |
| 47 | |
| 48 | return typeMap[writes.type() * 3 + cache.type()]; |
| 49 | } |
| 50 | |
| 51 | bool RYWIterator::is_kv() const { |
| 52 | return type() == KV; |
no outgoing calls
no test coverage detected