org.galagosearch.tupleflow
Class FileOrderedWriter<T>

java.lang.Object
  extended by org.galagosearch.tupleflow.FileOrderedWriter<T>
All Implemented Interfaces:
Processor<T>, Step

public class FileOrderedWriter<T>
extends java.lang.Object
implements Processor<T>

Author:
trevor

Constructor Summary
FileOrderedWriter(java.io.File file, Order<T> order)
           
FileOrderedWriter(java.lang.String filename, Order<T> order)
           
FileOrderedWriter(java.lang.String filename, Order<T> order, boolean compressed)
           
 
Method Summary
 void close()
           
 java.lang.Class<T> getInputClass()
           
 void process(T object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileOrderedWriter

public FileOrderedWriter(java.lang.String filename,
                         Order<T> order,
                         boolean compressed)
                  throws java.io.IOException
Throws:
java.io.IOException

FileOrderedWriter

public FileOrderedWriter(java.lang.String filename,
                         Order<T> order)
                  throws java.io.IOException
Throws:
java.io.IOException

FileOrderedWriter

public FileOrderedWriter(java.io.File file,
                         Order<T> order)
                  throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getInputClass

public java.lang.Class<T> getInputClass()

process

public void process(T object)
             throws java.io.IOException
Specified by:
process in interface Processor<T>
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface Processor<T>
Throws:
java.io.IOException


Copyright © 2009. All Rights Reserved.