|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IReduceTask
Interface for a reduce task to be executed on a map/reduce client.
| Method Summary | |
|---|---|
UUID |
getDataService()
The IDataService from which the reduce task will read its
input. |
void |
reduce(byte[] key,
Iterator<byte[]> vals)
Each reduce task will be presented with a series of key-value pairs in key order. |
| Methods inherited from interface com.bigdata.service.mapred.ITask |
|---|
getUUID |
| Method Detail |
|---|
UUID getDataService()
IDataService from which the reduce task will read its
input.
void reduce(byte[] key,
Iterator<byte[]> vals)
throws Exception
Note: This method is never invoked for a key for which there are no values.
key - A key.vals - An iterator that will visit the set of values for that
key.
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||