public class WordCountMap extends MapReduceBase
Map role within a Word Count
operation.Operation.OperationTypeMODULE| Constructor and Description |
|---|
WordCountMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Execute the operation.
|
void |
initialize(java.util.Properties directives)
Initialize the operation based on the specified processing directives.
|
addMap, addReduce, createResults, getAwaitingOutputsFrom, getDatasetCollection, getMapIdentifiers, getNumberOfMaps, getNumberOfReducers, getReduceIdentifiers, isAwaitingOutputs, marshall, removeMap, removeReduce, resetOutputTracker, setReceivedOutputFrom, unmarshall, writeResults, writeResults, writeResults, writeResultsdispose, getDomain, getExecutionProfile, getInstanceIdentifier, getOperationIdentifier, getProcessingDirectives, getVersionInformation, hasDatasetCollection, hasExecutionProfile, hasProcessingDirectives, isInitialized, markInitializationAsComplete, needsInitialization, setAsExecuteFixedNumberOfTimes, setAsExecuteOnce, setAsExecutePeriodically, setAsExecuteWhenDataAvailable, setAsStayAlive, setDatasetCollection, setDomain, setInitializationComplete, setInitializationNeeded, setInstanceIdentifier, setOperationIdentifier, setProcessingDirectives, setTeminationConditionReached, setVersionInformation, terminationConditionReached, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitdispose, getDomain, getExecutionProfile, getInstanceIdentifier, getOperationIdentifier, getProcessingDirectives, getVersionInformation, hasDatasetCollection, hasExecutionProfile, hasProcessingDirectives, isInitialized, needsInitialization, terminationConditionReached, toStringpublic void initialize(java.util.Properties directives)
throws ProcessingException
Operationinitialize in interface Operationinitialize in class OperationBasedirectives - The specified processing directivesProcessingException - If there are problems initializing based on the specified
processing directives.public void execute()
Operationexecute in interface Operationexecute in class OperationBase