|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Reads key/value pairs from an input file FileSplit
.
Implemented by InputFormat
implementations.
Method Summary | |
void |
close()
Close this to future operations. |
long |
getPos()
Returns the current position in the input. |
boolean |
next(Writable key,
Writable value)
Reads the next key/value pair. |
Method Detail |
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)
public long getPos() throws IOException
IOException
public void close() throws IOException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |