|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ComposableInputFormat
instead
@Deprecated @InterfaceAudience.Public @InterfaceStability.Stable public interface ComposableInputFormat<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
Refinement of InputFormat requiring implementors to provide ComposableRecordReader instead of RecordReader.
Method Summary | |
---|---|
ComposableRecordReader<K,V> |
getRecordReader(InputSplit split,
JobConf job,
Reporter reporter)
Deprecated. Get the RecordReader for the given InputSplit . |
Methods inherited from interface org.apache.hadoop.mapred.InputFormat |
---|
getSplits |
Method Detail |
---|
ComposableRecordReader<K,V> getRecordReader(InputSplit split, JobConf job, Reporter reporter) throws IOException
InputFormat
RecordReader
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<K extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable>
split
- the InputSplit
job
- the job that this split belongs to
RecordReader
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |