Spring for Apache Hadoop

org.springframework.data.hadoop.store
Interface DataWriter<T>

Type Parameters:
T - the type of an entity to write
All Known Subinterfaces:
DataStoreWriter<T>
All Known Implementing Classes:
DelimitedTextFileWriter, OutputStreamWriter, TextFileWriter, TextSequenceFileWriter

public interface DataWriter<T>

A DataWriter is an interface for writer implementation able to write entities into a store.

Author:
Janne Valkealahti

Method Summary
 void write(T entity)
          Write an entity.
 

Method Detail

write

void write(T entity)
           throws java.io.IOException
Write an entity.

Throws:
java.io.IOException - if an I/O error occurs

Spring for Apache Hadoop