org.apache.cassandra.io
Class SequenceFile.ChecksumWriter

java.lang.Object
  extended by org.apache.cassandra.io.SequenceFile.AbstractWriter
      extended by org.apache.cassandra.io.SequenceFile.Writer
          extended by org.apache.cassandra.io.SequenceFile.ChecksumWriter
All Implemented Interfaces:
IFileWriter
Enclosing class:
SequenceFile

public static class SequenceFile.ChecksumWriter
extends SequenceFile.Writer


Field Summary
 
Fields inherited from class org.apache.cassandra.io.SequenceFile.Writer
file_
 
Fields inherited from class org.apache.cassandra.io.SequenceFile.AbstractWriter
filename_
 
Method Summary
 void close()
          Close the file which is being used for the write.
protected  void init(java.lang.String filename)
           
protected  void init(java.lang.String filename, int size)
           
 
Methods inherited from class org.apache.cassandra.io.SequenceFile.Writer
append, append, append, append, append, close, getCurrentPosition, getFileName, getFileSize, seek, writeDirect, writeLong
 
Methods inherited from class org.apache.cassandra.io.SequenceFile.AbstractWriter
lastModified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

protected void init(java.lang.String filename)
             throws java.io.IOException
Overrides:
init in class SequenceFile.Writer
Throws:
java.io.IOException

init

protected void init(java.lang.String filename,
                    int size)
             throws java.io.IOException
Overrides:
init in class SequenceFile.Writer
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Description copied from interface: IFileWriter
Close the file which is being used for the write.

Specified by:
close in interface IFileWriter
Overrides:
close in class SequenceFile.Writer
Throws:
java.io.IOException


Copyright © 2009 The Apache Software Foundation