To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
Describes one sub-task produced by a MapReduceProcessable's map or onMappedTasksComplete method. Holds the display title used when the sub-task's AsyncJob is created, and the map of parameters passed through to the sub-task's reduce method when it runs.
Properties
| Property | Returns | Description |
|---|---|---|
| props | Map<String,Serializable> | The parameters that will be passed to this sub-task's reduce method when it runs. Never null, but may be empty. |
| title | String | Display title for this sub-task, used as the name of the AsyncJob created to run it. |
Methods
getProps()
Returns: Map<String,Serializable>
The parameters that will be passed to this sub-task's reduce method when it runs. Never null, but may be empty.
put(String key, Serializable val)
Returns: void
Adds or replaces a single parameter that will be passed to this sub-task's reduce method.
| Parameter | Description |
|---|---|
key | the parameter name |
val | the parameter value |
getTitle()
Returns: String
Display title for this sub-task, used as the name of the AsyncJob created to run it.