org.apache.cassandra.io
Class IteratingRow

java.lang.Object
  extended by com.google.common.collect.UnmodifiableIterator<T>
      extended by com.google.common.collect.AbstractIterator<IColumn>
          extended by org.apache.cassandra.io.IteratingRow
All Implemented Interfaces:
java.util.Iterator<IColumn>

public class IteratingRow
extends com.google.common.collect.AbstractIterator<IColumn>


Constructor Summary
IteratingRow(BufferedRandomAccessFile file, SSTableReader sstable)
           
 
Method Summary
protected  IColumn computeNext()
           
 ColumnFamily getEmptyColumnFamily()
           
 java.lang.String getKey()
           
 void skipRemaining()
           
 
Methods inherited from class com.google.common.collect.AbstractIterator
endOfData, hasNext, next, peek
 
Methods inherited from class com.google.common.collect.UnmodifiableIterator
remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IteratingRow

public IteratingRow(BufferedRandomAccessFile file,
                    SSTableReader sstable)
             throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getKey

public java.lang.String getKey()

getEmptyColumnFamily

public ColumnFamily getEmptyColumnFamily()

skipRemaining

public void skipRemaining()
                   throws java.io.IOException
Throws:
java.io.IOException

computeNext

protected IColumn computeNext()
Specified by:
computeNext in class com.google.common.collect.AbstractIterator<IColumn>


Copyright © 2009 The Apache Software Foundation