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. The CF is only guaranteed to be available after a call to next() or hasNext(). Guaranteed to be non-null.

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