org.apache.cassandra.io.sstable
Class IndexSummary

java.lang.Object
  extended by org.apache.cassandra.io.sstable.IndexSummary

public class IndexSummary
extends java.lang.Object


Nested Class Summary
static class IndexSummary.KeyPosition
          This is a simple container for the index Key and its corresponding position in the index file.
 
Constructor Summary
IndexSummary()
           
 
Method Summary
 void complete()
           
 java.util.List<IndexSummary.KeyPosition> getIndexPositions()
           
 long getLastIndexPosition()
           
 void maybeAddEntry(DecoratedKey decoratedKey, long indexPosition)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexSummary

public IndexSummary()
Method Detail

maybeAddEntry

public void maybeAddEntry(DecoratedKey decoratedKey,
                          long indexPosition)

getIndexPositions

public java.util.List<IndexSummary.KeyPosition> getIndexPositions()

complete

public void complete()

getLastIndexPosition

public long getLastIndexPosition()


Copyright © 2010 The Apache Software Foundation