|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Reads key/value pairs from an input file InputFormat.Split
.
Implemented by InputFormat
implementations.
Method Summary | |
Writable |
createKey()
Constructs a key suitable to pass as the first parameter to next(Writable,Writable) . |
Writable |
createValue()
Constructs a value suitable to pass as the second parameter to next(Writable,Writable) . |
boolean |
next(Writable key,
Writable value)
Reads the next key/value pair. |
Method Detail |
public Writable createKey()
next(Writable,Writable)
.
public Writable createValue()
next(Writable,Writable)
.
public boolean next(Writable key, Writable value) throws IOException
key
- the key to read data intovalue
- the value to read data into
IOException
Writable.readFields(DataInput)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |