me.prettyprint.cassandra.service
Class RangeSlicesIterator<K,N,V>
java.lang.Object
me.prettyprint.cassandra.service.RangeSlicesIterator<K,N,V>
- All Implemented Interfaces:
- Iterator<Row<K,N,V>>
public class RangeSlicesIterator<K,N,V>
- extends Object
- implements Iterator<Row<K,N,V>>
Iterates over the range slices, automatically refreshing the query until all matching rows are returned.
- Author:
- thrykol
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RangeSlicesIterator
public RangeSlicesIterator(RangeSlicesQuery<K,N,V> query,
K startKey,
K endKey)
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<Row<K,N,V>>
next
public Row<K,N,V> next()
- Specified by:
next in interface Iterator<Row<K,N,V>>
remove
public void remove()
- Specified by:
remove in interface Iterator<Row<K,N,V>>
setFilter
public RangeSlicesIterator<K,N,V> setFilter(SliceFilter<Row<K,N,V>> filter)
Copyright © 2013. All Rights Reserved.