• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Interface IReducer

Processes all those intermediate key-value pairs generated by Mapper or combined by Combiner to aggregate, perform calculations or apply different operations to produce the reduced output.

Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public interface IReducer : IDisposable

Methods

Name Description
BeginReduce()

This method will provide the user with a starting point to initialize any parameters you want to be used before the actual reducing of elements begins.

FinishReduce()

This method will provide the task with the final result of the map reduce operation for specific intermediate key/value pair.

Reduce(Object)

This method will reduce (process) the intermediate key-value pairs into further meaningful pairs.

If the workflow diagram is referred, it means that the values of the grouped elements from Combiner are summed up to find the actual word count.

Back to top Copyright © 2017 Alachisoft