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

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

public static class SSTableWriter.Builder
extends java.lang.Object
implements ICompactionInfo

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


Field Summary
 ColumnFamilyStore cfs
           
 
Constructor Summary
SSTableWriter.Builder(Descriptor desc)
           
 
Method Summary
 SSTableReader build()
           
 long getBytesComplete()
           
 java.lang.String getTaskType()
           
 long getTotalBytes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cfs

public final ColumnFamilyStore cfs
Constructor Detail

SSTableWriter.Builder

public SSTableWriter.Builder(Descriptor desc)
Method Detail

build

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

getTotalBytes

public long getTotalBytes()
Specified by:
getTotalBytes in interface ICompactionInfo

getBytesComplete

public long getBytesComplete()
Specified by:
getBytesComplete in interface ICompactionInfo

getTaskType

public java.lang.String getTaskType()
Specified by:
getTaskType in interface ICompactionInfo


Copyright © 2011 The Apache Software Foundation