|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Reporter
Passed to application code to permit alteration of status.
Field Summary | |
---|---|
static Reporter |
NULL
A constant of Reporter type that does nothing. |
Method Summary | |
---|---|
InputSplit |
getInputSplit()
Get the InputSplit object for a map. |
void |
incrCounter(Enum key,
long amount)
Increments the counter identified by the key, which can be of any enum type, by the specified amount. |
void |
setStatus(String status)
Alter the application's status description. |
Methods inherited from interface org.apache.hadoop.util.Progressable |
---|
progress |
Field Detail |
---|
static final Reporter NULL
Method Detail |
---|
void setStatus(String status) throws IOException
status
- a brief description of the current status
IOException
void incrCounter(Enum key, long amount)
key
- A value of any enum typeamount
- A non-negative amount by which the counter is to
be incrementedInputSplit getInputSplit() throws UnsupportedOperationException
UnsupportedOperationException
- if called outside a mapper
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |