public interface TaskKeySelector
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
prepare(Config cfg,
TaskContext context)
Prepare the key selector
|
java.lang.Object |
select(java.lang.Object data)
Given a object select the key to be used
|
void prepare(Config cfg, TaskContext context)
java.lang.Object select(java.lang.Object data)
data
- data