Package org.apache.cassandra.db.tries
Class TrieEntriesIterator<T,V>
- java.lang.Object
-
- org.apache.cassandra.db.tries.TriePathReconstructor
-
- org.apache.cassandra.db.tries.TrieEntriesIterator<T,V>
-
- All Implemented Interfaces:
java.util.Iterator<V>
,Trie.ResettingTransitionsReceiver
,Trie.TransitionsReceiver
public abstract class TrieEntriesIterator<T,V> extends TriePathReconstructor implements java.util.Iterator<V>
Convertor of trie entries to iterator where each entry is passed throughmapContent(T, byte[], int)
(to be implemented by descendants).
-
-
Field Summary
-
Fields inherited from class org.apache.cassandra.db.tries.TriePathReconstructor
keyBytes, keyPos
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TrieEntriesIterator(Trie<T> trie)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
protected abstract V
mapContent(T content, byte[] bytes, int byteLength)
V
next()
-
Methods inherited from class org.apache.cassandra.db.tries.TriePathReconstructor
addPathByte, addPathBytes, resetPathLength
-
-