Spring for Apache Hadoop

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

Type Parameters:
T - Type of an entity for the reader
All Known Subinterfaces:
DataStoreReader<T>
All Known Implementing Classes:
DelimitedTextFileReader, TextFileReader, TextSequenceFileReader

public interface DataReader<T>

A DataReader is an interface for reader implementation able to read entities from a store.

Author:
Janne Valkealahti

Method Summary
 T read()
          Read next entity from a reader.
 

Method Detail

read

T read()
       throws java.io.IOException
Read next entity from a reader.

Returns:
the entity or null
Throws:
java.io.IOException - if an I/O error occurs

Spring for Apache Hadoop