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

PropertyReturnsDescription
propsMap<String,Serializable>The parameters that will be passed to this sub-task's reduce method when it runs. Never null, but may be empty.
titleStringDisplay 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.

ParameterDescription
keythe parameter name
valthe parameter value

getTitle()

Returns: String

Display title for this sub-task, used as the name of the AsyncJob created to run it.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.