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.IndexSummarySerializer
           
 
Field Summary
static IndexSummary.IndexSummarySerializer serializer
           
 
Constructor Summary
IndexSummary(IPartitioner partitioner, byte[][] keys, long[] positions)
           
 
Method Summary
 int binarySearch(RowPosition key)
           
 byte[] getKey(int index)
           
 byte[][] getKeys()
           
 long getPosition(int index)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serializer

public static final IndexSummary.IndexSummarySerializer serializer
Constructor Detail

IndexSummary

public IndexSummary(IPartitioner partitioner,
                    byte[][] keys,
                    long[] positions)
Method Detail

getKeys

public byte[][] getKeys()

binarySearch

public int binarySearch(RowPosition key)

getKey

public byte[] getKey(int index)

getPosition

public long getPosition(int index)

size

public int size()


Copyright © 2013 The Apache Software Foundation