public interface Map extends MapReduce
Operation.OperationType
Modifier and Type | Method and Description |
---|---|
int |
addReduce(Reduce reduce)
Adds a Reduce for this particular Map.
|
int |
getNumberOfReducers()
Retrieves the number of registered Reduce instances
|
Enumeration<String> |
getReduceIdentifiers()
Retrieves the set of Reduce identifiers
|
int |
removeReduce(String reduceIdentifier)
Removes a given reducer from the list of Reducers for a given Map
function.
|
createResults, writeResults, writeResults, writeResults, writeResults
dispose, execute, getDatasetCollection, getDomain, getExecutionProfile, getInstanceIdentifier, getOperationIdentifier, getProcessingDirectives, getVersionInformation, hasDatasetCollection, hasExecutionProfile, hasProcessingDirectives, initialize, isInitialized, needsInitialization, terminationConditionReached, toString, unmarshall
int getNumberOfReducers()
Enumeration<String> getReduceIdentifiers()
int addReduce(Reduce reduce) throws MapReduceException
reduce
- The Reducer that will be added to this MapMapReduceException
- If there are problems in adding this Reduce
NullPointerException
- If the specified Reduce
is nullint removeReduce(String reduceIdentifier) throws MapReduceException
reduceIdentifier
- The identifier of the Reduce to be removedMapReduceException
- If there are problems during removal.NullPointerException
- If the specified Reduce
is nullCopyright © 2015. All rights reserved.