org.apache.cassandra.db.columniterator
Interface IColumnIterator

All Superinterfaces:
java.util.Iterator<IColumn>
All Known Implementing Classes:
AbstractColumnIterator, SimpleAbstractColumnIterator, SSTableIdentityIterator, SSTableNamesIterator, SSTableSliceIterator

public interface IColumnIterator
extends java.util.Iterator<IColumn>


Method Summary
 void close()
          clean up any open resources
 ColumnFamily getColumnFamily()
          returns the CF of the column being iterated.
 DecoratedKey getKey()
           
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

getColumnFamily

ColumnFamily getColumnFamily()
                             throws java.io.IOException
returns the CF of the column being iterated. Do not modify the returned CF; clone first. This is guaranteed to be non-null and that the returned CF have the correct metadata (markedForDeleteAt and localDeletionTime). The full CF is however only guaranteed to be available after a call to next() or hasNext().

Throws:
java.io.IOException

getKey

DecoratedKey getKey()
Returns:
the current row key

close

void close()
           throws java.io.IOException
clean up any open resources

Throws:
java.io.IOException


Copyright © 2011 The Apache Software Foundation