org.apache.cassandra.db
Class ColumnIndexer

java.lang.Object
  extended by org.apache.cassandra.db.ColumnIndexer

public class ColumnIndexer
extends java.lang.Object

Help to create an index for a column family based on size of columns


Constructor Summary
ColumnIndexer()
           
 
Method Summary
static void serialize(IIterableColumns columns, java.io.DataOutput dos)
          Given a column family this, function creates an in-memory structure that represents the column index for the column family, and subsequently writes it to disk.
static void serializeInternal(IIterableColumns columns, java.io.DataOutput dos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnIndexer

public ColumnIndexer()
Method Detail

serialize

public static void serialize(IIterableColumns columns,
                             java.io.DataOutput dos)
Given a column family this, function creates an in-memory structure that represents the column index for the column family, and subsequently writes it to disk.

Parameters:
columns - Column family to create index for
dos - data output stream
Throws:
java.io.IOException

serializeInternal

public static void serializeInternal(IIterableColumns columns,
                                     java.io.DataOutput dos)
                              throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011 The Apache Software Foundation