org.apache.cassandra.io
Class IndexHelper.ColumnIndexInfo

java.lang.Object
  extended by org.apache.cassandra.io.IndexHelper.ColumnIndexInfo
All Implemented Interfaces:
java.lang.Comparable<IndexHelper.ColumnIndexInfo>
Enclosing class:
IndexHelper

public abstract static class IndexHelper.ColumnIndexInfo
extends java.lang.Object
implements java.lang.Comparable<IndexHelper.ColumnIndexInfo>

A helper class to generate indexes while the columns are sorted by name on disk.


Method Summary
 void count(int count)
           
abstract  IndexHelper.ColumnIndexInfo deserialize(java.io.DataInputStream dis)
           
 long position()
           
 void position(long position)
           
abstract  void serialize(java.io.DataOutputStream dos)
           
abstract  void set(java.lang.Object o)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

position

public long position()

position

public void position(long position)

count

public void count(int count)

set

public abstract void set(java.lang.Object o)

serialize

public abstract void serialize(java.io.DataOutputStream dos)
                        throws java.io.IOException
Throws:
java.io.IOException

deserialize

public abstract IndexHelper.ColumnIndexInfo deserialize(java.io.DataInputStream dis)
                                                 throws java.io.IOException
Throws:
java.io.IOException

size

public int size()


Copyright © 2009 The Apache Software Foundation