|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapred.FileInputFormat<K,V>
org.apache.hadoop.mapred.SequenceFileInputFormat<BytesWritable,BytesWritable>
org.apache.hadoop.mapred.SequenceFileAsBinaryInputFormat
public class SequenceFileAsBinaryInputFormat
InputFormat reading keys, values from SequenceFiles in binary (raw) format.
| Nested Class Summary | |
|---|---|
static class |
SequenceFileAsBinaryInputFormat.SequenceFileAsBinaryRecordReader
Read records from a SequenceFile as binary (raw) bytes. |
| Field Summary |
|---|
| Fields inherited from class org.apache.hadoop.mapred.FileInputFormat |
|---|
LOG |
| Constructor Summary | |
|---|---|
SequenceFileAsBinaryInputFormat()
|
|
| Method Summary | |
|---|---|
RecordReader<BytesWritable,BytesWritable> |
getRecordReader(InputSplit split,
JobConf job,
Reporter reporter)
Get the RecordReader for the given InputSplit. |
| Methods inherited from class org.apache.hadoop.mapred.SequenceFileInputFormat |
|---|
listStatus |
| Methods inherited from class org.apache.hadoop.mapred.FileInputFormat |
|---|
addInputPath, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SequenceFileAsBinaryInputFormat()
| Method Detail |
|---|
public RecordReader<BytesWritable,BytesWritable> getRecordReader(InputSplit split,
JobConf job,
Reporter reporter)
throws java.io.IOException
InputFormatRecordReader for the given InputSplit.
It is the responsibility of the RecordReader to respect
record boundaries while processing the logical split to present a
record-oriented view to the individual task.
getRecordReader in interface InputFormat<BytesWritable,BytesWritable>getRecordReader in class SequenceFileInputFormat<BytesWritable,BytesWritable>split - the InputSplitjob - the job that this split belongs to
RecordReader
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||