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 workerEnvironment)
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 workerEnvironment)
Twister2Workerexecute in interface Twister2Workerpublic static void main(java.lang.String[] args)
args - not using args for this job