|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.io.sstable.IndexSummary
public class IndexSummary
Nested Class Summary | |
---|---|
static class |
IndexSummary.KeyPosition
This is a simple container for the index Key and its corresponding position in the index file. |
Field Summary | |
---|---|
static int |
INDEX_INTERVAL
Every 128th index entry is loaded into memory so we know where to start looking for the actual key w/o seeking |
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 |
Field Detail |
---|
public static final int INDEX_INTERVAL
Constructor Detail |
---|
public IndexSummary()
Method Detail |
---|
public void maybeAddEntry(DecoratedKey decoratedKey, long indexPosition)
public java.util.List<IndexSummary.KeyPosition> getIndexPositions()
public void complete()
public long getLastIndexPosition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |