org.apache.cassandra.io.sstable
Class SSTableWriter.Builder

java.lang.Object
  extended by org.apache.cassandra.io.sstable.SSTableWriter.Builder
All Implemented Interfaces:
CompactionInfo.Holder
Enclosing class:
SSTableWriter

public static class SSTableWriter.Builder
extends java.lang.Object
implements CompactionInfo.Holder

Removes the given SSTable from temporary status and opens it, rebuilding the bloom filter and row index from the data file.


Constructor Summary
SSTableWriter.Builder(Descriptor desc, OperationType type)
           
 
Method Summary
 SSTableReader build()
           
 CompactionInfo getCompactionInfo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSTableWriter.Builder

public SSTableWriter.Builder(Descriptor desc,
                             OperationType type)
Method Detail

getCompactionInfo

public CompactionInfo getCompactionInfo()
Specified by:
getCompactionInfo in interface CompactionInfo.Holder

build

public SSTableReader build()
                    throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011 The Apache Software Foundation