@InterfaceAudience.Public @InterfaceStability.Stable public class SequenceFileAsTextRecordReader extends Object implements RecordReader<Text,Text>
| コンストラクタと説明 | 
|---|
| SequenceFileAsTextRecordReader(Configuration conf,
                              FileSplit split) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| void | close()Close this  InputSplitto future operations. | 
| Text | createKey()Create an object of the appropriate type to be used as a key. | 
| Text | createValue()Create an object of the appropriate type to be used as a value. | 
| long | getPos()Returns the current position in the input. | 
| float | getProgress()How much of the input has the  RecordReaderconsumed i.e. | 
| boolean | next(Text key,
    Text value)Read key/value pair in a line. | 
public SequenceFileAsTextRecordReader(Configuration conf, FileSplit split) throws IOException
IOExceptionpublic Text createKey()
RecordReadercreateKey インタフェース内 RecordReader<Text,Text>public Text createValue()
RecordReadercreateValue インタフェース内 RecordReader<Text,Text>public boolean next(Text key, Text value) throws IOException
next インタフェース内 RecordReader<Text,Text>key - the key to read data intovalue - the value to read data intoIOExceptionpublic float getProgress() throws IOException
RecordReaderRecordReader consumed i.e.
 has been processed by?getProgress インタフェース内 RecordReader<Text,Text>0.0 to 1.0.IOExceptionpublic long getPos() throws IOException
RecordReadergetPos インタフェース内 RecordReader<Text,Text>IOExceptionpublic void close() throws IOException
RecordReaderInputSplit to future operations.close インタフェース内 RecordReader<Text,Text>IOExceptionCopyright © 2016 Apache Software Foundation. All rights reserved.