me.prettyprint.cassandra.service
Class ColumnSliceIterator<K,N,V>
java.lang.Object
me.prettyprint.cassandra.service.ColumnSliceIterator<K,N,V>
- All Implemented Interfaces:
- Iterator
public class ColumnSliceIterator<K,N,V>
- extends Object
- implements Iterator
- Author:
- thrykol
Constructor Summary |
ColumnSliceIterator(SliceQuery<K,N,V> query,
N start,
ColumnSliceIterator.ColumnSliceFinish<N> finish,
boolean reversed)
Constructor |
ColumnSliceIterator(SliceQuery<K,N,V> query,
N start,
N finish,
boolean reversed)
Constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColumnSliceIterator
public ColumnSliceIterator(SliceQuery<K,N,V> query,
N start,
N finish,
boolean reversed)
- Constructor
- Parameters:
query
- Base SliceQuery to executestart
- Starting point of the rangefinish
- Finish point of the range.reversed
- Whether or not the columns should be reversed
ColumnSliceIterator
public ColumnSliceIterator(SliceQuery<K,N,V> query,
N start,
ColumnSliceIterator.ColumnSliceFinish<N> finish,
boolean reversed)
- Constructor
- Parameters:
query
- Base SliceQuery to executestart
- Starting point of the rangefinish
- Finish point of the range. Allows for a dynamically determined pointreversed
- Whether or not the columns should be reversed
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
next
public HColumn<N,V> next()
- Specified by:
next
in interface Iterator
remove
public void remove()
- Specified by:
remove
in interface Iterator
Copyright © 2011. All Rights Reserved.