public class WordCount extends java.lang.Object implements Twister2Worker, java.io.Serializable
Constructor and Description |
---|
WordCount() |
Modifier and Type | Method and Description |
---|---|
void |
execute(WorkerEnvironment workerEnv)
This is the main point of entry for Twister2 jobs.
|
static void |
main(java.lang.String[] args)
We submit the job in the main method
|
public void execute(WorkerEnvironment workerEnv)
Twister2Worker
execute
in interface Twister2Worker
public static void main(java.lang.String[] args)
args
- not using args for this job