public class TextSequenceFileReader extends AbstractSequenceFileReader implements DataStoreReader<java.lang.String>
TextSequenceFileReader is a DataStoreReader implementation
 able to read Strings from a SequenceFile.| Constructor and Description | 
|---|
| TextSequenceFileReader(org.apache.hadoop.conf.Configuration configuration,
                      org.apache.hadoop.fs.Path basePath,
                      CodecInfo codec)Instantiates a new text sequence file reader. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| java.lang.String | read()Read next entity from a reader. | 
getInputdoStart, doStop, getCodec, getConfiguration, getPath, handleIdleTimeout, isCompressed, onInit, resetIdleTimeout, setIdleTimeoutafterPropertiesSet, getBeanFactory, getPhase, getStoreEventPublisher, getTaskExecutor, getTaskScheduler, isAutoStartup, isRunning, setAutoStartup, setBeanFactory, setPhase, setStoreEventPublisher, setTaskExecutor, setTaskScheduler, start, stop, stoppublic TextSequenceFileReader(org.apache.hadoop.conf.Configuration configuration,
                      org.apache.hadoop.fs.Path basePath,
                      CodecInfo codec)
configuration - the hadoop configurationbasePath - the hdfs pathcodec - the compression codec infopublic void close()
           throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic java.lang.String read()
                      throws java.io.IOException
DataReaderread in interface DataReader<java.lang.String>nulljava.io.IOException - if an I/O error occurs